public abstract class AbstractStringBasedJodaType extends Object implements org.hibernate.usertype.UserType, Serializable
Constructor and Description |
---|
AbstractStringBasedJodaType() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
Object value) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
protected abstract Object |
fromNonNullString(String s) |
int |
hashCode(Object object) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String[] strings,
Object object) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index) |
Object |
replace(Object original,
Object target,
Object owner) |
int[] |
sqlTypes() |
protected abstract String |
toNonNullString(Object value) |
public int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
public Object nullSafeGet(ResultSet resultSet, String[] strings, Object object) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement preparedStatement, Object value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
SQLException
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 object) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.UserType
public Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public Object assemble(Serializable cached, Object value) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
Copyright © 2005–2015 Joda.org. All rights reserved.