public class EqualTo extends BaseCriteria
| Constructor and Description |
|---|
EqualTo(String attributeName,
Object value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
String |
getAttributeName()
Get attribute name.
|
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance
|
AttributeType |
getType()
Get attribute type.
|
Object |
getValue()
Get attribute value.
|
and, getExtractor, not, orpublic Object getValue()
public String getAttributeName()
public AttributeType getType()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e - cache elementattributeExtractors - map of attribute extractors to attribute value namespublic Set<Attribute<?>> getAttributes()
BaseCriteriagetAttributes in class BaseCriteriaCopyright 2001-2021, Terracotta, Inc.