Class Iso8601MonthTypeDescriptor

java.lang.Object
org.hibernate.type.descriptor.java.AbstractClassJavaType<Month>
io.hypersistence.utils.hibernate.type.basic.internal.Iso8601MonthTypeDescriptor
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.java.BasicJavaType<Month>, org.hibernate.type.descriptor.java.JavaType<Month>

public class Iso8601MonthTypeDescriptor extends org.hibernate.type.descriptor.java.AbstractClassJavaType<Month>
Author:
Martin Panzer
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType

    org.hibernate.type.descriptor.java.JavaType.CoercionContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    areEqual(Month one, Month another)
     
    toString(Month value)
     
    <X> X
    unwrap(Month value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
     
    <X> Month
    wrap(X value, org.hibernate.type.descriptor.WrapperOptions options)
     

    Methods inherited from class org.hibernate.type.descriptor.java.AbstractClassJavaType

    extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.type.descriptor.java.BasicJavaType

    fromString, getRecommendedJdbcType

    Methods inherited from interface org.hibernate.type.descriptor.java.JavaType

    appendEncodedString, coerce, createJavaType, createJavaType, fromEncodedString, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, getTypeName, isInstance, isTemporalType, isWider, useObjectEqualsHashCode
  • Field Details

  • Constructor Details

    • Iso8601MonthTypeDescriptor

      public Iso8601MonthTypeDescriptor()
  • Method Details

    • areEqual

      public boolean areEqual(Month one, Month another)
      Specified by:
      areEqual in interface org.hibernate.type.descriptor.java.JavaType<Month>
      Overrides:
      areEqual in class org.hibernate.type.descriptor.java.AbstractClassJavaType<Month>
    • toString

      public String toString(Month value)
    • unwrap

      public <X> X unwrap(Month value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
    • wrap

      public <X> Month wrap(X value, org.hibernate.type.descriptor.WrapperOptions options)