Class BytesType

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

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

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.BytesType type.
      • MIN_LENGTH

        public static final Name MIN_LENGTH
        Name of the openGql.grammar.BytesType.minLength field.
      • MAX_LENGTH

        public static final Name MAX_LENGTH
        Name of the openGql.grammar.BytesType.maxLength field.
      • NOT_NULL

        public static final Name NOT_NULL
        Name of the openGql.grammar.BytesType.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​(BytesType other)
        Specified by:
        compareTo in interface java.lang.Comparable<BytesType>
      • withNotNull

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