org.apache.ws.jaxme.sqls.impl

Class ValueImpl

Implemented Interfaces:
Value

public class ValueImpl
extends java.lang.Object
implements Value

Implementation of a value.
Author:
Jochen Wiedmann

Constructor Summary

ValueImpl(Value pValue)
ValueImpl(Value.Type pType, Object pValue)

Method Summary

static Object
asValue(Object pValue)
boolean
equals(Object o)
Value.Type
getType()
Object
getValue()
int
hashCode()

Constructor Details

ValueImpl

public ValueImpl(Value pValue)

ValueImpl

public ValueImpl(Value.Type pType,
                 Object pValue)

Method Details

asValue

public static Object asValue(Object pValue)

equals

public boolean equals(Object o)

getType

public Value.Type getType()
Specified by:
getType in interface Value

getValue

public Object getValue()
Specified by:
getValue in interface Value

hashCode

public int hashCode()