Class UnaryExpressionPredicate
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.predicate.AbstractPredicate
com.blazebit.persistence.parser.predicate.UnaryExpressionPredicate
- All Implemented Interfaces:
Expression,Negatable,Predicate
- Direct Known Subclasses:
ExistsPredicate,IsEmptyPredicate,IsNullPredicate
public abstract class UnaryExpressionPredicate extends AbstractPredicate
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Field Summary
Fields Modifier and Type Field Description protected Expressionexpression -
Constructor Summary
Constructors Constructor Description UnaryExpressionPredicate(Expression expression)UnaryExpressionPredicate(Expression expression, boolean negated) -
Method Summary
Modifier and Type Method Description abstract UnaryExpressionPredicatecopy(ExpressionCopyContext copyContext)booleanequals(Object o)ExpressiongetExpression()inthashCode()voidsetExpression(Expression expression)Methods inherited from class com.blazebit.persistence.parser.predicate.AbstractPredicate
isNegated, negate, setNegatedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blazebit.persistence.parser.expression.Expression
accept, accept, toString
-
Field Details
-
Constructor Details
-
Method Details
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin interfacePredicate- Specified by:
copyin classAbstractPredicate- Returns:
-
getExpression
-
setExpression
-
equals
- Overrides:
equalsin classAbstractPredicate
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractPredicate
-