|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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(java.lang.String attributeName,
java.lang.Object value)
Constructor |
Method Summary | |
---|---|
boolean |
execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element |
java.lang.String |
getAttributeName()
Get attribute name. |
AttributeType |
getType()
Get attribute type. |
java.lang.Object |
getValue()
Get attribute value. |
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria |
---|
and, not, or |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualTo(java.lang.String attributeName, java.lang.Object value)
attributeName
- attribute namevalue
- Method Detail |
---|
public java.lang.Object getValue()
public java.lang.String getAttributeName()
public AttributeType getType()
public boolean execute(Element e, java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |