|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.property.impl.PropertyMetaData
MetaData about a Property derived by reflection.
Field Summary | |
protected java.lang.reflect.Method |
iGetterMethod
The getter method |
protected java.lang.String |
iName
The name of the property within the bean |
protected java.lang.Class |
iPropertyDataClass
The class (if any) that is handling the property data access |
protected int |
iPropertyEnumeration
The type of the property |
protected java.lang.reflect.Method |
iPropertyMethod
The property method |
protected java.lang.Class[] |
iPropertyTypes
The ordered type array that this property deals with |
protected java.lang.reflect.Method |
iSetterMethod
The setter method |
protected java.lang.reflect.Method |
iShortcutPropertyMethod
The shortcut property method |
static int |
LINK
|
static int |
LIST
|
static int |
MAP
|
static int |
SIMPLE
|
Constructor Summary | |
protected |
PropertyMetaData(java.lang.Class beanClass,
java.lang.reflect.Method propertyMethod,
java.lang.reflect.Method[] beanMethods)
Constructor. |
Method Summary | |
protected java.lang.Class |
convertPrimitiveClass(java.lang.Class input)
Check the input class to see if it is a primitive type. |
java.lang.reflect.Method |
getGetterMethod()
Gets the getter method. |
java.lang.Class |
getPropertyDataClass()
Gets the PropertyDataClass (if any) for the property. |
int |
getPropertyEnumeration()
Gets the property enumeration. |
java.lang.reflect.Method |
getPropertyMethod()
Gets the propertyMethod. |
java.lang.String |
getPropertyName()
Gets the name. |
java.lang.Class[] |
getPropertyTypes()
Gets the types that the property deals with. |
java.lang.Class |
getPropertyWrapperType()
Gets the type of the property wrapper, such as StringProperty. |
java.lang.reflect.Method |
getSetterMethod()
Gets the setter method. |
java.lang.reflect.Method |
getShortcutPropertyMethod()
Gets the Shortcut Method, such as person() for a personLink() property.. |
protected void |
initLinkProperty(java.lang.Class cls,
java.lang.reflect.Method[] beanMethods)
Initialize for link properties |
protected void |
initListProperty(java.lang.Class cls,
java.lang.reflect.Method[] beanMethods)
Initialize for list properties |
protected void |
initMapProperty(java.lang.Class cls,
java.lang.reflect.Method[] beanMethods)
Initialize for map properties |
protected void |
initPropertyDataClass(java.lang.Class cls)
Initialize the property data class |
protected void |
initSimpleProperty(java.lang.Class cls,
java.lang.reflect.Method[] beanMethods)
Initialize for simple data properties |
java.lang.String |
toString()
Get a debugging string representing this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SIMPLE
public static final int LINK
public static final int LIST
public static final int MAP
protected final java.lang.String iName
protected java.lang.Class[] iPropertyTypes
protected java.lang.Class iPropertyDataClass
protected int iPropertyEnumeration
protected java.lang.reflect.Method iPropertyMethod
protected java.lang.reflect.Method iShortcutPropertyMethod
protected java.lang.reflect.Method iGetterMethod
protected java.lang.reflect.Method iSetterMethod
Constructor Detail |
protected PropertyMetaData(java.lang.Class beanClass, java.lang.reflect.Method propertyMethod, java.lang.reflect.Method[] beanMethods)
Method Detail |
protected void initSimpleProperty(java.lang.Class cls, java.lang.reflect.Method[] beanMethods)
protected void initLinkProperty(java.lang.Class cls, java.lang.reflect.Method[] beanMethods)
protected void initListProperty(java.lang.Class cls, java.lang.reflect.Method[] beanMethods)
protected void initMapProperty(java.lang.Class cls, java.lang.reflect.Method[] beanMethods)
protected java.lang.Class convertPrimitiveClass(java.lang.Class input)
protected void initPropertyDataClass(java.lang.Class cls)
public java.lang.String getPropertyName()
public java.lang.Class getPropertyDataClass()
public java.lang.Class getPropertyWrapperType()
public java.lang.Class[] getPropertyTypes()
public int getPropertyEnumeration()
public java.lang.reflect.Method getPropertyMethod()
public java.lang.reflect.Method getShortcutPropertyMethod()
public java.lang.reflect.Method getGetterMethod()
public java.lang.reflect.Method getSetterMethod()
public java.lang.String toString()
toString
in class java.lang.Object
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |