Package openGql.grammar
Class NormalizedPredicateExpr
- java.lang.Object
-
- openGql.grammar.NormalizedPredicateExpr
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NormalizedPredicateExpr>
public class NormalizedPredicateExpr extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NormalizedPredicateExpr>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameNORMALIZED_PREDICATEName of theopenGql.grammar.NormalizedPredicateExpr.normalizedPredicatefield.NormalizedPredicatePart2normalizedPredicatestatic NameTYPE_Name of theopenGql.grammar.NormalizedPredicateExprtype.static NameVALUE_EXPRESSIONName of theopenGql.grammar.NormalizedPredicateExpr.valueExpressionfield.ValueExpressionvalueExpression
-
Constructor Summary
Constructors Constructor Description NormalizedPredicateExpr(ValueExpression valueExpression, NormalizedPredicatePart2 normalizedPredicate)Constructs an immutableNormalizedPredicateExpr.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NormalizedPredicateExpr other)booleanequals(java.lang.Object other)inthashCode()NormalizedPredicateExprwithNormalizedPredicate(NormalizedPredicatePart2 normalizedPredicate)Returns a copy of thisNormalizedPredicateExprwithnormalizedPredicatereplaced.NormalizedPredicateExprwithValueExpression(ValueExpression valueExpression)Returns a copy of thisNormalizedPredicateExprwithvalueExpressionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NormalizedPredicateExprtype.
-
VALUE_EXPRESSION
public static final Name VALUE_EXPRESSION
Name of theopenGql.grammar.NormalizedPredicateExpr.valueExpressionfield.
-
NORMALIZED_PREDICATE
public static final Name NORMALIZED_PREDICATE
Name of theopenGql.grammar.NormalizedPredicateExpr.normalizedPredicatefield.
-
valueExpression
public final ValueExpression valueExpression
-
normalizedPredicate
public final NormalizedPredicatePart2 normalizedPredicate
-
-
Constructor Detail
-
NormalizedPredicateExpr
public NormalizedPredicateExpr(ValueExpression valueExpression, NormalizedPredicatePart2 normalizedPredicate)
Constructs an immutableNormalizedPredicateExpr.
-
-
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(NormalizedPredicateExpr other)
- Specified by:
compareToin interfacejava.lang.Comparable<NormalizedPredicateExpr>
-
withValueExpression
public NormalizedPredicateExpr withValueExpression(ValueExpression valueExpression)
Returns a copy of thisNormalizedPredicateExprwithvalueExpressionreplaced.
-
withNormalizedPredicate
public NormalizedPredicateExpr withNormalizedPredicate(NormalizedPredicatePart2 normalizedPredicate)
Returns a copy of thisNormalizedPredicateExprwithnormalizedPredicatereplaced.
-
-