Class MonthDayDateType
java.lang.Object
io.hypersistence.utils.hibernate.type.ImmutableType<T>
io.hypersistence.utils.hibernate.type.DescriptorImmutableType<MonthDay,org.hibernate.type.descriptor.jdbc.DateJdbcType,MonthDayTypeDescriptor>
io.hypersistence.utils.hibernate.type.basic.MonthDayDateType
- All Implemented Interfaces:
Serializable,org.hibernate.metamodel.model.domain.DomainType<MonthDay>,org.hibernate.query.BindableType<MonthDay>,org.hibernate.query.sqm.SqmExpressible<MonthDay>,org.hibernate.type.Type,org.hibernate.usertype.EnhancedUserType<MonthDay>,org.hibernate.usertype.UserType<MonthDay>
public class MonthDayDateType
extends DescriptorImmutableType<MonthDay,org.hibernate.type.descriptor.jdbc.DateJdbcType,MonthDayTypeDescriptor>
Maps a Java
MonthDay object to a DATE column type.- Author:
- Mladen Savic (mladensavic94@gmail.com)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMonthDayDateType(Configuration configuration) MonthDayDateType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext) -
Method Summary
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, compare, deepCopy, deepCopy, disassemble, disassemble, equals, getColumnSpan, getConfiguration, getHashCode, getHashCode, 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, getReturnedClassNameMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MonthDayDateType
public MonthDayDateType() -
MonthDayDateType
-
MonthDayDateType
public MonthDayDateType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.hibernate.type.Type- Overrides:
getNamein classImmutableType<MonthDay>
-
fromStringValue
- Throws:
org.hibernate.HibernateException
-