net.sf.jaxme.sqls.impl
Class ValueImpl

java.lang.Object
  extended bynet.sf.jaxme.sqls.impl.ValueImpl
All Implemented Interfaces:
Value

public class ValueImpl
extends java.lang.Object
implements Value

Implementation of a value.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes inherited from class net.sf.jaxme.sqls.Value
Value.Type
 
Constructor Summary
ValueImpl(Value.Type pType, java.lang.Object pValue)
           
ValueImpl(Value pValue)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Value.Type getType()
          Returns the values type.
 java.lang.Object getValue()
          Returns the actual value.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueImpl

public ValueImpl(Value pValue)

ValueImpl

public ValueImpl(Value.Type pType,
                 java.lang.Object pValue)
Method Detail

getType

public Value.Type getType()
Description copied from interface: Value

Returns the values type.

Specified by:
getType in interface Value

getValue

public java.lang.Object getValue()
Description copied from interface: Value

Returns the actual value. This may be null.

Specified by:
getValue in interface Value

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)