Class AndExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.AndExpression
-
- All Implemented Interfaces:
Expression
public class AndExpression extends Object implements Expression
Constructs anExpression
corresponding to the logical "and" between two othersExpression
.
-
-
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[]
_exprs
-
Constructor Summary
Constructors Constructor Description AndExpression(Expression... exprs)
Creates the "and" Expression.
-
-
-
Field Detail
-
_exprs
private Expression[] _exprs
-
-
Constructor Detail
-
AndExpression
public AndExpression(Expression... exprs)
Creates the "and" Expression.- Parameters:
exprs
- the operands
-
-
Method Detail
-
build
public String build()
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-
-