Class MultilingualStringExpression
java.lang.Object
org.ametys.plugins.repository.query.expression.MultilingualStringExpression
- All Implemented Interfaces:
Expression
Constructs an
Expression
corresponding to the String comparison with a metadata of type MULTILANGUAL.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.LogicalOperator, Expression.Operator
-
Constructor Summary
ConstructorDescriptionMultilingualStringExpression
(String metadata, Expression.Operator operator, String value, String lang) Creates the comparison Expression.MultilingualStringExpression
(String metadata, Expression.Operator operator, String value, String lang, ExpressionContext context) Creates the comparison Expression. -
Method Summary
-
Constructor Details
-
MultilingualStringExpression
public MultilingualStringExpression(String metadata, Expression.Operator operator, String value, String lang) Creates the comparison Expression.- Parameters:
metadata
- the metadata nameoperator
- the operator to make the comparisonvalue
- the String valuelang
- the language code
-
MultilingualStringExpression
public MultilingualStringExpression(String metadata, Expression.Operator operator, String value, String lang, ExpressionContext context) Creates the comparison Expression.- Parameters:
metadata
- the metadata nameoperator
- the operator to make the comparisonvalue
- the String valuelang
- the language codecontext
- 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.
-