Package openGql.grammar
Class BindingTableType
- java.lang.Object
-
- openGql.grammar.BindingTableType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BindingTableType>
public class BindingTableType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BindingTableType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleanbindingstatic NameBINDINGName of theopenGql.grammar.BindingTableType.bindingfield.static NameFIELD_TYPESName of theopenGql.grammar.BindingTableType.fieldTypesfield.Optional<java.util.List<FieldType>>fieldTypesstatic NameTYPE_Name of theopenGql.grammar.BindingTableTypetype.
-
Constructor Summary
Constructors Constructor Description BindingTableType(java.lang.Boolean binding, Optional<java.util.List<FieldType>> fieldTypes)Constructs an immutableBindingTableType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(BindingTableType other)booleanequals(java.lang.Object other)inthashCode()BindingTableTypewithBinding(java.lang.Boolean binding)Returns a copy of thisBindingTableTypewithbindingreplaced.BindingTableTypewithFieldTypes(Optional<java.util.List<FieldType>> fieldTypes)Returns a copy of thisBindingTableTypewithfieldTypesreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.BindingTableTypetype.
-
BINDING
public static final Name BINDING
Name of theopenGql.grammar.BindingTableType.bindingfield.
-
FIELD_TYPES
public static final Name FIELD_TYPES
Name of theopenGql.grammar.BindingTableType.fieldTypesfield.
-
binding
public final java.lang.Boolean binding
-
-
Constructor Detail
-
BindingTableType
public BindingTableType(java.lang.Boolean binding, Optional<java.util.List<FieldType>> fieldTypes)Constructs an immutableBindingTableType.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(BindingTableType other)
- Specified by:
compareToin interfacejava.lang.Comparable<BindingTableType>
-
withBinding
public BindingTableType withBinding(java.lang.Boolean binding)
Returns a copy of thisBindingTableTypewithbindingreplaced.
-
withFieldTypes
public BindingTableType withFieldTypes(Optional<java.util.List<FieldType>> fieldTypes)
Returns a copy of thisBindingTableTypewithfieldTypesreplaced.
-
-