当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
IdentifierType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.type
Interface IdentifierType
- All Superinterfaces:
- Serializable, Type
- All Known Subinterfaces:
- DiscriminatorType
- All Known Implementing Classes:
- BooleanType, ByteType, CharacterType, 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 net.sf.hibernate.type.Type |
assemble, copy, deepCopy, disassemble, equals, fromString, getColumnSpan, getName, getReturnedClass, hasNiceEquals, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isMutable, isObjectType, isPersistentCollectionType, nullSafeGet, nullSafeGet, nullSafeSet, resolveIdentifier, sqlTypes, toString |
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