|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.PortFilter
public class PortFilter
Encapsulates port filtering functionality.
| Field Summary | |
|---|---|
protected int |
port
|
static String |
TYPE
Constant TYPE="port" |
| Constructor Summary | |
|---|---|
PortFilter(int port)
Constructor for PortFilter. |
|
| Method Summary | |
|---|---|
int |
bindParam(PreparedStatement ps,
int parameterIndex)
Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement. |
boolean |
equals(Object obj)
|
String |
getDescription()
getDescription |
String |
getParamSql()
getParamSql |
int |
getPort()
Getter for the field port. |
String |
getSql()
getSql |
String |
getTextDescription()
getTextDescription |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
TYPE="port"
protected int port
| Constructor Detail |
|---|
public PortFilter(int port)
Constructor for PortFilter.
port - a int.| Method Detail |
|---|
public String getSql()
getSql
getSql in interface FilterString object.public String getParamSql()
getParamSql
getParamSql in interface FilterString object.
public int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
bindParam in interface Filterps - a PreparedStatement object.parameterIndex - a int.
SQLException - if any.public String getDescription()
getDescription
getDescription in interface FilterString object.public String getTextDescription()
getTextDescription
getTextDescription in interface FilterString object.public String toString()
toString
toString in class ObjectString object.public int getPort()
Getter for the field port.
public boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||