Class NotExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.NotExpression
-
- All Implemented Interfaces:
Expression
public class NotExpression extends Object implements Expression
Constructs anExpressioncorresponding to the logical "not" of anotherExpression.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
-
Field Summary
Fields Modifier and Type Field Description private Expression_expr
-
Constructor Summary
Constructors Constructor Description NotExpression(Expression expr)Creates the "not" Expression.
-
-
-
Field Detail
-
_expr
private Expression _expr
-
-
Constructor Detail
-
NotExpression
public NotExpression(Expression expr)
Creates the "not" Expression.- Parameters:
expr- the operand
-
-
Method Detail
-
build
public String build()
Description copied from interface:ExpressionBuild the expression.- Specified by:
buildin interfaceExpression- Returns:
- The XPath view of the expression.
-
-