|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.expression.BaseCriteria net.sf.ehcache.search.expression.EqualTo
public class EqualTo
A comparison operator meaning Java "equals to" condition
Constructor Summary | |
---|---|
EqualTo(String attributeName,
Object value)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria |
---|
and, getExtractor, not, or |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualTo(String attributeName, Object value)
attributeName
- attribute namevalue
- Method Detail |
---|
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 names
public Set<Attribute<?>> getAttributes()
BaseCriteria
getAttributes
in class BaseCriteria
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |