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>
A GQL remove property item- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemovePropertyItem.BuilderA fluent builder forRemovePropertyItem.
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemovePropertyItem.Builderbuilder()Creates a new fluent builder forRemovePropertyItem.intcompareTo(RemovePropertyItem other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()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
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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.
-
builder
public static RemovePropertyItem.Builder builder()
Creates a new fluent builder forRemovePropertyItem.
-
-