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.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 o, int propertyIndex)
getPropertyValue in interface org.hibernate.usertype.CompositeUserTypepublic Score nullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
nullSafeGet in interface org.hibernate.usertype.CompositeUserTypeSQLExceptionpublic void nullSafeSet(PreparedStatement statement, Object value, int parameterIndex, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
nullSafeSet in interface org.hibernate.usertype.CompositeUserTypeSQLExceptionpublic boolean isMutable()
isMutable in interface org.hibernate.usertype.CompositeUserTypepublic Object deepCopy(Object value)
deepCopy in interface org.hibernate.usertype.CompositeUserTypepublic Object replace(Object original, Object target, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
replace in interface org.hibernate.usertype.CompositeUserTypepublic void setPropertyValue(Object component, int property, Object value)
setPropertyValue in interface org.hibernate.usertype.CompositeUserTypepublic boolean equals(Object a, Object b)
equals in interface org.hibernate.usertype.CompositeUserTypepublic int hashCode(Object o)
hashCode in interface org.hibernate.usertype.CompositeUserTypepublic Serializable disassemble(Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
disassemble in interface org.hibernate.usertype.CompositeUserTypepublic Object assemble(Serializable cached, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
assemble in interface org.hibernate.usertype.CompositeUserTypeCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.