Top Description Fields Constructors Methods
net.sf.ehcache.search.expression

public Class NotILike

extends BaseCriteria
Class Inheritance
Imports
java.util.Collections, .Map, .Set, net.sf.ehcache.Element, net.sf.ehcache.search.Attribute, net.sf.ehcache.search.attribute.AttributeExtractor

Inverse of ILike
Author
vfunshte

Field Summary

Modifier and TypeField and Description
private final ILike

Constructor Summary

AccessConstructor and Description
public
NotILike(String attributeName, String regex)

Constructor

Method Summary

Modifier and TypeMethod and Description
public boolean
execute(Element
cache element
e
,
Map<String, AttributeExtractor>
map of attribute extractors to attribute value names
attributeExtractors
)

Implements net.sf.ehcache.search.expression.Criteria.execute.

Test this criteria against a cache element
public String

Returns:

String attribute name
getAttributeName
()

Return attribute name.

public Set<Attribute<?>>
getAttributes()

Implements abstract net.sf.ehcache.search.expression.BaseCriteria.getAttributes.

Returns all search attributes referenced by this instance
public String

Returns:

String regex.
getRegex
()

Return regex string.

Inherited from net.sf.ehcache.search.expression.BaseCriteria:
andgetExtractornotor

Field Detail

srcback to summary
private final ILike src

Constructor Detail

NotILikeback to summary
public NotILike(String attributeName, String regex)

Constructor

Method Detail

executeback to summary
public boolean execute(Element e, Map<String, AttributeExtractor> attributeExtractors)

Implements net.sf.ehcache.search.expression.Criteria.execute.

Doc from net.sf.ehcache.search.expression.Criteria.execute.

Test this criteria against a cache element

Parameters
e:Element

cache element

attributeExtractors:Map<String, AttributeExtractor>

map of attribute extractors to attribute value names

Returns:boolean

true if the criteria matches this element

Annotations
@Override
getAttributeNameback to summary
public String getAttributeName()

Return attribute name.

Returns:String

String attribute name

getAttributesback to summary
public Set<Attribute<?>> getAttributes()

Implements abstract net.sf.ehcache.search.expression.BaseCriteria.getAttributes.

Doc from net.sf.ehcache.search.expression.BaseCriteria.getAttributes.

Returns all search attributes referenced by this instance

Annotations
@Override
getRegexback to summary
public String getRegex()

Return regex string.

Returns:String

String regex.