Class PropertyMapProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.PropertyGroupProperty
net.infonode.properties.propertymap.PropertyMapProperty
- All Implemented Interfaces:
Property
An immutable property which has
PropertyMap's as values.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyMapProperty(PropertyGroup group, String name, String description, PropertyMapGroup propertyGroup) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn the property valueContainer value for this property in the value container.Returns the property group which property maps can be used as values for this property.Returns the value of this property in a value container.booleanReturns true if this property is mutable.Methods inherited from class net.infonode.properties.types.PropertyGroupProperty
getPropertyGroupMethods inherited from class net.infonode.properties.util.ValueHandlerProperty
removeValue, setValue, valueIsRemovable, valueIsSetMethods inherited from class net.infonode.properties.util.AbstractProperty
canBeAssiged, getDescription, getGroup, getName, getType, toString
-
Constructor Details
-
PropertyMapProperty
public PropertyMapProperty(PropertyGroup group, String name, String description, PropertyMapGroup propertyGroup) Constructor.- Parameters:
group- the property groupname- the property namedescription- the property descriptionpropertyGroup- property maps for this property group can be values for this property
-
-
Method Details
-
getPropertyMapGroup
Returns the property group which property maps can be used as values for this property.- Returns:
- the property group which property maps can be used as values for this property
-
isMutable
public boolean isMutable()Description copied from interface:PropertyReturns true if this property is mutable.- Specified by:
isMutablein interfaceProperty- Overrides:
isMutablein classAbstractProperty- Returns:
- true if this property is mutable
-
getValue
Description copied from interface:PropertyReturns the value of this property in a value container.- Specified by:
getValuein interfaceProperty- Overrides:
getValuein classValueHandlerProperty- Parameters:
object- the object containing the value- Returns:
- the value of this property in an valueContainer, null if the container doesn't contain the value
-
get
Return the property valueContainer value for this property in the value container.- Parameters:
valueContainer- the value container- Returns:
- the property valueContainer value for this property in the value container
-