Package openGql.grammar
Class SetAllPropertiesItem
- java.lang.Object
-
- openGql.grammar.SetAllPropertiesItem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SetAllPropertiesItem>
public class SetAllPropertiesItem extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SetAllPropertiesItem>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<java.util.List<PropertyKeyValuePair>>propertiesstatic NamePROPERTIESName of theopenGql.grammar.SetAllPropertiesItem.propertiesfield.static NameTYPE_Name of theopenGql.grammar.SetAllPropertiesItemtype.java.lang.Stringvariablestatic NameVARIABLEName of theopenGql.grammar.SetAllPropertiesItem.variablefield.
-
Constructor Summary
Constructors Constructor Description SetAllPropertiesItem(java.lang.String variable, Optional<java.util.List<PropertyKeyValuePair>> properties)Constructs an immutableSetAllPropertiesItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SetAllPropertiesItem other)booleanequals(java.lang.Object other)inthashCode()SetAllPropertiesItemwithProperties(Optional<java.util.List<PropertyKeyValuePair>> properties)Returns a copy of thisSetAllPropertiesItemwithpropertiesreplaced.SetAllPropertiesItemwithVariable(java.lang.String variable)Returns a copy of thisSetAllPropertiesItemwithvariablereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.SetAllPropertiesItemtype.
-
VARIABLE
public static final Name VARIABLE
Name of theopenGql.grammar.SetAllPropertiesItem.variablefield.
-
PROPERTIES
public static final Name PROPERTIES
Name of theopenGql.grammar.SetAllPropertiesItem.propertiesfield.
-
variable
public final java.lang.String variable
-
properties
public final Optional<java.util.List<PropertyKeyValuePair>> properties
-
-
Constructor Detail
-
SetAllPropertiesItem
public SetAllPropertiesItem(java.lang.String variable, Optional<java.util.List<PropertyKeyValuePair>> properties)Constructs an immutableSetAllPropertiesItem.
-
-
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(SetAllPropertiesItem other)
- Specified by:
compareToin interfacejava.lang.Comparable<SetAllPropertiesItem>
-
withVariable
public SetAllPropertiesItem withVariable(java.lang.String variable)
Returns a copy of thisSetAllPropertiesItemwithvariablereplaced.
-
withProperties
public SetAllPropertiesItem withProperties(Optional<java.util.List<PropertyKeyValuePair>> properties)
Returns a copy of thisSetAllPropertiesItemwithpropertiesreplaced.
-
-