public class StringBooleanType extends Object implements EnhancedUserType, ParameterizedType
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
static String |
NULL |
| Constructor and Description |
|---|
StringBooleanType() |
| 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) |
String |
getFalseString() |
String |
getTrueString() |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String[] names,
SessionImplementor sessionImplementor,
Object owner) |
void |
nullSafeSet(PreparedStatement statement,
Object value,
int index,
SessionImplementor sessionImplementor) |
String |
objectToSQLString(Object value) |
protected Object |
parseBoolean(String value) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
void |
setParameterValues(Properties parameters) |
int[] |
sqlTypes() |
String |
toXMLString(Object value) |
public static final String copyright
public static final String NULL
public Class returnedClass()
returnedClass in interface UserTypepublic boolean equals(Object x, Object y) throws HibernateException
equals in interface UserTypeHibernateExceptionpublic int hashCode(Object x) throws HibernateException
hashCode in interface UserTypeHibernateExceptionpublic Object nullSafeGet(ResultSet resultSet, String[] names, SessionImplementor sessionImplementor, Object owner) throws HibernateException, SQLException
nullSafeGet in interface UserTypeHibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement statement, Object value, int index, SessionImplementor sessionImplementor) throws HibernateException, SQLException
nullSafeSet in interface UserTypeHibernateExceptionSQLExceptionpublic Object deepCopy(Object value) throws HibernateException
deepCopy in interface UserTypeHibernateExceptionpublic Serializable disassemble(Object value) throws HibernateException
disassemble in interface UserTypeHibernateExceptionpublic Object assemble(Serializable cached, Object owner) throws HibernateException
assemble in interface UserTypeHibernateExceptionpublic Object replace(Object original, Object target, Object owner) throws HibernateException
replace in interface UserTypeHibernateExceptionpublic String getTrueString()
public String getFalseString()
public void setParameterValues(Properties parameters)
setParameterValues in interface ParameterizedTypepublic String objectToSQLString(Object value)
objectToSQLString in interface EnhancedUserTypepublic String toXMLString(Object value)
toXMLString in interface EnhancedUserTypepublic Object fromXMLString(String xmlValue)
fromXMLString in interface EnhancedUserType