Class CharType

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

    public class CharType
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<CharType>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.CharType type.
      • FIXED_LENGTH

        public static final Name FIXED_LENGTH
        Name of the openGql.grammar.CharType.fixedLength field.
      • NOT_NULL

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

        public final java.lang.Boolean notNull
    • 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
      • compareTo

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

        public CharType withNotNull​(java.lang.Boolean notNull)
        Returns a copy of this CharType with notNull replaced.