Package openGql.grammar
Class GraphAndNestedQuerySpecification
- java.lang.Object
-
- openGql.grammar.GraphAndNestedQuerySpecification
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GraphAndNestedQuerySpecification>
public class GraphAndNestedQuerySpecification extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GraphAndNestedQuerySpecification>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameGRAPH_EXPRESSIONName of theopenGql.grammar.GraphAndNestedQuerySpecification.graphExpressionfield.GraphExpressiongraphExpressionProcedureBodynestedstatic NameNESTEDName of theopenGql.grammar.GraphAndNestedQuerySpecification.nestedfield.static NameTYPE_Name of theopenGql.grammar.GraphAndNestedQuerySpecificationtype.
-
Constructor Summary
Constructors Constructor Description GraphAndNestedQuerySpecification(GraphExpression graphExpression, ProcedureBody nested)Constructs an immutableGraphAndNestedQuerySpecification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GraphAndNestedQuerySpecification other)booleanequals(java.lang.Object other)inthashCode()GraphAndNestedQuerySpecificationwithGraphExpression(GraphExpression graphExpression)Returns a copy of thisGraphAndNestedQuerySpecificationwithgraphExpressionreplaced.GraphAndNestedQuerySpecificationwithNested(ProcedureBody nested)Returns a copy of thisGraphAndNestedQuerySpecificationwithnestedreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GraphAndNestedQuerySpecificationtype.
-
GRAPH_EXPRESSION
public static final Name GRAPH_EXPRESSION
Name of theopenGql.grammar.GraphAndNestedQuerySpecification.graphExpressionfield.
-
NESTED
public static final Name NESTED
Name of theopenGql.grammar.GraphAndNestedQuerySpecification.nestedfield.
-
graphExpression
public final GraphExpression graphExpression
-
nested
public final ProcedureBody nested
-
-
Constructor Detail
-
GraphAndNestedQuerySpecification
public GraphAndNestedQuerySpecification(GraphExpression graphExpression, ProcedureBody nested)
Constructs an immutableGraphAndNestedQuerySpecification.
-
-
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(GraphAndNestedQuerySpecification other)
- Specified by:
compareToin interfacejava.lang.Comparable<GraphAndNestedQuerySpecification>
-
withGraphExpression
public GraphAndNestedQuerySpecification withGraphExpression(GraphExpression graphExpression)
Returns a copy of thisGraphAndNestedQuerySpecificationwithgraphExpressionreplaced.
-
withNested
public GraphAndNestedQuerySpecification withNested(ProcedureBody nested)
Returns a copy of thisGraphAndNestedQuerySpecificationwithnestedreplaced.
-
-