org.opennms.web.alarm.filter
Class NegativeSeverityFilter

java.lang.Object
  extended by org.opennms.web.filter.BaseFilter<T>
      extended by org.opennms.web.filter.OneArgFilter<T>
          extended by org.opennms.web.filter.NotEqualsFilter<OnmsSeverity>
              extended by org.opennms.web.alarm.filter.NegativeSeverityFilter
All Implemented Interfaces:
Filter

public class NegativeSeverityFilter
extends NotEqualsFilter<OnmsSeverity>

Encapsulates negative severity filtering functionality, that is filtering OUT this value instead of only filtering IN this value.


Field Summary
static String TYPE
           
 
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
 
Constructor Summary
NegativeSeverityFilter(OnmsSeverity severity)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getSeverity()
           
 String getTextDescription()
          getTextDescription
 String toString()
          toString
 
Methods inherited from class org.opennms.web.filter.NotEqualsFilter
getCriterion, getSQLTemplate
 
Methods inherited from class org.opennms.web.filter.OneArgFilter
bindParam, getBoundValue, getParamSql, getSql, getValue, getValueString
 
Methods inherited from class org.opennms.web.filter.BaseFilter
bindValue, formatValue, getDescription, getPropertyName, getSQLFieldName, getValueAsString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

NegativeSeverityFilter

public NegativeSeverityFilter(OnmsSeverity severity)
Method Detail

getTextDescription

public String getTextDescription()
Description copied from class: BaseFilter

getTextDescription

Specified by:
getTextDescription in interface Filter
Overrides:
getTextDescription in class OneArgFilter<OnmsSeverity>
Returns:
a String object.

toString

public String toString()
Description copied from class: BaseFilter

toString

Overrides:
toString in class BaseFilter<OnmsSeverity>
Returns:
a String object.

getSeverity

public int getSeverity()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.