org.hibernate.type
Interface IdentifierType

All Superinterfaces:
Serializable, Type
All Known Subinterfaces:
DiscriminatorType
All Known Implementing Classes:
BigIntegerType, BooleanType, ByteType, CharacterType, CharBooleanType, CustomType, DateType, IntegerType, LongType, ShortType, StringType, TrueFalseType, YesNoType

public interface IdentifierType
extends Type

A Type that may be used as an identifier.

Author:
Gavin King

Method Summary
 Object stringToObject(String xml)
          Convert the value from the mapping file to a Java object.
 
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, 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
 

Method Detail

stringToObject

Object stringToObject(String xml)
                      throws Exception
Convert the value from the mapping file to a Java object.

Parameters:
xml - the value of discriminator-value or unsaved-value attribute
Returns:
Object
Throws:
Exception