接口 IdentifierType<T>
-
- 所有超级接口:
Serializable,Type
- 所有已知子接口:
DiscriminatorType<T>
- 所有已知实现类:
BigIntegerType,BooleanType,ByteType,CharacterNCharType,CharacterType,CustomType,DateType,IntegerType,LongType,NumericBooleanType,ShortType,StringNVarcharType,StringType,TrueFalseType,UrlType,YesNoType
public interface IdentifierType<T> extends Type
Additional contract for aTypemay be used for a discriminator. THis contract is used to process the string representation as presented in metadata, especially in XML files.- 作者:
- Gavin King
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TstringToObject(String xml)Convert the value from the mapping file to a Java object.-
从接口继承的方法 org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString
-
-
-
-
方法详细资料
-
stringToObject
T stringToObject(String xml) throws Exception
Convert the value from the mapping file to a Java object.- 参数:
xml- the value of discriminator-value or unsaved-value attribute- 返回:
- The converted value of the string representation.
- 抛出:
Exception- Indicates a problem converting from the string
-
-