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.metamodel.model.domain.DomainType<javax.money.CurrencyUnit>,org.hibernate.query.BindableType<javax.money.CurrencyUnit>,org.hibernate.query.sqm.SqmExpressible<javax.money.CurrencyUnit>,org.hibernate.type.Type,org.hibernate.usertype.DynamicParameterizedType,org.hibernate.usertype.EnhancedUserType<javax.money.CurrencyUnit>,org.hibernate.usertype.ParameterizedType,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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.usertype.DynamicParameterizedType
org.hibernate.usertype.DynamicParameterizedType.ParameterType -
Field Summary
Fields inherited from interface org.hibernate.usertype.DynamicParameterizedType
ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY -
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, set, setParameterValuesMethods inherited from class io.hypersistence.utils.hibernate.type.ImmutableType
assemble, assemble, beforeAssemble, compare, 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.metamodel.model.domain.DomainType
getSqmType, getTupleLengthMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.type.Type
disassemble, getReturnedClassName, getTypeForEqualsHashCodeMethods 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
-