|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.accessor.DirectPropertyAccessor.DirectGetter
public static final class DirectPropertyAccessor.DirectGetter
| Constructor Summary | |
|---|---|
DirectPropertyAccessor.DirectGetter(ReflectionField field,
Class clazz,
String name)
|
|
| Method Summary | |
|---|---|
Object |
get(Object target)
Get the property value from the given instance |
Field |
getField()
|
Type |
getGenericReturnType()
Returns the generic return type of the return type. |
String |
getName()
Get the property name |
Class |
getReturnType()
Get the declared Java type |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
DirectPropertyAccessor.DirectGetter(ReflectionField field,
Class clazz,
String name)
| Method Detail |
|---|
public Object get(Object target)
throws CompassException
Getter
get in interface GetterCompassExceptionpublic String getName()
Getter
getName in interface Getterpublic Class getReturnType()
Getter
getReturnType in interface Getterpublic Type getGenericReturnType()
Getternull if not known or not set.
getGenericReturnType in interface GetterField.getGenericType(),
Method.getGenericReturnType()public Field getField()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||