public class StringType
extends Object
implements org.hibernate.usertype.CompositeUserType, Serializable
Constructor and Description |
---|
StringType() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
org.hibernate.engine.SessionImplementor session,
Object owner) |
Object |
deepCopy(Object obj) |
Serializable |
disassemble(Object value,
org.hibernate.engine.SessionImplementor session) |
boolean |
equals(Object x,
Object y) |
String[] |
getPropertyNames() |
org.hibernate.type.Type[] |
getPropertyTypes() |
Object |
getPropertyValue(Object component,
int property) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.SessionImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement ps,
Object target,
int index,
org.hibernate.engine.SessionImplementor session) |
Object |
replace(Object original,
Object target,
org.hibernate.engine.SessionImplementor session,
Object owner) |
Class<String> |
returnedClass() |
void |
setPropertyValue(Object component,
int property,
Object value) |
public Object assemble(Serializable cached, org.hibernate.engine.SessionImplementor session, Object owner)
assemble
in interface org.hibernate.usertype.CompositeUserType
public Object deepCopy(Object obj)
deepCopy
in interface org.hibernate.usertype.CompositeUserType
public Serializable disassemble(Object value, org.hibernate.engine.SessionImplementor session)
disassemble
in interface org.hibernate.usertype.CompositeUserType
public boolean equals(Object x, Object y)
equals
in interface org.hibernate.usertype.CompositeUserType
public String[] getPropertyNames()
getPropertyNames
in interface org.hibernate.usertype.CompositeUserType
public org.hibernate.type.Type[] getPropertyTypes()
getPropertyTypes
in interface org.hibernate.usertype.CompositeUserType
public Object getPropertyValue(Object component, int property)
getPropertyValue
in interface org.hibernate.usertype.CompositeUserType
public int hashCode(Object x)
hashCode
in interface org.hibernate.usertype.CompositeUserType
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.CompositeUserType
public Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.SessionImplementor session, Object owner) throws SQLException
nullSafeGet
in interface org.hibernate.usertype.CompositeUserType
SQLException
public void nullSafeSet(PreparedStatement ps, Object target, int index, org.hibernate.engine.SessionImplementor session) throws SQLException
nullSafeSet
in interface org.hibernate.usertype.CompositeUserType
SQLException
public Object replace(Object original, Object target, org.hibernate.engine.SessionImplementor session, Object owner)
replace
in interface org.hibernate.usertype.CompositeUserType
public Class<String> returnedClass()
returnedClass
in interface org.hibernate.usertype.CompositeUserType
public void setPropertyValue(Object component, int property, Object value)
setPropertyValue
in interface org.hibernate.usertype.CompositeUserType