| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Default implementation of the Property interace.
Provides a set of methods for accessing and changing property's value.
| Field Summary | |
private Object | key |
private PropertyMap | myPropertyMap |
private Object | value |
| Constructor Summary | |
PropertyAdapter(Object key)Creates new property with null value. | |
PropertyAdapter(Object key, Object value)Creates new property. | |
PropertyAdapter(Object key, Object value, PropertyMap propertyMap)Creates new property with PropertyMap of subproperties. | |
| 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()Returns PropertyMap of subproperties. |
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. |
| Field Detail |
private Object key
private PropertyMap myPropertyMap
private Object value
| Constructor Detail |
public PropertyAdapter(Object key)
public PropertyAdapter(Object key, Object value)
public PropertyAdapter(Object key, Object value, PropertyMap propertyMap)
| Method Detail |
public boolean canSetValue(Object value)
true if the specified value can be assigned to this property, false
public 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)
| Association Links |
to Class java.lang.Object
to Class com.togethersoft.openapi.util.propertyMap.PropertyMap
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||