com.redspr.beanldom
Interface PropertyInfo

All Known Implementing Classes:
PropertyInfoImpl

public interface PropertyInfo

Similar to java.beans.PropertyDescriptor but maintains reference to return types ClassInfo and allows static "interpreter" methods. XXX open up a bit more to allow better optimizations?

Author:
Sam Hough

Field Summary
static PropertyInfo[] EMPTY
           
 
Method Summary
 String getName()
          name of this property
 Object getObject(Object parent)
          will invoke the appropriate method on parent
 ClassInfo getPropertyType()
          class info for the type of this property
 String getValue(Object parent)
          utility method that will call propertyType.getValue(propertyValue)
 

Field Detail

EMPTY

public static final PropertyInfo[] EMPTY
Method Detail

getName

public String getName()
name of this property


getPropertyType

public ClassInfo getPropertyType()
class info for the type of this property


getObject

public Object getObject(Object parent)
will invoke the appropriate method on parent


getValue

public String getValue(Object parent)
utility method that will call propertyType.getValue(propertyValue)