Package org.opennms.web.alarm.filter
Class NodeNameLikeFilter
- java.lang.Object
-
- org.opennms.web.filter.BaseFilter<T>
-
- org.opennms.web.filter.OneArgFilter<String>
-
- org.opennms.web.filter.SubstringFilter
-
- org.opennms.web.alarm.filter.NodeNameLikeFilter
-
- All Implemented Interfaces:
Filter
public class NodeNameLikeFilter extends SubstringFilter
Encapsulates all node filtering functionality.- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
ConstantTYPE="nodenamelike"
-
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
-
-
Constructor Summary
Constructors Constructor Description NodeNameLikeFilter(String substring)
Constructor for NodeNameLikeFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getSQLTemplate()
getSQLTemplateString
getSubstring()
getSubstringString
getTextDescription()
getTextDescriptionString
toString()
toString-
Methods inherited from class org.opennms.web.filter.SubstringFilter
formatValue, getBoundValue, getCriterion
-
Methods inherited from class org.opennms.web.filter.OneArgFilter
bindParam, getParamSql, getSql, getValue, getValueString
-
Methods inherited from class org.opennms.web.filter.BaseFilter
bindValue, 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="nodenamelike"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSQLTemplate
public String getSQLTemplate()
getSQLTemplate
- Overrides:
getSQLTemplate
in classSubstringFilter
- Returns:
- a
String
object.
-
getTextDescription
public String getTextDescription()
getTextDescription
- Specified by:
getTextDescription
in interfaceFilter
- Overrides:
getTextDescription
in classOneArgFilter<String>
- Returns:
- a
String
object.
-
toString
public String toString()
toString
- Overrides:
toString
in classBaseFilter<String>
- Returns:
- a
String
object.
-
-