Class Iso8601MonthMonthTypeDescriptor

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.type.descriptor.java.BasicJavaDescriptor<java.time.Month>, org.hibernate.type.descriptor.java.JavaTypeDescriptor<java.time.Month>

    public class Iso8601MonthMonthTypeDescriptor
    extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<java.time.Month>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean areEqual​(java.time.Month one, java.time.Month another)  
      java.time.Month fromString​(java.lang.String string)  
      java.lang.String toString​(java.time.Month value)  
      <X> X unwrap​(java.time.Month value, java.lang.Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)  
      <X> java.time.Month wrap​(X value, org.hibernate.type.descriptor.WrapperOptions options)  
      • Methods inherited from class org.hibernate.type.descriptor.java.AbstractTypeDescriptor

        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.BasicJavaDescriptor

        getJdbcRecommendedSqlType
    • Constructor Detail

      • Iso8601MonthMonthTypeDescriptor

        public Iso8601MonthMonthTypeDescriptor()
    • Method Detail

      • areEqual

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

        public java.lang.String toString​(java.time.Month value)
      • fromString

        public java.time.Month fromString​(java.lang.String string)
      • unwrap

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

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