com.steptools.stdev.keystone
Class Logical

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

public class Logical
extends java.lang.Object

Represents an instances of an EXPRESS logical value.


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

Field Detail

TRUE

public static final Logical TRUE
the value true


FALSE

public static final Logical FALSE
the value false


UNKNOWN

public static final Logical UNKNOWN
the value unknown

Method Detail

fromBoolean

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


booleanValue

public boolean booleanValue()
Get the value as a boolean value


toString

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

Overrides:
toString in class java.lang.Object