Package openGql.grammar
Class RemovePropertyItem
- java.lang.Object
-
- openGql.grammar.RemovePropertyItem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RemovePropertyItem>
public class RemovePropertyItem extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<RemovePropertyItem>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NamePROPERTY_NAMEName of theopenGql.grammar.RemovePropertyItem.propertyNamefield.java.lang.StringpropertyNamestatic NameTYPE_Name of theopenGql.grammar.RemovePropertyItemtype.java.lang.Stringvariablestatic NameVARIABLEName of theopenGql.grammar.RemovePropertyItem.variablefield.
-
Constructor Summary
Constructors Constructor Description RemovePropertyItem(java.lang.String variable, java.lang.String propertyName)Constructs an immutableRemovePropertyItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(RemovePropertyItem other)booleanequals(java.lang.Object other)inthashCode()RemovePropertyItemwithPropertyName(java.lang.String propertyName)Returns a copy of thisRemovePropertyItemwithpropertyNamereplaced.RemovePropertyItemwithVariable(java.lang.String variable)Returns a copy of thisRemovePropertyItemwithvariablereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.RemovePropertyItemtype.
-
VARIABLE
public static final Name VARIABLE
Name of theopenGql.grammar.RemovePropertyItem.variablefield.
-
PROPERTY_NAME
public static final Name PROPERTY_NAME
Name of theopenGql.grammar.RemovePropertyItem.propertyNamefield.
-
variable
public final java.lang.String variable
-
propertyName
public final java.lang.String propertyName
-
-
Constructor Detail
-
RemovePropertyItem
public RemovePropertyItem(java.lang.String variable, java.lang.String propertyName)Constructs an immutableRemovePropertyItem.
-
-
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(RemovePropertyItem other)
- Specified by:
compareToin interfacejava.lang.Comparable<RemovePropertyItem>
-
withVariable
public RemovePropertyItem withVariable(java.lang.String variable)
Returns a copy of thisRemovePropertyItemwithvariablereplaced.
-
withPropertyName
public RemovePropertyItem withPropertyName(java.lang.String propertyName)
Returns a copy of thisRemovePropertyItemwithpropertyNamereplaced.
-
-