com.ds.fw.types
Class FwBoolean

java.lang.Object
  |
  +--com.ds.fw.types.FwSimpleObject
        |
        +--com.ds.fw.types.FwBoolean
All Implemented Interfaces:
java.lang.Cloneable, FwBooleanIF, FwCopyableIF, FwDisplayableIF, FwSimpleObjectIF, java.io.Serializable

public class FwBoolean
extends FwSimpleObject
implements FwBooleanIF

See Also:
Serialized Form

Field Summary
 boolean _value
           
 
Constructor Summary
FwBoolean()
          Constructor .
FwBoolean(boolean b)
          Constructor .
 
Method Summary
 boolean equals(java.lang.Object e)
          Check if this FwBoolean is equals to the object given as parameter
 boolean getValue()
          Gets the value of the field _value
 void setValue(boolean b)
          Sets the value of the field _value with new one
 java.lang.String toStringValue()
          Returns the value of the field _value as string
 
Methods inherited from class com.ds.fw.types.FwSimpleObject
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ds.fw.types.FwSimpleObjectIF
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, toString
 

Field Detail

_value

public boolean _value
Constructor Detail

FwBoolean

public FwBoolean()
Constructor .   Initializes a newly created FwBoolean object with _value = false.


FwBoolean

public FwBoolean(boolean b)
Constructor .   Initializes a newly created FwBoolean object and initializes its fiels _value with the value of the parameter b.

Method Detail

getValue

public boolean getValue()
Gets the value of the field _value

Specified by:
getValue in interface FwBooleanIF
Returns:
the value of the field _value

setValue

public void setValue(boolean b)
Sets the value of the field _value with new one

Specified by:
setValue in interface FwBooleanIF
Parameters:
b - the new value

equals

public boolean equals(java.lang.Object e)
Check if this FwBoolean is equals to the object given as parameter

Overrides:
equals in class java.lang.Object
Parameters:
e - the object to compare this String against.
Returns:

toStringValue

public java.lang.String toStringValue()
Returns the value of the field _value as string

Specified by:
toStringValue in interface FwSimpleObjectIF
Overrides:
toStringValue in class FwSimpleObject
Returns:
the string representation of this FwBoolean