Class CurrencyUnitType
java.lang.Object
io.hypersistence.utils.hibernate.type.ImmutableType<T>
io.hypersistence.utils.hibernate.type.DescriptorImmutableType<javax.money.CurrencyUnit,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,CurrencyUnitTypeDescriptor>
io.hypersistence.utils.hibernate.type.money.CurrencyUnitType
- All Implemented Interfaces:
Serializable,org.hibernate.query.BindableType<javax.money.CurrencyUnit>,org.hibernate.query.sqm.SqmExpressible<javax.money.CurrencyUnit>,org.hibernate.type.Type,org.hibernate.usertype.EnhancedUserType<javax.money.CurrencyUnit>,org.hibernate.usertype.UserType<javax.money.CurrencyUnit>
public class CurrencyUnitType
extends DescriptorImmutableType<javax.money.CurrencyUnit,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,CurrencyUnitTypeDescriptor>
Maps a Java
CurrencyUnit object to a VARCHAR column type.- Author:
- Piotr Olaszewski
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.money.CurrencyUnitfromStringValue(CharSequence sequence) Methods inherited from class io.hypersistence.utils.hibernate.type.DescriptorImmutableType
get, getBindableJavaType, getExpressibleJavaType, getSqlType, nullSafeGet, nullSafeSet, setMethods inherited from class io.hypersistence.utils.hibernate.type.ImmutableType
assemble, assemble, beforeAssemble, compare, deepCopy, deepCopy, disassemble, disassemble, equals, getColumnSpan, getConfiguration, getHashCode, getHashCode, getName, getReturnedClass, getSqlTypeCodes, hashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, replace, replace, replace, returnedClass, toColumnNullness, toLoggableString, toSqlLiteral, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
isInstance, resolveExpressibleMethods inherited from interface org.hibernate.type.Type
disassembleMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter
-
Constructor Details
-
CurrencyUnitType
public CurrencyUnitType()
-
-
Method Details
-
fromStringValue
public javax.money.CurrencyUnit fromStringValue(CharSequence sequence) throws org.hibernate.HibernateException - Throws:
org.hibernate.HibernateException
-