public class BodyTypeUserType extends HibernateUserType implements org.hibernate.usertype.EnhancedUserType
Constructor and Description |
---|
BodyTypeUserType() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
Object owner) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
Object |
fromXMLString(String xmlValue) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
String |
objectToSQLString(Object value) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
int[] |
sqlTypes() |
String |
toXMLString(Object value) |
nullSafeGet, nullSafeSet
public Object assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.UserType
assemble
in class HibernateUserType
org.hibernate.HibernateException
public Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.UserType
disassemble
in class HibernateUserType
org.hibernate.HibernateException
public Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public int hashCode(Object x) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.UserType
hashCode
in class HibernateUserType
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.UserType
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws net.sf.hibernate.HibernateException, SQLException
nullSafeGet
in class HibernateUserType
net.sf.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index) throws net.sf.hibernate.HibernateException, SQLException
nullSafeSet
in class HibernateUserType
net.sf.hibernate.HibernateException
SQLException
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException
replace
in interface org.hibernate.usertype.UserType
replace
in class HibernateUserType
org.hibernate.HibernateException
public Class returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
public int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
public String objectToSQLString(Object value)
objectToSQLString
in interface org.hibernate.usertype.EnhancedUserType
public String toXMLString(Object value)
toXMLString
in interface org.hibernate.usertype.EnhancedUserType
Copyright © 2003–2021 Atlassian. All rights reserved.