org.opennms.web.event.filter
Class PartialUEIFilter

java.lang.Object
  extended by org.opennms.web.filter.BaseFilter<T>
      extended by org.opennms.web.filter.OneArgFilter<String>
          extended by org.opennms.web.filter.SubstringFilter
              extended by org.opennms.web.event.filter.PartialUEIFilter
All Implemented Interfaces:
Filter

public class PartialUEIFilter
extends SubstringFilter

Encapsulates filtering on partial unique event identifiers.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Field Summary
static String TYPE
          Constant TYPE="partialUei"
 
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
 
Constructor Summary
PartialUEIFilter(String uei)
          Constructor for PartialUEIFilter.
 
Method Summary
 boolean equals(Object obj)
          
 String getTextDescription()
          getTextDescription
 String getUEI()
          getUEI
 String toString()
          toString
 
Methods inherited from class org.opennms.web.filter.SubstringFilter
formatValue, getBoundValue, getCriterion, getSQLTemplate
 
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
 

Field Detail

TYPE

public static final String TYPE
Constant TYPE="partialUei"

See Also:
Constant Field Values
Constructor Detail

PartialUEIFilter

public PartialUEIFilter(String uei)

Constructor for PartialUEIFilter.

Parameters:
uei - a String object.
Method Detail

getTextDescription

public String getTextDescription()

getTextDescription

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

toString

public String toString()

toString

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

getUEI

public String getUEI()

getUEI

Returns:
a String object.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.