Package openGql.grammar
Class CompositeQueryExpressionConjunction
- java.lang.Object
-
- openGql.grammar.CompositeQueryExpressionConjunction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CompositeQueryExpressionConjunction>
public class CompositeQueryExpressionConjunction extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CompositeQueryExpressionConjunction>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description QueryConjunctionconjunctionstatic NameCONJUNCTIONName of theopenGql.grammar.CompositeQueryExpressionConjunction.conjunctionfield.CompositeQueryExpressionleftstatic NameLEFTName of theopenGql.grammar.CompositeQueryExpressionConjunction.leftfield.LinearQueryStatementrightstatic NameRIGHTName of theopenGql.grammar.CompositeQueryExpressionConjunction.rightfield.static NameTYPE_Name of theopenGql.grammar.CompositeQueryExpressionConjunctiontype.
-
Constructor Summary
Constructors Constructor Description CompositeQueryExpressionConjunction(CompositeQueryExpression left, QueryConjunction conjunction, LinearQueryStatement right)Constructs an immutableCompositeQueryExpressionConjunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CompositeQueryExpressionConjunction other)booleanequals(java.lang.Object other)inthashCode()CompositeQueryExpressionConjunctionwithConjunction(QueryConjunction conjunction)Returns a copy of thisCompositeQueryExpressionConjunctionwithconjunctionreplaced.CompositeQueryExpressionConjunctionwithLeft(CompositeQueryExpression left)Returns a copy of thisCompositeQueryExpressionConjunctionwithleftreplaced.CompositeQueryExpressionConjunctionwithRight(LinearQueryStatement right)Returns a copy of thisCompositeQueryExpressionConjunctionwithrightreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.CompositeQueryExpressionConjunctiontype.
-
LEFT
public static final Name LEFT
Name of theopenGql.grammar.CompositeQueryExpressionConjunction.leftfield.
-
CONJUNCTION
public static final Name CONJUNCTION
Name of theopenGql.grammar.CompositeQueryExpressionConjunction.conjunctionfield.
-
RIGHT
public static final Name RIGHT
Name of theopenGql.grammar.CompositeQueryExpressionConjunction.rightfield.
-
left
public final CompositeQueryExpression left
-
conjunction
public final QueryConjunction conjunction
-
right
public final LinearQueryStatement right
-
-
Constructor Detail
-
CompositeQueryExpressionConjunction
public CompositeQueryExpressionConjunction(CompositeQueryExpression left, QueryConjunction conjunction, LinearQueryStatement right)
Constructs an immutableCompositeQueryExpressionConjunction.
-
-
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(CompositeQueryExpressionConjunction other)
- Specified by:
compareToin interfacejava.lang.Comparable<CompositeQueryExpressionConjunction>
-
withLeft
public CompositeQueryExpressionConjunction withLeft(CompositeQueryExpression left)
Returns a copy of thisCompositeQueryExpressionConjunctionwithleftreplaced.
-
withConjunction
public CompositeQueryExpressionConjunction withConjunction(QueryConjunction conjunction)
Returns a copy of thisCompositeQueryExpressionConjunctionwithconjunctionreplaced.
-
withRight
public CompositeQueryExpressionConjunction withRight(LinearQueryStatement right)
Returns a copy of thisCompositeQueryExpressionConjunctionwithrightreplaced.
-
-