public class Trigger extends Object implements Serializable
Constructor and Description |
---|
Trigger() |
Modifier and Type | Method and Description |
---|---|
void |
deleteRowCount() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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() |
public void deleteRowCount()
public boolean equals(Object obj)
public String getDataSource()
public String getName()
public String getOperator()
public int getRowCount()
public Statement getStatement()
public boolean hasRowCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.