|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.accessor.BasicPropertyAccessor
public class BasicPropertyAccessor
Accesses property values via a get/set pair, which may be nonpublic. The default (and recommended strategy).
Initial version taken from hibernate.
| Nested Class Summary | |
|---|---|
static class |
BasicPropertyAccessor.BasicGetter
|
static class |
BasicPropertyAccessor.BasicSetter
|
| Constructor Summary | |
|---|---|
BasicPropertyAccessor()
|
|
| Method Summary | |
|---|---|
void |
configure(CompassSettings settings)
Configure using the given settings. |
Getter |
createGetter(Class theClass,
String propertyName)
|
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 BasicPropertyAccessor()
| Method Detail |
|---|
public void configure(CompassSettings settings)
throws CompassException
CompassConfigurable
configure in interface CompassConfigurablesettings - The settings for the configured object
CompassException
public Setter getSetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
PropertyAccessor
getSetter in interface PropertyAccessorPropertyNotFoundException
public Getter getGetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
PropertyAccessor
getGetter in interface PropertyAccessorPropertyNotFoundException
public Getter createGetter(Class theClass,
String propertyName)
throws PropertyNotFoundException
PropertyNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||