org.objectweb.telosys.common.val
Class BooleanValue

java.lang.Object
  extended byorg.objectweb.telosys.common.val.BooleanValue
All Implemented Interfaces:
ISingleValue, java.io.Serializable

public class BooleanValue
extends java.lang.Object
implements ISingleValue

This class wraps a value of the primitive type 'boolean' in an object. The current value can be changed with the 'setValue' method.

See Also:
Serialized Form

Constructor Summary
BooleanValue()
          Default constructor, the initial value is 'false'.
BooleanValue(boolean v)
          Constructor with initial value
 
Method Summary
 boolean getValue()
           
 void setValue(boolean v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanValue

public BooleanValue()
Default constructor, the initial value is 'false'.


BooleanValue

public BooleanValue(boolean v)
Constructor with initial value

Parameters:
v - initial value
Method Detail

setValue

public void setValue(boolean v)

getValue

public boolean getValue()

toString

public java.lang.String toString()