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