JIDE 3.5.15

com.jidesoft.filter
Class NotLikeFilter<T>

java.lang.Object
  extended by com.jidesoft.filter.AbstractFilter<T>
      extended by com.jidesoft.filter.RegexFilter<T>
          extended by com.jidesoft.filter.LikeFilter<T>
              extended by com.jidesoft.filter.NotLikeFilter<T>
All Implemented Interfaces:
Filter<T>, ObjectGrouperSupport, SqlFilterSupport, Serializable, Cloneable

public class NotLikeFilter<T>
extends LikeFilter<T>

A Filter returns opposite value in isValueFiltered(Object) of LikeFilter.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jidesoft.filter.RegexFilter
_beginWith, _regex
 
Fields inherited from interface com.jidesoft.filter.Filter
ALL, CUSTOM, NULL, SEPARATOR
 
Constructor Summary
NotLikeFilter(String pattern)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getOperator()
          Gets the operator.
 boolean isValueFiltered(T value)
          Checks to see if the value should be filtered.
 
Methods inherited from class com.jidesoft.filter.LikeFilter
convertFromPatternToRegex
 
Methods inherited from class com.jidesoft.filter.RegexFilter
convertElementToString, createRegexPattern, getPattern, getPreference, isBeginWith, isCaseSensitive, isEndWith, setBeginWith, setCaseSensitive, setEndWith, setPattern, setPreference, stricterThan
 
Methods inherited from class com.jidesoft.filter.AbstractFilter
addFilterListener, clone, fireFilterChanged, fireFilterContentChanged, fireFilterDisabled, fireFilterEnabled, fireFilterNameChanged, getConditionString, getFilterFactory, getFilterFactoryName, getFilterListeners, getName, getObjectGrouper, getObjectGrouperName, isEnabled, isFilterValid, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setObjectGrouper, setObjectGrouperName
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotLikeFilter

public NotLikeFilter(String pattern)
Method Detail

isValueFiltered

public boolean isValueFiltered(T value)
Description copied from interface: Filter
Checks to see if the value should be filtered.

Specified by:
isValueFiltered in interface Filter<T>
Overrides:
isValueFiltered in class RegexFilter<T>
Parameters:
value - the value to filter
Returns:
true if the value should be filtered. Otherwise false.

getOperator

public String getOperator()
Gets the operator. It will return " NOT LIKE " by default.

Specified by:
getOperator in interface SqlFilterSupport
Overrides:
getOperator in class LikeFilter<T>
Returns:
the operator.

equals

public boolean equals(Object obj)
Overrides:
equals in class LikeFilter<T>

JIDE 3.5.15