A property is belongs to a
PropertyGroup and contains name, description, type etc.
A property can have multiple values which can be stored in any type of object.
author: $Author: jesper $ version: $Revision: 1.7 $
Method Summary
boolean
canBeAssiged(Object value) Returns true if the value can be assigned to this property.
Returns the value type of this property.
The property can only be set to values that are of this class or a sub class of this class.
the value type of this property
Returns the value of this property in a value container.
Parameters: valueContainer - the object containing the value the value of this property in an valueContainer, null if the container doesn't contain the value throws: InvalidPropertyException - if the property can not be read from the value container
Removes the value of this property from an valueContainer.
Parameters: valueContainer - the object in which to remove the value throws: ImmutablePropertyException - if the property is immutable throws: CantRemoveValueException - if the property value can't be removed from the valueContainer
Sets the value of this property in an object.
Parameters: valueContainer - the object to set the property value in Parameters: value - the value of the property throws: ImmutablePropertyException - if this property is immutable throws: InvalidPropertyException - if this property can't be set in the object throws: InvalidPropertyValueException - if the property value is invalid
Returns true if the value of this property can be removed from the valueContainer.
Parameters: valueContainer - the object from which to remove the value true if the value of this property can be removed from the valueContainer
Returns true if this property has a value in the valueContainer.
Parameters: valueContainer - the object that might contain the value true if this property has a value in the valueContainer