|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.widget.table.SimpleAccessor
public class SimpleAccessor
Basic implementation of an Accessor.
| Constructor Summary | |
|---|---|
SimpleAccessor(Class<?> clazz,
String propertyName)
Constructor. |
|
| Method Summary | |
|---|---|
Class<?> |
getPropertyType()
Returns the property type of the value that can be obtained through this accessor. |
Object |
getValue(Object fromEntity)
Get the value from the given target entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAccessor(Class<?> clazz,
String propertyName)
clazz - the type of the entity.propertyName - name of the property.| Method Detail |
|---|
public Object getValue(Object fromEntity)
throws IllegalAccessException,
InvocationTargetException
getValue in interface AccessorfromEntity - the entity from which the value should be obtained.
IllegalAccessException
InvocationTargetExceptionpublic Class<?> getPropertyType()
getPropertyType in interface Accessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||