Class DateType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DateType>

    public class DateType
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<DateType>
    A GQL date type
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.DateType type.
      • NOT_NULL

        public static final Name NOT_NULL
        Name of the openGql.grammar.DateType.notNull field.
      • notNull

        public final java.lang.Boolean notNull
    • Constructor Detail

      • DateType

        public DateType​(java.lang.Boolean notNull)
        Constructs an immutable DateType.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(DateType other)
        Specified by:
        compareTo in interface java.lang.Comparable<DateType>