Class YearMonthTypeDescriptor

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

public class YearMonthTypeDescriptor 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
     
  • 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

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

  • Constructor Details

    • YearMonthTypeDescriptor

      public YearMonthTypeDescriptor()
  • 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)