Package openGql.grammar
Class IsOrColonWithLabels
- java.lang.Object
-
- openGql.grammar.IsOrColonWithLabels
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IsOrColonWithLabels>
public class IsOrColonWithLabels extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<IsOrColonWithLabels>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIS_OR_COLONName of theopenGql.grammar.IsOrColonWithLabels.isOrColonfield.IsOrColonisOrColonjava.util.List<java.lang.String>labelsstatic NameLABELSName of theopenGql.grammar.IsOrColonWithLabels.labelsfield.static NameTYPE_Name of theopenGql.grammar.IsOrColonWithLabelstype.
-
Constructor Summary
Constructors Constructor Description IsOrColonWithLabels(IsOrColon isOrColon, java.util.List<java.lang.String> labels)Constructs an immutableIsOrColonWithLabels.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IsOrColonWithLabels other)booleanequals(java.lang.Object other)inthashCode()IsOrColonWithLabelswithIsOrColon(IsOrColon isOrColon)Returns a copy of thisIsOrColonWithLabelswithisOrColonreplaced.IsOrColonWithLabelswithLabels(java.util.List<java.lang.String> labels)Returns a copy of thisIsOrColonWithLabelswithlabelsreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.IsOrColonWithLabelstype.
-
IS_OR_COLON
public static final Name IS_OR_COLON
Name of theopenGql.grammar.IsOrColonWithLabels.isOrColonfield.
-
LABELS
public static final Name LABELS
Name of theopenGql.grammar.IsOrColonWithLabels.labelsfield.
-
isOrColon
public final IsOrColon isOrColon
-
labels
public final java.util.List<java.lang.String> labels
-
-
Constructor Detail
-
IsOrColonWithLabels
public IsOrColonWithLabels(IsOrColon isOrColon, java.util.List<java.lang.String> labels)
Constructs an immutableIsOrColonWithLabels.
-
-
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(IsOrColonWithLabels other)
- Specified by:
compareToin interfacejava.lang.Comparable<IsOrColonWithLabels>
-
withIsOrColon
public IsOrColonWithLabels withIsOrColon(IsOrColon isOrColon)
Returns a copy of thisIsOrColonWithLabelswithisOrColonreplaced.
-
withLabels
public IsOrColonWithLabels withLabels(java.util.List<java.lang.String> labels)
Returns a copy of thisIsOrColonWithLabelswithlabelsreplaced.
-
-