public interface IdentifierType<T> extends Type
Type
may be used for a discriminator. THis contract is used to process
the string representation as presented in metadata, especially in XML 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
xml
- the value of discriminator-value or unsaved-value attributeException
- Indicates a problem converting from the stringCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.