Class UserExpression.UserPopulationExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.UserExpression.UserPopulationExpression
-
- All Implemented Interfaces:
Expression
- Enclosing class:
- UserExpression
class UserExpression.UserPopulationExpression extends Object implements Expression
Internal class to create a expression based on a user's population comparison
-
-
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 String
_upeMetadata
private Expression.Operator
_upeOperator
private String
_upePath
private boolean
_upeUnversioned
private String
_upeValue
-
Constructor Summary
Constructors Constructor Description UserPopulationExpression(String metadata, Expression.Operator operator, String value, boolean unversioned)
Construction an expression to test a user population
-
-
-
Field Detail
-
_upeOperator
private Expression.Operator _upeOperator
-
_upeMetadata
private String _upeMetadata
-
_upeUnversioned
private boolean _upeUnversioned
-
-
Constructor Detail
-
UserPopulationExpression
public UserPopulationExpression(String metadata, Expression.Operator operator, String value, boolean unversioned)
Construction an expression to test a user population- Parameters:
metadata
- The path to metadataoperator
- The operatorvalue
- The population's idunversioned
- unversioned true if the metadata is unversioned, false otherwise.
-
-
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.
-
-