|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.redspr.beanldom.info.PropertyInfoImpl
Similar to java.beans.PropertyDescriptor but maintains reference to return types ClassInfo and allows static "interpreter" methods.
| Field Summary | |
static PropertyInfo[] |
EMPTY
|
| Constructor Summary | |
PropertyInfoImpl(PropertyDescriptor prop2)
|
|
| Method Summary | |
String |
getName()
name of this property |
Object |
getObject(Object target)
will invoke the appropriate method on parent |
ClassInfo |
getPropertyType()
class info for the type of this property |
String |
getValue(Object target)
utility method that will call propertyType.getValue(propertyValue) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final PropertyInfo[] EMPTY
| Constructor Detail |
public PropertyInfoImpl(PropertyDescriptor prop2)
| Method Detail |
public String getName()
PropertyInfo
getName in interface PropertyInfopublic ClassInfo getPropertyType()
PropertyInfo
getPropertyType in interface PropertyInfopublic Object getObject(Object target)
PropertyInfo
getObject in interface PropertyInfopublic String getValue(Object target)
PropertyInfo
getValue in interface PropertyInfo
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||