public class MirroringTask
extends java.lang.Object
implements java.io.Externalizable
Prepare Database
Add Entry to
a table
TABLE_TYPE_MASTER_TABLE
TABLE_TYPE_MISC_TABLE
TABLE_TYPE_CUE_TABLE
Update Entry in a table
TABLE_TYPE_MASTER_TABLE
TABLE_TYPE_MISC_TABLE
TABLE_TYPE_CUE_TABLE
Remove Entry from a table
TABLE_TYPE_MASTER_TABLE
TABLE_TYPE_MISC_TABLE
TABLE_TYPE_CUE_TABLE
Modifier and Type | Field and Description |
---|---|
static int |
TABLE_TYPE_CUE_TABLE |
static int |
TABLE_TYPE_MASTER_TABLE |
static int |
TABLE_TYPE_MISC_TABLE |
static int |
TASK_TYPE_ADD_ENTRY |
static int |
TASK_TYPE_DELETE_ENTRY |
static int |
TASK_TYPE_PREPARE_DB |
static int |
TASK_TYPE_PREPARE_DB_FINISHED |
static int |
TASK_TYPE_UPDATE_ENTRY |
Constructor and Description |
---|
MirroringTask()
Do NOT call! Needed for
Externalizable . |
Modifier and Type | Method and Description |
---|---|
JPack |
getData()
Return the binary representation of a table entry.
|
int |
getRecordID()
Returns the primary key for an entry of a Cue Table
|
java.lang.String |
getRecordName()
Returns the primary key in a Named Table.
|
int |
getTableType()
Returns the type of the table this entry is a member of.
|
int |
getTaskType()
Returns the type of the current task.
|
void |
readExternal(java.io.ObjectInput in)
Needed for the
Externalizable implementation. |
java.lang.String |
toString()
Returns a readable string for this object.
|
void |
writeExternal(java.io.ObjectOutput out)
Needed for the
Externalizable implementation. |
public static final int TASK_TYPE_ADD_ENTRY
public static final int TASK_TYPE_UPDATE_ENTRY
public static final int TASK_TYPE_DELETE_ENTRY
public static final int TASK_TYPE_PREPARE_DB
public static final int TASK_TYPE_PREPARE_DB_FINISHED
public static final int TABLE_TYPE_MASTER_TABLE
public static final int TABLE_TYPE_MISC_TABLE
public static final int TABLE_TYPE_CUE_TABLE
public int getTaskType()
TASK_TYPE_ADD_ENTRY
, TASK_TYPE_DELETE_ENTRY
, TASK_TYPE_PREPARE_DB
or TASK_TYPE_UPDATE_ENTRY
.public JPack getData()
public int getRecordID()
public java.lang.String getRecordName()
public int getTableType()
TABLE_TYPE_CUE_TABLE
, TABLE_TYPE_MASTER_TABLE
or TABLE_TYPE_MISC_TABLE
.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Externalizable
implementation.readExternal
in interface java.io.Externalizable
in
- java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
Externalizable
implementation.writeExternal
in interface java.io.Externalizable
out
- java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.