Package openGql.grammar
Class PathElementListStep
- java.lang.Object
-
- openGql.grammar.PathElementListStep
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathElementListStep>
public class PathElementListStep extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PathElementListStep>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameEDGE_REFERENCEName of theopenGql.grammar.PathElementListStep.edgeReferencefield.PrimaryValueExpressionedgeReferencestatic NameNODE_REFERENCEName of theopenGql.grammar.PathElementListStep.nodeReferencefield.PrimaryValueExpressionnodeReferencestatic NameTYPE_Name of theopenGql.grammar.PathElementListSteptype.
-
Constructor Summary
Constructors Constructor Description PathElementListStep(PrimaryValueExpression edgeReference, PrimaryValueExpression nodeReference)Constructs an immutablePathElementListStep.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PathElementListStep other)booleanequals(java.lang.Object other)inthashCode()PathElementListStepwithEdgeReference(PrimaryValueExpression edgeReference)Returns a copy of thisPathElementListStepwithedgeReferencereplaced.PathElementListStepwithNodeReference(PrimaryValueExpression nodeReference)Returns a copy of thisPathElementListStepwithnodeReferencereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.PathElementListSteptype.
-
EDGE_REFERENCE
public static final Name EDGE_REFERENCE
Name of theopenGql.grammar.PathElementListStep.edgeReferencefield.
-
NODE_REFERENCE
public static final Name NODE_REFERENCE
Name of theopenGql.grammar.PathElementListStep.nodeReferencefield.
-
edgeReference
public final PrimaryValueExpression edgeReference
-
nodeReference
public final PrimaryValueExpression nodeReference
-
-
Constructor Detail
-
PathElementListStep
public PathElementListStep(PrimaryValueExpression edgeReference, PrimaryValueExpression nodeReference)
Constructs an immutablePathElementListStep.
-
-
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(PathElementListStep other)
- Specified by:
compareToin interfacejava.lang.Comparable<PathElementListStep>
-
withEdgeReference
public PathElementListStep withEdgeReference(PrimaryValueExpression edgeReference)
Returns a copy of thisPathElementListStepwithedgeReferencereplaced.
-
withNodeReference
public PathElementListStep withNodeReference(PrimaryValueExpression nodeReference)
Returns a copy of thisPathElementListStepwithnodeReferencereplaced.
-
-