类 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

        public IDEnumType()
    • 方法详细资料

      • 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.HibernateException
        SQLException
      • 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.HibernateException
        SQLException
      • 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
      • replace

        public Object replace​(Object original,
                              Object target,
                              Object owner)
                       throws org.hibernate.HibernateException
        指定者:
        replace 在接口中 org.hibernate.usertype.UserType
        抛出:
        org.hibernate.HibernateException