public class PropertyMapValueHandler extends java.lang.Object implements PropertyValueHandler
| Modifier and Type | Field and Description |
|---|---|
static PropertyMapValueHandler |
INSTANCE
The instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final PropertyMapValueHandler INSTANCE
public java.lang.Object getValue(Property property, java.lang.Object object)
PropertyValueHandlergetValue in interface PropertyValueHandlerproperty - the propertyobject - the object containing the valuepublic void setValue(Property property, java.lang.Object object, java.lang.Object value)
PropertyValueHandlersetValue in interface PropertyValueHandlerproperty - the propertyobject - the object that will contain the valuevalue - the property valuepublic boolean getValueIsRemovable(Property property, java.lang.Object object)
PropertyValueHandlergetValueIsRemovable in interface PropertyValueHandlerproperty - the propertyobject - the value containerpublic void removeValue(Property property, java.lang.Object object)
PropertyValueHandlerremoveValue in interface PropertyValueHandlerproperty - the propertyobject - the value containerpublic boolean getValueIsSet(Property property, java.lang.Object object)
PropertyValueHandlergetValueIsSet in interface PropertyValueHandlerproperty - the propertyobject - the value container