public interface IdentifierType<T> extends Type
Additional contract for a Type
may be used for a discriminator. THis contract is used to process
the string representation as presented in metadata, especially in <tt>XML</tt> files.
Modifier and Type | Method and Description |
---|---|
T |
stringToObject(String xml)
Convert the value from the mapping file to a Java object.
|
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString
T stringToObject(String xml) throws Exception
Convert the value from the mapping file to a Java object.
xml
- the value of <tt>discriminator-value</tt> or <tt>unsaved-value</tt> attributeException
- Indicates a problem converting from the stringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.