org.hibernate.type
Interface IdentifierType

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

public interface IdentifierType
extends Type

A Type that may be used as an identifier.

Author:
Gavin King

Method Summary
 java.lang.Object stringToObject(java.lang.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

java.lang.Object stringToObject(java.lang.String xml)
                                throws java.lang.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:
java.lang.Exception


Copyright © 2010. All Rights Reserved.