public class UUIDType extends AbstractGenericBasicType<UUID>
UUID.toString()
method is used to get a string representation, this method use
the plain notation with minus symbol only that should be cross platform/language usable.UUID
,
UUID.toString()
,
UUID.fromString(java.lang.String)
,
Serialized FormConstructor and Description |
---|
UUIDType() |
Modifier and Type | Method and Description |
---|---|
UUID |
fromStringValue(String string) |
int |
getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
String |
getName()
Returns the abbreviated name of the type.
|
String |
toString(UUID value) |
assemble, beforeAssemble, compare, deepCopy, disassemble, fromString, fromXMLNode, fromXMLString, getGridTypeDescriptor, getHashCode, getHashCode, getJavaTypeDescriptor, getRegistrationKeys, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, toColumnNullness, toLoggableString, toXMLString
public static final UUIDType INSTANCE
public String getName()
GridType
String
public int getColumnSpan(Mapping mapping)
GridType
sqlTypes(mapping).length
getColumnSpan
in interface GridType
getColumnSpan
in class AbstractGenericBasicType<UUID>
mapping
- The mapping object :/public String toString(UUID value) throws HibernateException
toString
in interface StringRepresentableType<UUID>
toString
in class AbstractGenericBasicType<UUID>
HibernateException
public UUID fromStringValue(String string) throws HibernateException
fromStringValue
in interface StringRepresentableType<UUID>
fromStringValue
in class AbstractGenericBasicType<UUID>
HibernateException
Copyright © 2010-2015 Red Hat, Inc., Emmanuel Bernard and various contributors. All Rights Reserved.