Class MultilingualStringExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.MultilingualStringExpression
-
- All Implemented Interfaces:
Expression
public class MultilingualStringExpression extends Object implements Expression
Constructs anExpression
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.Operator
-
-
Constructor Summary
Constructors Constructor Description MultilingualStringExpression(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.
-
-
-
Constructor Detail
-
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 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.
-
-