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, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getName, 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, 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 © 2012 JBoss by Red Hat. All Rights Reserved.