Class AllocationTokenStatusTransitionUserType
java.lang.Object
google.registry.persistence.converter.TimedTransitionBaseUserType<AllocationToken.TokenStatus>
google.registry.persistence.converter.AllocationTokenStatusTransitionUserType
- All Implemented Interfaces:
org.hibernate.usertype.UserType<TimedTransitionProperty<AllocationToken.TokenStatus>>
public class AllocationTokenStatusTransitionUserType
extends TimedTransitionBaseUserType<AllocationToken.TokenStatus>
Hibernate custom type for
TimedTransitionProperty
of AllocationToken.TokenStatus
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable serializable, Object o) disassemble
(TimedTransitionProperty<AllocationToken.TokenStatus> stringStringMap) boolean
equals
(TimedTransitionProperty<AllocationToken.TokenStatus> map, TimedTransitionProperty<AllocationToken.TokenStatus> other) int
int
boolean
nullSafeGet
(ResultSet resultSet, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) void
nullSafeSet
(PreparedStatement preparedStatement, TimedTransitionProperty<AllocationToken.TokenStatus> map, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor) Methods inherited from class google.registry.persistence.converter.TimedTransitionBaseUserType
returnedClass
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, replace
-
Constructor Details
-
AllocationTokenStatusTransitionUserType
public AllocationTokenStatusTransitionUserType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlType
in interfaceorg.hibernate.usertype.UserType<M>
-
equals
public boolean equals(TimedTransitionProperty<AllocationToken.TokenStatus> map, TimedTransitionProperty<AllocationToken.TokenStatus> other) - Specified by:
equals
in interfaceorg.hibernate.usertype.UserType<M>
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType<M>
-
deepCopy
public TimedTransitionProperty<AllocationToken.TokenStatus> deepCopy(TimedTransitionProperty<AllocationToken.TokenStatus> map) - Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType<M>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType<M>
-
disassemble
public Serializable disassemble(TimedTransitionProperty<AllocationToken.TokenStatus> stringStringMap) - Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType<M>
-
assemble
public TimedTransitionProperty<AllocationToken.TokenStatus> assemble(Serializable serializable, Object o) - Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType<M>
-