| net.infonode.properties.util.PropertyValueHandler
All known Subclasses: net.infonode.properties.propertymap.PropertyMapValueHandler,
PropertyValueHandler | public interface PropertyValueHandler (Code) | | Sets and gets property values to and from value objects.
author: $Author: jesper $ version: $Revision: 1.4 $ |
getValue | Object getValue(Property property, Object valueContainer)(Code) | | Gets the value of a property from a value container.
Parameters: property - the property Parameters: valueContainer - the object containing the value the property value, null if the container doesn't contain the value |
getValueIsRemovable | boolean getValueIsRemovable(Property property, Object valueContainer)(Code) | | Returns true if the property value is removable from the value container.
Parameters: property - the property Parameters: valueContainer - the value container true if the property value is removable from the value container |
getValueIsSet | boolean getValueIsSet(Property property, Object valueContainer)(Code) | | Returns true if a value for the property is set in the value container.
Parameters: property - the property Parameters: valueContainer - the value container true if a value for the property is set in the value container |
removeValue | void removeValue(Property property, Object valueContainer)(Code) | | Removes a property value from a value container.
Parameters: property - the property Parameters: valueContainer - the value container |
setValue | void setValue(Property property, Object valueContainer, Object value)(Code) | | Sets the value of a property in a value container.
Parameters: property - the property Parameters: valueContainer - the object that will contain the value Parameters: value - the property value |
|
|