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