|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sourceforge.jdbcimporter.event.ImportEntityRowEvent
The ImportEntityRowEvent describes the state of a row being imported.
| Field Summary | |
static int |
STATE_BATCH
Constant that indicates the rows was processed successfully but hasn't been imported. |
static int |
STATE_ERROR
Constant that indicates there was an error processing the row. |
static int |
STATE_SUCCESS
Constant that indicates the row was imported successfully. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ImportEntityRowEvent(java.lang.Object source,
ImportEntityDef entityDef,
java.lang.String line,
ColumnValue[] values,
int state,
java.lang.Exception ex)
Constructs an ImportEntityRowEvent |
|
| Method Summary | |
java.lang.String |
getCatalog()
Returns the catalog that the entity belongs to. |
java.lang.Exception |
getException()
Returns the exception that prevented the row from being imported. |
java.lang.String |
getRow()
Returns the line representing the row. |
java.lang.String |
getSchema()
Returns the schema that the entity belongs to. |
int |
getState()
Returns the state of the import of the row. |
java.lang.String |
getTable()
Returns the table name. |
ColumnValue[] |
getValues()
Returns the column values of the row. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static int STATE_ERROR
public static int STATE_SUCCESS
public static int STATE_BATCH
| Constructor Detail |
public ImportEntityRowEvent(java.lang.Object source,
ImportEntityDef entityDef,
java.lang.String line,
ColumnValue[] values,
int state,
java.lang.Exception ex)
source - the source of the evententityDef - the configuration of the entityline - the line representing the rowvalues - the column values of the rowstate - the state of row's importex - the exception that prevented the row from being imported.| Method Detail |
public java.lang.String getTable()
public java.lang.String getSchema()
public java.lang.String getCatalog()
public java.lang.String getRow()
public int getState()
public ColumnValue[] getValues()
public java.lang.Exception getException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||