Class LongExpression
java.lang.Object
org.ametys.plugins.repository.query.expression.LongExpression
- All Implemented Interfaces:
Expression
Constructs an
Expression
corresponding to the long comparison with a metadata.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
Constructor Summary
ConstructorDescriptionLongExpression
(String metadata, Expression.Operator operator, long value) Creates the comparison Expression.LongExpression
(String metadata, Expression.Operator operator, long value, ExpressionContext context) Creates the comparison Expression. -
Method Summary
-
Constructor Details
-
LongExpression
Creates the comparison Expression.- Parameters:
metadata
- the metadata nameoperator
- the operator to make the comparisonvalue
- the long value
-
LongExpression
public LongExpression(String metadata, Expression.Operator operator, long value, ExpressionContext context) Creates the comparison Expression.- Parameters:
metadata
- the metadata nameoperator
- the operator to make the comparisonvalue
- the long valuecontext
- the expression context
-
-
Method Details
-
build
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-