org.apache.ws.jaxme.sqls.impl
Class ValueImpl
java.lang.Object
org.apache.ws.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 classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Value |
Value.Type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ValueImpl
public ValueImpl(Value pValue)
ValueImpl
public ValueImpl(Value.Type pType,
java.lang.Object pValue)
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()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
asValue
public static java.lang.Object asValue(java.lang.Object pValue)