com.yosokumo.core
Class EmptyValue

java.lang.Object
  extended by com.yosokumo.core.Value
      extended by com.yosokumo.core.EmptyValue

public class EmptyValue
extends Value

Represents no value or an unknown value.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.yosokumo.core.Value
Value.Type
 
Constructor Summary
EmptyValue()
           
 
Method Summary
 Value.Type getType()
          Return the type of the value.
 Value getValue()
          Return the value stored in this empty object.
 java.lang.String toString()
          Return the empty value as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyValue

public EmptyValue()
Method Detail

getType

public Value.Type getType()
Description copied from class: Value
Return the type of the value.

Specified by:
getType in class Value
Returns:
the type of the value.

getValue

public Value getValue()
Return the value stored in this empty object.

Returns:
an EmptyValue (null).

toString

public java.lang.String toString()
Return the empty value as a String.

Specified by:
toString in class Value
Returns:
the empty value as a String.