com.steptools.stdev.keystone
Class ExpBoolean

java.lang.Object
  extended by com.steptools.stdev.keystone.ExpBoolean

public class ExpBoolean
extends java.lang.Object

Represents an instances of an EXPRESS boolean value. This class is used rather than the boolean primitive type because it is not possible to specify an unset value using the java primitive.


Field Summary
static ExpBoolean FALSE
          The value false
static ExpBoolean TRUE
          The value true
 
Method Summary
 boolean booleanValue()
          Get the value as a boolean
static ExpBoolean fromBoolean(boolean v)
          Get the value from a java boolean value
 Logical logicalValue()
          Get the value as logical value
 java.lang.String toString()
          Returns "true" or "false"
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final ExpBoolean TRUE
The value true


FALSE

public static final ExpBoolean FALSE
The value false

Method Detail

fromBoolean

public static ExpBoolean fromBoolean(boolean v)
Get the value from a java boolean value


booleanValue

public boolean booleanValue()
Get the value as a boolean


logicalValue

public Logical logicalValue()
Get the value as logical value


toString

public java.lang.String toString()
Returns "true" or "false"

Overrides:
toString in class java.lang.Object