Package openGql.grammar
Class FocusedLinearQueryStatementPart
- java.lang.Object
-
- openGql.grammar.FocusedLinearQueryStatementPart
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FocusedLinearQueryStatementPart>
public class FocusedLinearQueryStatementPart extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<FocusedLinearQueryStatementPart>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<SimpleQueryStatement>simplestatic NameSIMPLEName of theopenGql.grammar.FocusedLinearQueryStatementPart.simplefield.static NameTYPE_Name of theopenGql.grammar.FocusedLinearQueryStatementParttype.static NameUSE_GRAPHName of theopenGql.grammar.FocusedLinearQueryStatementPart.useGraphfield.GraphExpressionuseGraph
-
Constructor Summary
Constructors Constructor Description FocusedLinearQueryStatementPart(GraphExpression useGraph, java.util.List<SimpleQueryStatement> simple)Constructs an immutableFocusedLinearQueryStatementPart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FocusedLinearQueryStatementPart other)booleanequals(java.lang.Object other)inthashCode()FocusedLinearQueryStatementPartwithSimple(java.util.List<SimpleQueryStatement> simple)Returns a copy of thisFocusedLinearQueryStatementPartwithsimplereplaced.FocusedLinearQueryStatementPartwithUseGraph(GraphExpression useGraph)Returns a copy of thisFocusedLinearQueryStatementPartwithuseGraphreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.FocusedLinearQueryStatementParttype.
-
USE_GRAPH
public static final Name USE_GRAPH
Name of theopenGql.grammar.FocusedLinearQueryStatementPart.useGraphfield.
-
SIMPLE
public static final Name SIMPLE
Name of theopenGql.grammar.FocusedLinearQueryStatementPart.simplefield.
-
useGraph
public final GraphExpression useGraph
-
simple
public final java.util.List<SimpleQueryStatement> simple
-
-
Constructor Detail
-
FocusedLinearQueryStatementPart
public FocusedLinearQueryStatementPart(GraphExpression useGraph, java.util.List<SimpleQueryStatement> simple)
Constructs an immutableFocusedLinearQueryStatementPart.
-
-
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(FocusedLinearQueryStatementPart other)
- Specified by:
compareToin interfacejava.lang.Comparable<FocusedLinearQueryStatementPart>
-
withUseGraph
public FocusedLinearQueryStatementPart withUseGraph(GraphExpression useGraph)
Returns a copy of thisFocusedLinearQueryStatementPartwithuseGraphreplaced.
-
withSimple
public FocusedLinearQueryStatementPart withSimple(java.util.List<SimpleQueryStatement> simple)
Returns a copy of thisFocusedLinearQueryStatementPartwithsimplereplaced.
-
-