|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClazzProperty
Describes a Property of instances of a Clazz.
| Method Summary | |
|---|---|
Object |
get(Object instance)
|
Clazz |
getClazz()
Returns the property type. |
Clazz |
getContentClazz()
Gets the type of the item if the property isCollection() or
isMap(). |
Clazz |
getKeyClazz()
Gets the type of the key if the property isMap(). |
String |
getName()
Returns the name of the property. |
boolean |
isCollection()
Returns true if the property is a collection. |
boolean |
isMap()
Returns true if the property is a map. |
boolean |
isReadOnly()
|
void |
set(Object instance,
Object value)
|
| Methods inherited from interface org.apache.commons.clazz.ClazzFeature |
|---|
getDeclaringClazz |
| Methods inherited from interface org.apache.commons.clazz.ClazzElement |
|---|
getAttribute, getAttributes |
| Method Detail |
|---|
String getName()
Clazz getClazz()
boolean isCollection()
boolean isMap()
Clazz getContentClazz()
isCollection() or
isMap().
Clazz getKeyClazz()
isMap().
boolean isReadOnly()
Object get(Object instance)
void set(Object instance,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||