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