public class MetadataExpression extends Object implements Expression
Expression
testing the existence of a metadata.Expression.Operator
Modifier and Type | Field and Description |
---|---|
private String |
_metadata |
private String |
_path |
private boolean |
_unversioned |
Constructor and Description |
---|
MetadataExpression(String metadata)
Creates the comparison Expression.
|
MetadataExpression(String metadata,
boolean unversioned)
Creates the comparison Expression.
|
private boolean _unversioned
public MetadataExpression(String metadata)
metadata
- the metadata namepublic MetadataExpression(String metadata, boolean unversioned)
metadata
- the metadata nameunversioned
- true if the metadata is unversioned, false otherwise.public String build()
Expression
build
in interface Expression