public class UserExpression extends Object implements Expression
Expression corresponding to a user comparison store as a composite with login and id of population.| Modifier and Type | Class and Description |
|---|---|
(package private) class |
UserExpression.UserLoginExpression
Internal class to create a expression based on a user's login comparison
|
(package private) class |
UserExpression.UserPopulationExpression
Internal class to create a expression based on a user's population comparison
|
Expression.Operator| Modifier and Type | Field and Description |
|---|---|
private String |
_metadata |
private Expression.Operator |
_operator |
private boolean |
_unversioned |
private UserIdentity |
_user |
| Constructor and Description |
|---|
UserExpression(String metadata,
Expression.Operator operator,
String value)
Creates the comparison Expression.
|
UserExpression(String metadata,
Expression.Operator operator,
String value,
boolean unversioned)
Creates the comparison Expression.
|
UserExpression(String metadata,
Expression.Operator operator,
UserIdentity userIdentity)
Creates the comparison Expression.
|
UserExpression(String metadata,
Expression.Operator operator,
UserIdentity userIdentity,
boolean unversioned)
Creates the comparison Expression.
|
private UserIdentity _user
private Expression.Operator _operator
private boolean _unversioned
public UserExpression(String metadata, Expression.Operator operator, String value)
metadata - the metadata pathoperator - the operator to make the comparisonvalue - the user identity as login#population.public UserExpression(String metadata, Expression.Operator operator, String value, boolean unversioned)
metadata - the metadata pathoperator - the operator to make the comparisonvalue - the user identity as login#population.unversioned - true if the metadata is unversioned, false otherwise.public UserExpression(String metadata, Expression.Operator operator, UserIdentity userIdentity)
metadata - the metadata pathoperator - the operator to make the comparisonuserIdentity - the user identity (login and population)public UserExpression(String metadata, Expression.Operator operator, UserIdentity userIdentity, boolean unversioned)
metadata - the metadata pathoperator - the operator to make the comparisonuserIdentity - the user identity (login and population)unversioned - true if the metadata is unversioned, false otherwise.public String build()
Expressionbuild in interface Expression