Package org.opennms.web.outage.filter
Class NegativeForeignSourceFilter
- java.lang.Object
-
- org.opennms.web.filter.BaseFilter<T>
-
- org.opennms.web.filter.OneArgFilter<T>
-
- org.opennms.web.filter.EqualsFilter<String>
-
- org.opennms.web.outage.filter.NegativeForeignSourceFilter
-
- All Implemented Interfaces:
Filter
public class NegativeForeignSourceFilter extends EqualsFilter<String>
Encapsulates all node filtering functionality.- Since:
- 1.12.2
- Author:
- Ronald Roskens, OpenNMS
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
ConstantTYPE="foreignsourcenot"
-
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
-
-
Constructor Summary
Constructors Constructor Description NegativeForeignSourceFilter(String foreignSource)
Constructor for NegativeForeignSourceFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
org.hibernate.criterion.Criterion
getCriterion()
getCriterionString
getSQLTemplate()
getSQLTemplateString
toString()
toString-
Methods inherited from class org.opennms.web.filter.OneArgFilter
bindParam, getBoundValue, getParamSql, getSql, getTextDescription, 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
-
Methods inherited from interface org.opennms.web.filter.Filter
getTextDescriptionAsSanitizedHtml
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
ConstantTYPE="foreignsourcenot"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSQLTemplate
public String getSQLTemplate()
getSQLTemplate
- Overrides:
getSQLTemplate
in classEqualsFilter<String>
- Returns:
- a
String
object.
-
getCriterion
public org.hibernate.criterion.Criterion getCriterion()
getCriterion
- Specified by:
getCriterion
in interfaceFilter
- Overrides:
getCriterion
in classEqualsFilter<String>
- Returns:
- a
Criterion
object.
-
toString
public String toString()
toString
- Overrides:
toString
in classBaseFilter<String>
- Returns:
- a
String
object.
-
-