Package openGql.grammar
Class RemoveLabelItem
- java.lang.Object
-
- openGql.grammar.RemoveLabelItem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RemoveLabelItem>
public class RemoveLabelItem extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<RemoveLabelItem>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIS_OR_COLONName of theopenGql.grammar.RemoveLabelItem.isOrColonfield.IsOrColonisOrColonjava.lang.Stringlabelstatic NameLABELName of theopenGql.grammar.RemoveLabelItem.labelfield.static NameTYPE_Name of theopenGql.grammar.RemoveLabelItemtype.java.lang.Stringvariablestatic NameVARIABLEName of theopenGql.grammar.RemoveLabelItem.variablefield.
-
Constructor Summary
Constructors Constructor Description RemoveLabelItem(java.lang.String variable, IsOrColon isOrColon, java.lang.String label)Constructs an immutableRemoveLabelItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(RemoveLabelItem other)booleanequals(java.lang.Object other)inthashCode()RemoveLabelItemwithIsOrColon(IsOrColon isOrColon)Returns a copy of thisRemoveLabelItemwithisOrColonreplaced.RemoveLabelItemwithLabel(java.lang.String label)Returns a copy of thisRemoveLabelItemwithlabelreplaced.RemoveLabelItemwithVariable(java.lang.String variable)Returns a copy of thisRemoveLabelItemwithvariablereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.RemoveLabelItemtype.
-
VARIABLE
public static final Name VARIABLE
Name of theopenGql.grammar.RemoveLabelItem.variablefield.
-
IS_OR_COLON
public static final Name IS_OR_COLON
Name of theopenGql.grammar.RemoveLabelItem.isOrColonfield.
-
LABEL
public static final Name LABEL
Name of theopenGql.grammar.RemoveLabelItem.labelfield.
-
variable
public final java.lang.String variable
-
isOrColon
public final IsOrColon isOrColon
-
label
public final java.lang.String label
-
-
Constructor Detail
-
RemoveLabelItem
public RemoveLabelItem(java.lang.String variable, IsOrColon isOrColon, java.lang.String label)Constructs an immutableRemoveLabelItem.
-
-
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(RemoveLabelItem other)
- Specified by:
compareToin interfacejava.lang.Comparable<RemoveLabelItem>
-
withVariable
public RemoveLabelItem withVariable(java.lang.String variable)
Returns a copy of thisRemoveLabelItemwithvariablereplaced.
-
withIsOrColon
public RemoveLabelItem withIsOrColon(IsOrColon isOrColon)
Returns a copy of thisRemoveLabelItemwithisOrColonreplaced.
-
withLabel
public RemoveLabelItem withLabel(java.lang.String label)
Returns a copy of thisRemoveLabelItemwithlabelreplaced.
-
-