Class Iso8601MonthType
java.lang.Object
io.hypersistence.utils.hibernate.type.MutableType<Month,org.hibernate.type.descriptor.jdbc.IntegerJdbcType,Iso8601MonthMonthTypeDescriptor>
io.hypersistence.utils.hibernate.type.basic.Iso8601MonthType
- All Implemented Interfaces:
org.hibernate.metamodel.mapping.BasicValuedMapping,org.hibernate.metamodel.mapping.Bindable,org.hibernate.metamodel.mapping.JdbcMappingContainer,org.hibernate.metamodel.mapping.MappingModelExpressible,org.hibernate.metamodel.mapping.SqlExpressible,org.hibernate.metamodel.mapping.ValueMapping,org.hibernate.query.BindableType<Month>,org.hibernate.query.sqm.SqmExpressible<Month>,org.hibernate.type.descriptor.java.JavaTypedExpressible,org.hibernate.usertype.UserType<Month>
public class Iso8601MonthType
extends MutableType<Month,org.hibernate.type.descriptor.jdbc.IntegerJdbcType,Iso8601MonthMonthTypeDescriptor>
Maps a
Month object type to a INT column type
which is saved as value from 1 (January) to 12 (December),
according to the ISO 8601 standard.- Author:
- Martin Panzer
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIso8601MonthType(Configuration configuration) Iso8601MonthType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext) -
Method Summary
Methods inherited from class io.hypersistence.utils.hibernate.type.MutableType
assemble, deepCopy, disassemble, disassemble, equals, forEachDisassembledJdbcValue, forEachJdbcType, getBindableJavaType, getConfiguration, getExpressibleJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcTypeDescriptor, getMappedType, getSqlType, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKey, getJdbcMapping, getJdbcMappings, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverterMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Iso8601MonthType
public Iso8601MonthType() -
Iso8601MonthType
-
Iso8601MonthType
public Iso8601MonthType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
-
-
Method Details
-
getName
-