Package net.infonode.properties.types
Class BooleanProperty
java.lang.Object
net.infonode.properties.util.AbstractProperty
net.infonode.properties.util.ValueHandlerProperty
net.infonode.properties.types.BooleanProperty
- All Implemented Interfaces:
Property
A boolean property.
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanProperty
(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler) Constructor. -
Method Summary
Methods inherited from class net.infonode.properties.util.ValueHandlerProperty
getValue, removeValue, setValue, valueIsRemovable, valueIsSet
Methods inherited from class net.infonode.properties.util.AbstractProperty
canBeAssiged, getDescription, getGroup, getName, getType, isMutable, toString
-
Constructor Details
-
BooleanProperty
public BooleanProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler) Constructor.- Parameters:
group
- the property groupname
- the property namedescription
- the property descriptionvalueHandler
- handles values for this property
-
-
Method Details
-
get
Returns the boolean value of this property in a value container.- Parameters:
valueContainer
- the value container- Returns:
- the boolean value of this property
-
set
Sets the boolean value of this property in a value container.- Parameters:
valueContainer
- the value containervalue
- the boolean value
-