Class ConvertibleToStringUserType<T>
java.lang.Object
com.atlassian.bamboo.persistence3.ConvertibleToStringUserType<T>
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.UserType
- Direct Known Subclasses:
AuditLogEntityTypeUserType
,BuildStateUserType
,CapabilityScopeUserType
,ChainStorageTagUserType
,DeltaStateUserType
,DeploymentVersionStateUserType
,KeyUserType
,LifeCycleStateUserType
,ReasonForBuildUserType
,ReleaseApprovalPrerequisiteUserType
,ResultKeyUserType
public abstract class ConvertibleToStringUserType<T>
extends Object
implements org.hibernate.usertype.UserType, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable cached, Object owner) disassemble
(Object value) boolean
abstract T
fromString
(@NotNull String stringValue) int
boolean
nullSafeGet
(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) void
nullSafeSet
(PreparedStatement preparedStatement, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) int[]
sqlTypes()
-
Constructor Details
-
ConvertibleToStringUserType
-
-
Method Details
-
sqlTypes
public int[] sqlTypes()- Specified by:
sqlTypes
in interfaceorg.hibernate.usertype.UserType
-
returnedClass
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType
-
equals
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
fromString
-
toString
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
assemble
- Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
replace
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException - Specified by:
replace
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-