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