类 IDEnumType
- java.lang.Object
-
- org.beangle.orm.hibernate.udt.IDEnumType
-
- 所有已实现的接口:
Serializable,org.hibernate.usertype.DynamicParameterizedType,org.hibernate.usertype.EnhancedUserType,org.hibernate.usertype.LoggableUserType,org.hibernate.usertype.ParameterizedType,org.hibernate.usertype.UserType
public class IDEnumType extends Object implements org.hibernate.usertype.EnhancedUserType, org.hibernate.usertype.DynamicParameterizedType, org.hibernate.usertype.LoggableUserType, Serializable
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 IDEnumType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectassemble(Serializable cached, Object owner)ObjectdeepCopy(Object value)Serializabledisassemble(Object value)booleanequals(Object x, Object y)ObjectfromXMLString(String xmlValue)inthashCode(Object x)booleanisMutable()ObjectnullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SessionImplementor session, Object owner)voidnullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SessionImplementor session)StringobjectToSQLString(Object value)Objectreplace(Object original, Object target, Object owner)Class<? extends IDEnum>returnedClass()voidsetParameterValues(Properties parameters)int[]sqlTypes()StringtoLoggableString(Object value, org.hibernate.engine.spi.SessionFactoryImplementor factory)StringtoXMLString(Object value)
-
-
-
方法详细资料
-
objectToSQLString
public String objectToSQLString(Object value)
- 指定者:
objectToSQLString在接口中org.hibernate.usertype.EnhancedUserType
-
toXMLString
public String toXMLString(Object value)
- 指定者:
toXMLString在接口中org.hibernate.usertype.EnhancedUserType
-
fromXMLString
public Object fromXMLString(String xmlValue)
- 指定者:
fromXMLString在接口中org.hibernate.usertype.EnhancedUserType
-
toLoggableString
public String toLoggableString(Object value, org.hibernate.engine.spi.SessionFactoryImplementor factory)
- 指定者:
toLoggableString在接口中org.hibernate.usertype.LoggableUserType
-
setParameterValues
public void setParameterValues(Properties parameters)
- 指定者:
setParameterValues在接口中org.hibernate.usertype.ParameterizedType
-
sqlTypes
public int[] sqlTypes()
- 指定者:
sqlTypes在接口中org.hibernate.usertype.UserType
-
returnedClass
public Class<? extends IDEnum> returnedClass()
- 指定者:
returnedClass在接口中org.hibernate.usertype.UserType
-
equals
public boolean equals(Object x, Object y) throws org.hibernate.HibernateException
- 指定者:
equals在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateException
-
hashCode
public int hashCode(Object x) throws org.hibernate.HibernateException
- 指定者:
hashCode在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateException
-
nullSafeGet
public Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
- 指定者:
nullSafeGet在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateExceptionSQLException
-
nullSafeSet
public void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
- 指定者:
nullSafeSet在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateExceptionSQLException
-
deepCopy
public Object deepCopy(Object value) throws org.hibernate.HibernateException
- 指定者:
deepCopy在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()
- 指定者:
isMutable在接口中org.hibernate.usertype.UserType
-
disassemble
public Serializable disassemble(Object value) throws org.hibernate.HibernateException
- 指定者:
disassemble在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateException
-
assemble
public Object assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException
- 指定者:
assemble在接口中org.hibernate.usertype.UserType- 抛出:
org.hibernate.HibernateException
-
-