public class BooleanExpression extends Object implements Expression
Expression corresponding to the boolean comparison with a metadata.Expression.Operator| Modifier and Type | Field and Description |
|---|---|
private MetadataExpression |
_metadata |
private Expression.Operator |
_operator |
private boolean |
_value |
| Constructor and Description |
|---|
BooleanExpression(String metadata,
boolean value)
Creates the comparison Expression.
|
BooleanExpression(String metadata,
boolean value,
boolean unversioned)
Creates the comparison Expression.
|
BooleanExpression(String metadata,
Expression.Operator operator,
boolean value)
Creates the comparison Expression.
|
BooleanExpression(String metadata,
Expression.Operator operator,
boolean value,
boolean unversioned)
Creates the comparison Expression.
|
private boolean _value
private MetadataExpression _metadata
private Expression.Operator _operator
public BooleanExpression(String metadata, boolean value)
metadata - the metadata namevalue - the boolean valuepublic BooleanExpression(String metadata, Expression.Operator operator, boolean value)
metadata - the metadata nameoperator - the operator to make the comparisonvalue - the boolean valuepublic BooleanExpression(String metadata, boolean value, boolean unversioned)
metadata - the metadata namevalue - the boolean valueunversioned - true if the metadata is unversioned, false otherwise.public BooleanExpression(String metadata, Expression.Operator operator, boolean value, boolean unversioned)
metadata - the metadata nameoperator - the operator to make the comparisonvalue - the boolean valueunversioned - true if the metadata is unversioned, false otherwise.public String build()
Expressionbuild in interface Expression