|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.property.IndexPropertyAccessor
public class IndexPropertyAccessor
Represents a "back-reference" to the index of a collection.
Nested Class Summary | |
---|---|
class |
IndexPropertyAccessor.IndexGetter
The Getter implementation for index backrefs. |
static class |
IndexPropertyAccessor.IndexSetter
The Setter implementation for index backrefs. |
Constructor Summary | |
---|---|
IndexPropertyAccessor(String collectionRole,
String entityName)
Constructs a new instance of IndexPropertyAccessor. |
Method Summary | |
---|---|
Getter |
getGetter(Class theClass,
String propertyName)
Create a "getter" for the named attribute |
Setter |
getSetter(Class theClass,
String propertyName)
Create a "setter" for the named attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexPropertyAccessor(String collectionRole, String entityName)
collectionRole
- The collection role which this back ref references.entityName
- The name of the entity owning the collection.Method Detail |
---|
public Setter getSetter(Class theClass, String propertyName)
PropertyAccessor
getSetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.
public Getter getGetter(Class theClass, String propertyName)
PropertyAccessor
getGetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |