net.infonode.properties.types

Class BooleanProperty

public class BooleanProperty extends ValueHandlerProperty

A boolean property.

Version: $Revision: 1.4 $

Author: $Author: jesper $

Constructor Summary
BooleanProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.
Method Summary
booleanget(Object valueContainer)
Returns the boolean value of this property in a value container.
voidset(Object valueContainer, boolean value)
Sets the boolean value of this property in a value container.

Constructor Detail

BooleanProperty

public BooleanProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
Constructor.

Parameters: group the property group name the property name description the property description valueHandler handles values for this property

Method Detail

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 container value the boolean value