Package openGql.grammar
Class FocusedLinearQueryAndPrimitiveResultStatementPart
- java.lang.Object
-
- openGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FocusedLinearQueryAndPrimitiveResultStatementPart>
public class FocusedLinearQueryAndPrimitiveResultStatementPart extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<FocusedLinearQueryAndPrimitiveResultStatementPart>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NamePRIMITIVE_RESULTName of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.primitiveResultfield.PrimitiveResultStatementprimitiveResultjava.util.List<SimpleQueryStatement>simplestatic NameSIMPLEName of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.simplefield.static NameTYPE_Name of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementParttype.static NameUSE_GRAPHName of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.useGraphfield.GraphExpressionuseGraph
-
Constructor Summary
Constructors Constructor Description FocusedLinearQueryAndPrimitiveResultStatementPart(GraphExpression useGraph, java.util.List<SimpleQueryStatement> simple, PrimitiveResultStatement primitiveResult)Constructs an immutableFocusedLinearQueryAndPrimitiveResultStatementPart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FocusedLinearQueryAndPrimitiveResultStatementPart other)booleanequals(java.lang.Object other)inthashCode()FocusedLinearQueryAndPrimitiveResultStatementPartwithPrimitiveResult(PrimitiveResultStatement primitiveResult)Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithprimitiveResultreplaced.FocusedLinearQueryAndPrimitiveResultStatementPartwithSimple(java.util.List<SimpleQueryStatement> simple)Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithsimplereplaced.FocusedLinearQueryAndPrimitiveResultStatementPartwithUseGraph(GraphExpression useGraph)Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithuseGraphreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementParttype.
-
USE_GRAPH
public static final Name USE_GRAPH
Name of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.useGraphfield.
-
SIMPLE
public static final Name SIMPLE
Name of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.simplefield.
-
PRIMITIVE_RESULT
public static final Name PRIMITIVE_RESULT
Name of theopenGql.grammar.FocusedLinearQueryAndPrimitiveResultStatementPart.primitiveResultfield.
-
useGraph
public final GraphExpression useGraph
-
simple
public final java.util.List<SimpleQueryStatement> simple
-
primitiveResult
public final PrimitiveResultStatement primitiveResult
-
-
Constructor Detail
-
FocusedLinearQueryAndPrimitiveResultStatementPart
public FocusedLinearQueryAndPrimitiveResultStatementPart(GraphExpression useGraph, java.util.List<SimpleQueryStatement> simple, PrimitiveResultStatement primitiveResult)
Constructs an immutableFocusedLinearQueryAndPrimitiveResultStatementPart.
-
-
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(FocusedLinearQueryAndPrimitiveResultStatementPart other)
- Specified by:
compareToin interfacejava.lang.Comparable<FocusedLinearQueryAndPrimitiveResultStatementPart>
-
withUseGraph
public FocusedLinearQueryAndPrimitiveResultStatementPart withUseGraph(GraphExpression useGraph)
Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithuseGraphreplaced.
-
withSimple
public FocusedLinearQueryAndPrimitiveResultStatementPart withSimple(java.util.List<SimpleQueryStatement> simple)
Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithsimplereplaced.
-
withPrimitiveResult
public FocusedLinearQueryAndPrimitiveResultStatementPart withPrimitiveResult(PrimitiveResultStatement primitiveResult)
Returns a copy of thisFocusedLinearQueryAndPrimitiveResultStatementPartwithprimitiveResultreplaced.
-
-