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

public Class NotEqualTo

extends EqualTo
Class Inheritance
Imports
java.util.Map, net.sf.ehcache.Element, net.sf.ehcache.search.attribute.AttributeExtractor

Criteria for plain "not equals to" condition
Author
teck

Constructor Summary

AccessConstructor and Description
public
NotEqualTo(String
attribute name
attributeName
,
Object value)

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
)

Overrides net.sf.ehcache.search.expression.EqualTo.execute.

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

Test this criteria against a cache element
Inherited from net.sf.ehcache.search.expression.EqualTo:
getAttributeNamegetAttributesgetTypegetValue

Constructor Detail

NotEqualToback to summary
public NotEqualTo(String attributeName, Object value)

Constructor

Parameters
attributeName:String

attribute name

Method Detail

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

Overrides net.sf.ehcache.search.expression.EqualTo.execute.

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

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

Test this criteria against a cache element

Parameters
e:Element

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

cache element

attributeExtractors:Map<String, AttributeExtractor>

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

map of attribute extractors to attribute value names

Returns:boolean

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

true if the criteria matches this element

Annotations
@Override