org.opennms.web.notification
Class NoticeFactory.InterfaceFilter

java.lang.Object
  extended by org.opennms.web.notification.NoticeFactory.InterfaceFilter
All Implemented Interfaces:
NoticeFactory.Filter
Enclosing class:
NoticeFactory

public static class NoticeFactory.InterfaceFilter
extends Object
implements NoticeFactory.Filter

Encapsulates all interface filtering functionality.


Field Summary
protected  String ipAddress
           
static String TYPE
           
 
Constructor Summary
NoticeFactory.InterfaceFilter(String ipAddress)
           
 
Method Summary
 int bindParams(PreparedStatement ps, int parameterIndex)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getIpAddress()
           
 String getParamSql()
           
 String getSql()
           
 String getTextDescription()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values

ipAddress

protected String ipAddress
Constructor Detail

NoticeFactory.InterfaceFilter

public NoticeFactory.InterfaceFilter(String ipAddress)
Method Detail

getSql

public String getSql()
Specified by:
getSql in interface NoticeFactory.Filter

getParamSql

public String getParamSql()
Specified by:
getParamSql in interface NoticeFactory.Filter

bindParams

public int bindParams(PreparedStatement ps,
                      int parameterIndex)
               throws SQLException
Specified by:
bindParams in interface NoticeFactory.Filter
Throws:
SQLException

getDescription

public String getDescription()
Specified by:
getDescription in interface NoticeFactory.Filter

getTextDescription

public String getTextDescription()
Specified by:
getTextDescription in interface NoticeFactory.Filter

toString

public String toString()
Overrides:
toString in class Object

getIpAddress

public String getIpAddress()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright ? 2008. All Rights Reserved.