Class CurrencyToStringMapUserType
java.lang.Object
google.registry.persistence.converter.CurrencyToStringMapUserType
- All Implemented Interfaces:
org.hibernate.usertype.UserType<Map<org.joda.money.CurrencyUnit,
String>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable serializable, Object o) disassemble
(Map<org.joda.money.CurrencyUnit, String> stringStringMap) boolean
int
int
boolean
nullSafeGet
(ResultSet resultSet, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) void
nullSafeSet
(PreparedStatement preparedStatement, Map<org.joda.money.CurrencyUnit, String> map, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor) 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
-
CurrencyToStringMapUserType
public CurrencyToStringMapUserType()
-
-
Method Details
-
returnedClass
-
getSqlType
public int getSqlType()- Specified by:
getSqlType
in interfaceorg.hibernate.usertype.UserType<M>
-
equals
public boolean equals(Map<org.joda.money.CurrencyUnit, String> map, Map<org.joda.money.CurrencyUnit, String> other) - Specified by:
equals
in interfaceorg.hibernate.usertype.UserType<M>
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType<M>
-
deepCopy
public Map<org.joda.money.CurrencyUnit,String> deepCopy(Map<org.joda.money.CurrencyUnit, String> 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>
-