Class NegativeNodeFilter
- java.lang.Object
-
- org.opennms.web.filter.BaseFilter<T>
-
- org.opennms.web.filter.OneArgFilter<T>
-
- org.opennms.web.filter.NotEqualOrNullFilter<java.lang.Integer>
-
- org.opennms.web.notification.filter.NegativeNodeFilter
-
- All Implemented Interfaces:
Filter
public class NegativeNodeFilter extends NotEqualOrNullFilter<java.lang.Integer>
Encapsulates all node filtering functionality.- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
ConstantTYPE="nodenot"
-
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
-
-
Constructor Summary
Constructors Constructor Description NegativeNodeFilter(int nodeId, javax.servlet.ServletContext servletContext)
Constructor for NegativeNodeFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getNodeId()
getNodeIdjava.lang.String
getTextDescription()
getTextDescription-
Methods inherited from class org.opennms.web.filter.NotEqualOrNullFilter
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, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.web.filter.Filter
getTextDescriptionAsSanitizedHtml
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
ConstantTYPE="nodenot"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTextDescription
public java.lang.String getTextDescription()
getTextDescription
- Specified by:
getTextDescription
in interfaceFilter
- Overrides:
getTextDescription
in classOneArgFilter<java.lang.Integer>
- Returns:
- a
String
object.
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- a int.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-