|
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.InCollection
public class InCollection
Criteria for inclusion in a given Collection (presumably a Set) of values
| Constructor Summary | |
|---|---|
InCollection(String attributeName,
Collection<?> values)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element |
String |
getAttributeName()
Return attributeName |
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance |
Collection<?> |
values()
Return values. |
| 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 InCollection(String attributeName,
Collection<?> values)
attributeName - attribute namevalues - | Method Detail |
|---|
public String getAttributeName()
public Collection<?> values()
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 | |||||||||