Package com.jalios.jcms.db
Class ZoneIdUserType
- java.lang.Object
-
- com.jalios.jcms.db.ZoneIdUserType
-
- All Implemented Interfaces:
java.io.Serializable
,org.hibernate.usertype.EnhancedUserType
,org.hibernate.usertype.UserType
public class ZoneIdUserType extends java.lang.Object implements org.hibernate.usertype.EnhancedUserType, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZoneIdUserType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
assemble(java.io.Serializable cached, java.lang.Object val)
java.lang.Object
deepCopy(java.lang.Object val)
java.io.Serializable
disassemble(java.lang.Object val)
boolean
equals(java.lang.Object x, java.lang.Object y)
java.lang.Object
fromXMLString(java.lang.String string)
int
hashCode(java.lang.Object obj)
boolean
isMutable()
java.lang.Object
nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] names, java.lang.Object obj)
void
nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object value, int index)
java.lang.String
objectToSQLString(java.lang.Object obj)
java.lang.Object
replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner)
java.lang.Class
returnedClass()
int[]
sqlTypes()
java.lang.String
toXMLString(java.lang.Object obj)
-
-
-
Method Detail
-
sqlTypes
public int[] sqlTypes()
- Specified by:
sqlTypes
in interfaceorg.hibernate.usertype.UserType
-
returnedClass
public java.lang.Class returnedClass()
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType
-
equals
public boolean equals(java.lang.Object x, java.lang.Object y) throws org.hibernate.HibernateException
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
hashCode
public int hashCode(java.lang.Object obj) throws org.hibernate.HibernateException
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
nullSafeGet
public java.lang.Object nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] names, java.lang.Object obj) throws org.hibernate.HibernateException, java.sql.SQLException
- Specified by:
nullSafeGet
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
java.sql.SQLException
-
nullSafeSet
public void nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object value, int index) throws org.hibernate.HibernateException, java.sql.SQLException
- Specified by:
nullSafeSet
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
java.sql.SQLException
-
deepCopy
public java.lang.Object deepCopy(java.lang.Object val) throws org.hibernate.HibernateException
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()
- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType
-
disassemble
public java.io.Serializable disassemble(java.lang.Object val) throws org.hibernate.HibernateException
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
assemble
public java.lang.Object assemble(java.io.Serializable cached, java.lang.Object val) throws org.hibernate.HibernateException
- Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
replace
public java.lang.Object replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner) throws org.hibernate.HibernateException
- Specified by:
replace
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
toXMLString
public java.lang.String toXMLString(java.lang.Object obj)
- Specified by:
toXMLString
in interfaceorg.hibernate.usertype.EnhancedUserType
-
fromXMLString
public java.lang.Object fromXMLString(java.lang.String string)
- Specified by:
fromXMLString
in interfaceorg.hibernate.usertype.EnhancedUserType
-
objectToSQLString
public java.lang.String objectToSQLString(java.lang.Object obj)
- Specified by:
objectToSQLString
in interfaceorg.hibernate.usertype.EnhancedUserType
-
-