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
- public class BooleanProperty
- extends ValueHandlerProperty
A boolean property.
- Version:
- $Revision: 1.4 $
Method Summary |
boolean |
get(Object valueContainer)
Returns the boolean value of this property in a value container. |
void |
set(Object valueContainer,
boolean value)
Sets the boolean value of this property in a value container. |
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
get
public boolean get(Object valueContainer)
- Returns the boolean value of this property in a value container.
- Parameters:
valueContainer
- the value container
- Returns:
- the boolean value of this property
set
public void set(Object valueContainer,
boolean value)
- Sets the boolean value of this property in a value container.
- Parameters:
valueContainer
- the value containervalue
- the boolean value
Copyright © 2007 NNL Technology AB. All Rights Reserved.