Package openGql.grammar
Class InsertElementPatternFiller
- java.lang.Object
-
- openGql.grammar.InsertElementPatternFiller
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InsertElementPatternFiller>
public class InsertElementPatternFiller extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<InsertElementPatternFiller>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameLABEL_AND_PROPERTIESName of theopenGql.grammar.InsertElementPatternFiller.labelAndPropertiesfield.Optional<LabelAndPropertySetSpecification>labelAndPropertiesstatic NameTYPE_Name of theopenGql.grammar.InsertElementPatternFillertype.static NameVARIABLE_DECLARATIONName of theopenGql.grammar.InsertElementPatternFiller.variableDeclarationfield.Optional<ElementVariableDeclaration>variableDeclaration
-
Constructor Summary
Constructors Constructor Description InsertElementPatternFiller(Optional<ElementVariableDeclaration> variableDeclaration, Optional<LabelAndPropertySetSpecification> labelAndProperties)Constructs an immutableInsertElementPatternFiller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(InsertElementPatternFiller other)booleanequals(java.lang.Object other)inthashCode()InsertElementPatternFillerwithLabelAndProperties(Optional<LabelAndPropertySetSpecification> labelAndProperties)Returns a copy of thisInsertElementPatternFillerwithlabelAndPropertiesreplaced.InsertElementPatternFillerwithVariableDeclaration(Optional<ElementVariableDeclaration> variableDeclaration)Returns a copy of thisInsertElementPatternFillerwithvariableDeclarationreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.InsertElementPatternFillertype.
-
VARIABLE_DECLARATION
public static final Name VARIABLE_DECLARATION
Name of theopenGql.grammar.InsertElementPatternFiller.variableDeclarationfield.
-
LABEL_AND_PROPERTIES
public static final Name LABEL_AND_PROPERTIES
Name of theopenGql.grammar.InsertElementPatternFiller.labelAndPropertiesfield.
-
variableDeclaration
public final Optional<ElementVariableDeclaration> variableDeclaration
-
labelAndProperties
public final Optional<LabelAndPropertySetSpecification> labelAndProperties
-
-
Constructor Detail
-
InsertElementPatternFiller
public InsertElementPatternFiller(Optional<ElementVariableDeclaration> variableDeclaration, Optional<LabelAndPropertySetSpecification> labelAndProperties)
Constructs an immutableInsertElementPatternFiller.
-
-
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(InsertElementPatternFiller other)
- Specified by:
compareToin interfacejava.lang.Comparable<InsertElementPatternFiller>
-
withVariableDeclaration
public InsertElementPatternFiller withVariableDeclaration(Optional<ElementVariableDeclaration> variableDeclaration)
Returns a copy of thisInsertElementPatternFillerwithvariableDeclarationreplaced.
-
withLabelAndProperties
public InsertElementPatternFiller withLabelAndProperties(Optional<LabelAndPropertySetSpecification> labelAndProperties)
Returns a copy of thisInsertElementPatternFillerwithlabelAndPropertiesreplaced.
-
-