|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.NegativeSeverityFilter
public class NegativeSeverityFilter
Encapsulates negative severity filtering functionality, that is filtering OUT this value instead of only filtering IN this value.
| Field Summary | |
|---|---|
protected int |
severity
|
static String |
TYPE
Constant TYPE="severitynot" |
| Constructor Summary | |
|---|---|
NegativeSeverityFilter(int severity)
Constructor for NegativeSeverityFilter. |
|
NegativeSeverityFilter(OnmsSeverity severity)
Constructor for NegativeSeverityFilter. |
|
| 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 |
getSeverity()
Getter for the field severity. |
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="severitynot"
protected int severity
| Constructor Detail |
|---|
public NegativeSeverityFilter(int severity)
Constructor for NegativeSeverityFilter.
severity - a int.public NegativeSeverityFilter(OnmsSeverity severity)
Constructor for NegativeSeverityFilter.
severity - a OnmsSeverity object.| 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 getSeverity()
Getter for the field severity.
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 | |||||||||