Class FeatureStatusTransitionUserType
java.lang.Object
google.registry.persistence.converter.TimedTransitionBaseUserType<FeatureFlag.FeatureStatus>
google.registry.persistence.converter.FeatureStatusTransitionUserType
- All Implemented Interfaces:
org.hibernate.usertype.UserType<TimedTransitionProperty<FeatureFlag.FeatureStatus>>
public class FeatureStatusTransitionUserType
extends TimedTransitionBaseUserType<FeatureFlag.FeatureStatus>
Hibernate custom type for
TimedTransitionProperty
of FeatureFlag.FeatureStatus
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable serializable, Object o) disassemble
(TimedTransitionProperty<FeatureFlag.FeatureStatus> stringStringMap) boolean
equals
(TimedTransitionProperty<FeatureFlag.FeatureStatus> map, TimedTransitionProperty<FeatureFlag.FeatureStatus> other) int
int
boolean
nullSafeGet
(ResultSet resultSet, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) void
nullSafeSet
(PreparedStatement preparedStatement, TimedTransitionProperty<FeatureFlag.FeatureStatus> 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
-
FeatureStatusTransitionUserType
public FeatureStatusTransitionUserType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlType
in interfaceorg.hibernate.usertype.UserType<M>
-
equals
public boolean equals(TimedTransitionProperty<FeatureFlag.FeatureStatus> map, TimedTransitionProperty<FeatureFlag.FeatureStatus> other) - Specified by:
equals
in interfaceorg.hibernate.usertype.UserType<M>
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType<M>
-
deepCopy
public TimedTransitionProperty<FeatureFlag.FeatureStatus> deepCopy(TimedTransitionProperty<FeatureFlag.FeatureStatus> map) - Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType<M>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType<M>
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType<M>
-
assemble
public TimedTransitionProperty<FeatureFlag.FeatureStatus> assemble(Serializable serializable, Object o) - Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType<M>
-