public abstract class AbstractScoreHibernateType extends Object implements org.hibernate.usertype.CompositeUserType
Modifier and Type | Field and Description |
---|---|
protected ScoreDefinition |
scoreDefinition |
protected org.hibernate.type.AbstractSingleColumnStandardBasicType |
type |
Constructor and Description |
---|
AbstractScoreHibernateType() |
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 a,
Object b) |
protected int |
extractIntParameter(Properties parameterMap,
String parameterName) |
String[] |
getPropertyNames() |
org.hibernate.type.Type[] |
getPropertyTypes() |
Object |
getPropertyValue(Object o,
int propertyIndex) |
int |
hashCode(Object o) |
boolean |
isMutable() |
Score |
nullSafeGet(ResultSet resultSet,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement statement,
Object value,
int parameterIndex,
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) |
protected ScoreDefinition scoreDefinition
protected org.hibernate.type.AbstractSingleColumnStandardBasicType type
protected int extractIntParameter(Properties parameterMap, String parameterName)
public Class returnedClass()
returnedClass
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 o, int propertyIndex)
getPropertyValue
in interface org.hibernate.usertype.CompositeUserType
public Score nullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
nullSafeGet
in interface org.hibernate.usertype.CompositeUserType
SQLException
public void nullSafeSet(PreparedStatement statement, Object value, int parameterIndex, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
nullSafeSet
in interface org.hibernate.usertype.CompositeUserType
SQLException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.CompositeUserType
public Object deepCopy(Object value)
deepCopy
in interface org.hibernate.usertype.CompositeUserType
public Object replace(Object original, Object target, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
replace
in interface org.hibernate.usertype.CompositeUserType
public void setPropertyValue(Object component, int property, Object value)
setPropertyValue
in interface org.hibernate.usertype.CompositeUserType
public boolean equals(Object a, Object b)
equals
in interface org.hibernate.usertype.CompositeUserType
public int hashCode(Object o)
hashCode
in interface org.hibernate.usertype.CompositeUserType
public Serializable disassemble(Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
disassemble
in interface org.hibernate.usertype.CompositeUserType
public Object assemble(Serializable cached, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
assemble
in interface org.hibernate.usertype.CompositeUserType
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.