|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.beanutils.DynaProperty
The metadata describing an individual property of a DynaBean.
Field Summary | |
protected java.lang.String |
name
The name of this property. |
protected java.lang.Class |
type
The Java class representing the data type of the underlying property values. |
Constructor Summary | |
DynaProperty(java.lang.String name)
Construct a property that accepts any data type. |
|
DynaProperty(java.lang.String name,
java.lang.Class type)
Construct a property of the specified data type. |
Method Summary | |
java.lang.String |
getName()
|
java.lang.Class |
getType()
|
boolean |
isIndexed()
Does this property represent an indexed value (ie an array or List)? |
boolean |
isMapped()
Does this property represent a mapped value (ie a Map)? |
java.lang.String |
toString()
Return a String representation of this Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected java.lang.Class type
Constructor Detail |
public DynaProperty(java.lang.String name)
name
- Name of the property being describedpublic DynaProperty(java.lang.String name, java.lang.Class type)
name
- Name of the property being describedtype
- Java class representing the property data typeMethod Detail |
public java.lang.String getName()
public java.lang.Class getType()
public boolean isIndexed()
public boolean isMapped()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |