|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.properties.propertymap.PropertyMapValueHandler
Property value handler for property maps.
Field Summary | |
static PropertyMapValueHandler |
INSTANCE
The instance of this class. |
Method Summary | |
Object |
getValue(Property property,
Object object)
Gets the value of a property from a value container. |
boolean |
getValueIsRemovable(Property property,
Object object)
Returns true if the property value is removable from the value container. |
boolean |
getValueIsSet(Property property,
Object object)
Returns true if a value for the property is set in the value container. |
void |
removeValue(Property property,
Object object)
Removes a property value from a value container. |
void |
setValue(Property property,
Object object,
Object value)
Sets the value of a property in a value container. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final PropertyMapValueHandler INSTANCE
Method Detail |
public Object getValue(Property property, Object object)
PropertyValueHandler
getValue
in interface PropertyValueHandler
property
- the propertyobject
- the object containing the value
public void setValue(Property property, Object object, Object value)
PropertyValueHandler
setValue
in interface PropertyValueHandler
property
- the propertyobject
- the object that will contain the valuevalue
- the property valuepublic boolean getValueIsRemovable(Property property, Object object)
PropertyValueHandler
getValueIsRemovable
in interface PropertyValueHandler
property
- the propertyobject
- the value container
public void removeValue(Property property, Object object)
PropertyValueHandler
removeValue
in interface PropertyValueHandler
property
- the propertyobject
- the value containerpublic boolean getValueIsSet(Property property, Object object)
PropertyValueHandler
getValueIsSet
in interface PropertyValueHandler
property
- the propertyobject
- the value container
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |