Class YearMonthEpochTypeDescriptor

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

public class YearMonthEpochTypeDescriptor extends org.hibernate.type.descriptor.java.AbstractClassJavaType<YearMonth>
Author:
Vlad Mihalcea
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
     
    static final LocalDate
     
    static final YearMonth
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    areEqual(YearMonth one, YearMonth another)
     
     
    <X> X
    unwrap(YearMonth value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
     
    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

    coerce, createJavaType, createJavaType, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, isInstance, isWider
  • Field Details

  • Constructor Details

    • YearMonthEpochTypeDescriptor

      public YearMonthEpochTypeDescriptor()
  • Method Details

    • areEqual

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

      public String toString(YearMonth value)
    • unwrap

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

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