public class MatrixType extends Object implements org.hibernate.usertype.CompositeUserType
Modifier and Type | Field and Description |
---|---|
static String |
HIBERNATE_COLUMN_NAME_SEPARATOR |
Constructor and Description |
---|
MatrixType() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value,
org.hibernate.engine.spi.SharedSessionContractImplementor 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.spi.SharedSessionContractImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
Object |
replace(Object original,
Object target,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
Class |
returnedClass() |
void |
setPropertyValue(Object component,
int property,
Object value) |
public static final String HIBERNATE_COLUMN_NAME_SEPARATOR
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.CompositeUserType
public Class returnedClass()
returnedClass
in interface org.hibernate.usertype.CompositeUserType
public boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public int hashCode(Object x) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
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) throws org.hibernate.HibernateException
getPropertyValue
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public void setPropertyValue(Object component, int property, Object value) throws org.hibernate.HibernateException
setPropertyValue
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
SQLException
public Serializable disassemble(Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object assemble(Serializable cached, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
Copyright © 1999–2020 CodeLutin. All rights reserved.