| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Represents a property - a key-value pair. This interface provides a set of methods for accessing and changing property's value.
| Method Summary | |
boolean | canSetValue(Object value)Checks whether it is possible to set the specified value to the property. |
Object | getKey()Returns a key for this property. |
PropertyMap | getSubproperties()Retruns all subproperties as a PropertyMap. |
Object | getValue()Returns a value of this property. |
Object | getValue(Class valueClass)Returns a value of this property as a specified class instance. |
boolean | isReadable()Checks whether this property is readable. |
boolean | isWritable()Checks whether this property is writable. |
void | setValue(Object value)Set the value for this property. |
| Method Detail |
public boolean canSetValue(Object value)
true if the specified value can be assigned to this property, false
otherwisepublic Object getKey()
public PropertyMap getSubproperties()
public Object getValue()
public Object getValue(Class valueClass)
throws CastNotSupportedException
public boolean isReadable()
true if this property is readable, false otherwisepublic boolean isWritable()
true if this property is writable, false otherwisepublic void setValue(Object value)
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||