|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.vacuumd.Trigger
public class Trigger
A query to the database with a resultset used for actions
| Constructor Summary | |
|---|---|
Trigger()
|
|
| Method Summary | |
|---|---|
void |
deleteRowCount()
|
String |
getDataSource()
Returns the value of field 'dataSource'. |
String |
getName()
Returns the value of field 'name'. |
String |
getOperator()
Returns the value of field 'operator'. |
int |
getRowCount()
Returns the value of field 'rowCount'. |
Statement |
getStatement()
Returns the value of field 'statement'. |
boolean |
hasRowCount()
Method hasRowCount. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setDataSource(String dataSource)
Sets the value of field 'dataSource'. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setOperator(String operator)
Sets the value of field 'operator'. |
void |
setRowCount(int rowCount)
Sets the value of field 'rowCount'. |
void |
setStatement(Statement statement)
Sets the value of field 'statement'. |
static Trigger |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Trigger()
| Method Detail |
|---|
public void deleteRowCount()
public String getDataSource()
public String getName()
public String getOperator()
public int getRowCount()
public Statement getStatement()
public boolean hasRowCount()
public boolean isValid()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setDataSource(String dataSource)
dataSource - the value of field 'dataSource'.public void setName(String name)
name - the value of field 'name'.public void setOperator(String operator)
operator - the value of field 'operator'.public void setRowCount(int rowCount)
rowCount - the value of field 'rowCount'.public void setStatement(Statement statement)
statement - the value of field 'statement'.
public static Trigger unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||