org.opennms.web.outage.filter
Class InterfaceFilter

java.lang.Object
  extended by org.opennms.web.filter.BaseFilter<T>
      extended by org.opennms.web.filter.OneArgFilter<T>
          extended by org.opennms.web.filter.EqualsFilter<String>
              extended by org.opennms.web.outage.filter.InterfaceFilter
All Implemented Interfaces:
Filter

public class InterfaceFilter
extends EqualsFilter<String>

Encapsulates all interface filtering functionality.

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

Field Summary
static String TYPE
          Constant TYPE="intf"
 
Fields inherited from class org.opennms.web.filter.BaseFilter
m_filterName, m_sqlType
 
Constructor Summary
InterfaceFilter(String ipAddress)
          Constructor for InterfaceFilter.
 
Method Summary
 boolean equals(Object obj)
          
 String getIpAddress()
          getIpAddress
 String toString()
          toString
 
Methods inherited from class org.opennms.web.filter.EqualsFilter
getCriterion, getSQLTemplate, getTextDescription
 
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
 
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="intf"

See Also:
Constant Field Values
Constructor Detail

InterfaceFilter

public InterfaceFilter(String ipAddress)

Constructor for InterfaceFilter.

Parameters:
ipAddress - a String object.
Method Detail

toString

public String toString()

toString

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

getIpAddress

public String getIpAddress()

getIpAddress

Returns:
a String object.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.