Class HibernateObjectIdentityUserType
- java.lang.Object
-
- com.atlassian.bamboo.security.acegi.acls.HibernateObjectIdentityUserType
-
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.CompositeUserType
public class HibernateObjectIdentityUserType extends Object implements org.hibernate.usertype.CompositeUserType, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HibernateObjectIdentityUserType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
assemble(Serializable serializable, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
Object
deepCopy(Object object)
Serializable
disassemble(Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
boolean
equals(Object object, Object object1)
String[]
getPropertyNames()
org.hibernate.type.Type[]
getPropertyTypes()
Object
getPropertyValue(Object object, int i)
int
hashCode(Object x)
boolean
isMutable()
Object
nullSafeGet(ResultSet resultSet, String[] strings, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
void
nullSafeSet(PreparedStatement preparedStatement, Object object, int i, 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 object, int i, Object object1)
-
-
-
Method Detail
-
getPropertyNames
public String[] getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.hibernate.usertype.CompositeUserType
-
getPropertyTypes
public org.hibernate.type.Type[] getPropertyTypes()
- Specified by:
getPropertyTypes
in interfaceorg.hibernate.usertype.CompositeUserType
-
getPropertyValue
public Object getPropertyValue(Object object, int i) throws org.hibernate.HibernateException
- Specified by:
getPropertyValue
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
setPropertyValue
public void setPropertyValue(Object object, int i, Object object1) throws org.hibernate.HibernateException
- Specified by:
setPropertyValue
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
returnedClass
public Class returnedClass()
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.CompositeUserType
-
equals
public boolean equals(Object object, Object object1) throws org.hibernate.HibernateException
- Specified by:
equals
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
nullSafeGet
public Object nullSafeGet(ResultSet resultSet, String[] strings, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException, SQLException
- Specified by:
nullSafeGet
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
SQLException
-
nullSafeSet
public void nullSafeSet(PreparedStatement preparedStatement, Object object, int i, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
- Specified by:
nullSafeSet
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
SQLException
-
deepCopy
public Object deepCopy(Object object) throws org.hibernate.HibernateException
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()
- Specified by:
isMutable
in interfaceorg.hibernate.usertype.CompositeUserType
-
disassemble
public Serializable disassemble(Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
assemble
public Object assemble(Serializable serializable, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
- Specified by:
assemble
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
replace
public Object replace(Object original, Object target, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException
- Specified by:
replace
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
hashCode
public int hashCode(Object x) throws org.hibernate.HibernateException
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.CompositeUserType
- Throws:
org.hibernate.HibernateException
-
-