org.hibernate.type
Class AdaptedImmutableType
- Serializable, Type
public class AdaptedImmutableType
Optimize a mutable type, if the user promises not to mutable the
instances.
int | compare(Object x, Object y, EntityMode entityMode) - compare two instances of the type
|
Object | fromStringValue(String xml)
|
Object | get(ResultSet rs, String name)
|
int | getHashCode(Object x, EntityMode entityMode) - Get a hashcode, consistent with persistence "equality"
|
String | getName() - Returns the abbreviated name of the type.
|
Class | getReturnedClass() - The class returned by nullSafeGet() methods.
|
boolean | isEqual(Object x, Object y)
|
void | set(PreparedStatement st, Object value, int index)
|
int | sqlType()
|
String | toString(Object value)
|
fromStringValue , fromXMLNode , fromXMLString , get , getColumnSpan , isDirty , isEqual , isEqual , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeSet , nullSafeSet , nullSafeSet , nullSafeToString , set , setToXMLNode , sqlType , sqlTypes , toColumnNullness , toLoggableString , toString , toXMLString |
assemble , beforeAssemble , compare , disassemble , getHashCode , getHashCode , getSemiResolvedType , hydrate , isAnyType , isAssociationType , isCollectionType , isComponentType , isDirty , isEntityType , isEqual , isEqual , isModified , isSame , isXMLElement , replace , replaceNode , resolve , semiResolve |
AdaptedImmutableType
public AdaptedImmutableType(NullableType mutableType)
getName
public String getName()
Returns the abbreviated name of the type.
- getName in interface Type
- String the Hibernate type name
getReturnedClass
public Class getReturnedClass()
The class returned by nullSafeGet() methods. This is used to
establish the class of an array of this type.
- getReturnedClass in interface Type