Class BooleanType

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

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

      Fields 
      Modifier and Type Field Description
      static Name NOT_NULL
      Name of the openGql.grammar.BooleanType.notNull field.
      java.lang.Boolean notNull  
      static Name TYPE_
      Name of the openGql.grammar.BooleanType type.
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanType​(java.lang.Boolean notNull)
      Constructs an immutable BooleanType.
    • Field Detail

      • TYPE_

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

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

        public final java.lang.Boolean notNull
    • Constructor Detail

      • BooleanType

        public BooleanType​(java.lang.Boolean notNull)
        Constructs an immutable BooleanType.
    • 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​(BooleanType other)
        Specified by:
        compareTo in interface java.lang.Comparable<BooleanType>