public class Trigger extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATA_SOURCE |
static int |
DEFAULT_ROW_COUNT |
Constructor and Description |
---|
Trigger() |
Trigger(String name,
String dataSource,
String operator,
int rowCount,
Statement statement) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the 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 Object.hashCode method.
|
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'.
|
public static final String DEFAULT_DATA_SOURCE
public static final int DEFAULT_ROW_COUNT
public boolean equals(Object obj)
public String getDataSource()
public String getName()
public String getOperator()
public int getRowCount()
public Statement getStatement()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public 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'.Copyright © 2017. All rights reserved.