Class MetadataExpression
java.lang.Object
org.ametys.plugins.repository.query.expression.MetadataExpression
- All Implemented Interfaces:
Expression
Constructs an
Expression
testing the existence of a metadata.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
Constructor Summary
ConstructorDescriptionMetadataExpression
(String metadata) Creates the comparison Expression.MetadataExpression
(String metadata, ExpressionContext context) Creates the comparison Expression. -
Method Summary
-
Constructor Details
-
MetadataExpression
Creates the comparison Expression.- Parameters:
metadata
- the metadata name
-
MetadataExpression
Creates the comparison Expression.- Parameters:
metadata
- the metadata namecontext
- the context of the expression
-
-
Method Details
-
build
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-