当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
IdentifierType (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.type
Interface IdentifierType
- All Superinterfaces:
- Serializable, Type
- All Known Subinterfaces:
- DiscriminatorType
- All Known Implementing Classes:
- BigIntegerType, BooleanType, ByteType, CharacterType, CustomType, DateType, IntegerType, LongType, ShortType, StringType
- public interface IdentifierType
- extends Type
A Type that may be used as an identifier.
- Author:
- Gavin King
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 |
stringToObject
public 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