org.opennms.web.alarm.filter
Class SeverityBetweenFilter

java.lang.Object
  extended by org.opennms.web.filter.BaseFilter<T>
      extended by org.opennms.web.filter.MultiArgFilter<T>
          extended by org.opennms.web.filter.BetweenFilter<Integer>
              extended by org.opennms.web.alarm.filter.SeverityBetweenFilter
All Implemented Interfaces:
Filter

public class SeverityBetweenFilter
extends BetweenFilter<Integer>


Field Summary
static String TYPE
           
 
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
 
Constructor Summary
SeverityBetweenFilter(OnmsSeverity rangeBegin, OnmsSeverity rangeEnd)
           
 
Method Summary
 String getTextDescription()
          Returns a terse but human-readable string describing this filter in such a way to easily be included in a search results list.
 String toString()
           
 
Methods inherited from class org.opennms.web.filter.BetweenFilter
getCriterion, getFirst, getLast, getSQLTemplate
 
Methods inherited from class org.opennms.web.filter.MultiArgFilter
bindParam, getParamSql, getSql, getValues, getValuesAsList, getValueString
 
Methods inherited from class org.opennms.web.filter.BaseFilter
bindValue, formatValue, getDescription, getPropertyName, getSQLFieldName, getValueAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

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

SeverityBetweenFilter

public SeverityBetweenFilter(OnmsSeverity rangeBegin,
                             OnmsSeverity rangeEnd)
Method Detail

getTextDescription

public String getTextDescription()
Description copied from interface: Filter
Returns a terse but human-readable string describing this filter in such a way to easily be included in a search results list.

Some examples (corresponding to the examples in getDescription):

Specified by:
getTextDescription in interface Filter
Specified by:
getTextDescription in class BaseFilter<Integer>

toString

public String toString()
Overrides:
toString in class BaseFilter<Integer>


Copyright © 2009. All Rights Reserved.