Package openGql.grammar
Class IsNotExpr
- java.lang.Object
-
- openGql.grammar.IsNotExpr
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IsNotExpr>
public class IsNotExpr extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<IsNotExpr>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleannotstatic NameNOTName of theopenGql.grammar.IsNotExpr.notfield.static NameTRUTH_VALUEName of theopenGql.grammar.IsNotExpr.truthValuefield.BooleanLiteraltruthValuestatic NameTYPE_Name of theopenGql.grammar.IsNotExprtype.static NameVALUE_EXPRESSIONName of theopenGql.grammar.IsNotExpr.valueExpressionfield.ValueExpressionvalueExpression
-
Constructor Summary
Constructors Constructor Description IsNotExpr(ValueExpression valueExpression, java.lang.Boolean not, BooleanLiteral truthValue)Constructs an immutableIsNotExpr.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IsNotExpr other)booleanequals(java.lang.Object other)inthashCode()IsNotExprwithNot(java.lang.Boolean not)Returns a copy of thisIsNotExprwithnotreplaced.IsNotExprwithTruthValue(BooleanLiteral truthValue)Returns a copy of thisIsNotExprwithtruthValuereplaced.IsNotExprwithValueExpression(ValueExpression valueExpression)Returns a copy of thisIsNotExprwithvalueExpressionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.IsNotExprtype.
-
VALUE_EXPRESSION
public static final Name VALUE_EXPRESSION
Name of theopenGql.grammar.IsNotExpr.valueExpressionfield.
-
NOT
public static final Name NOT
Name of theopenGql.grammar.IsNotExpr.notfield.
-
TRUTH_VALUE
public static final Name TRUTH_VALUE
Name of theopenGql.grammar.IsNotExpr.truthValuefield.
-
valueExpression
public final ValueExpression valueExpression
-
not
public final java.lang.Boolean not
-
truthValue
public final BooleanLiteral truthValue
-
-
Constructor Detail
-
IsNotExpr
public IsNotExpr(ValueExpression valueExpression, java.lang.Boolean not, BooleanLiteral truthValue)
Constructs an immutableIsNotExpr.
-
-
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(IsNotExpr other)
- Specified by:
compareToin interfacejava.lang.Comparable<IsNotExpr>
-
withValueExpression
public IsNotExpr withValueExpression(ValueExpression valueExpression)
Returns a copy of thisIsNotExprwithvalueExpressionreplaced.
-
withNot
public IsNotExpr withNot(java.lang.Boolean not)
Returns a copy of thisIsNotExprwithnotreplaced.
-
withTruthValue
public IsNotExpr withTruthValue(BooleanLiteral truthValue)
Returns a copy of thisIsNotExprwithtruthValuereplaced.
-
-