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, or
public 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()
BaseCriteria
getAttributes
in class BaseCriteria
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.