Package org.hibernate.engine.spi
Class TypedValue
- java.lang.Object
-
- org.hibernate.engine.spi.TypedValue
-
- All Implemented Interfaces:
java.io.Serializable
public final class TypedValue extends java.lang.Object implements java.io.Serializable
An ordered pair of a value and its Hibernate type.- See Also:
Type
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypedValue(Type type, java.lang.Object value)
TypedValue(Type type, java.lang.Object value, EntityMode entityMode)
Deprecated.explicit entity mode support is deprecated
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Type
getType()
java.lang.Object
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
TypedValue
public TypedValue(Type type, java.lang.Object value)
-
TypedValue
@Deprecated public TypedValue(Type type, java.lang.Object value, EntityMode entityMode)
Deprecated.explicit entity mode support is deprecated
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
-
getType
public Type getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-