com.ibm.db2.tools.repl.publication
Class RowOperationMsg

java.lang.Object
  |
  +--com.ibm.db2.tools.repl.publication.Msg
        |
        +--com.ibm.db2.tools.repl.publication.DataMsg
              |
              +--com.ibm.db2.tools.repl.publication.RowOperationMsg

public class RowOperationMsg
extends DataMsg

A RowOperationMsg contains one insert, update, or delete operation from the source table.


Field Summary
protected  java.lang.String authID
           
protected  java.lang.String commitLSN
           
protected  java.lang.String commitTime
           
protected  java.lang.String correlationID
           
protected  boolean isLast
           
protected  java.lang.String planName
           
protected  Row row
           
 
Fields inherited from class com.ibm.db2.tools.repl.publication.Msg
dbName, jmsMsg, topicHeader
 
Constructor Summary
RowOperationMsg()
           
 
Method Summary
 java.lang.String getAuthID()
          Get the authorization id that caused the database modification.
 java.lang.String getCommitLSN()
          The Commit Logical Sequence Number of the transaction.
 java.lang.String getCommitTime()
          The timestamp of the commit statement using GMT.
 java.lang.String getCorrelationID()
          Get the correlation id that caused the database modification (DB2 z/OS only).
 java.lang.String getPlanName()
          Get the plan name that caused the database modification (DB2 z/OS only).
 Row getRow()
          Get the updated row.
 boolean isLast()
          A boolean value that indicates if this message is the last message in the transaction.
 void setAuthID(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setCommitLSN(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setCommitTime(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setCorrelationID(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setLast(boolean b)
          This method has no effect when used by a PublicationListener.
 void setPlanName(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setRow(Row aRow)
          This method has no effect when used by a PublicationListener.
 
Methods inherited from class com.ibm.db2.tools.repl.publication.Msg
getDbName, getJMSMessage, getObjectProperty, getPropertyNames, getTopic, setDbName, setJMSMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isLast

protected boolean isLast

commitLSN

protected java.lang.String commitLSN

commitTime

protected java.lang.String commitTime

authID

protected java.lang.String authID

correlationID

protected java.lang.String correlationID

planName

protected java.lang.String planName

row

protected Row row
Constructor Detail

RowOperationMsg

public RowOperationMsg()
Method Detail

getCommitLSN

public java.lang.String getCommitLSN()
The Commit Logical Sequence Number of the transaction.

Returns:
String The LSN of the transaction.

getCommitTime

public java.lang.String getCommitTime()
The timestamp of the commit statement using GMT.

Returns:
String The commit timestamp.

getAuthID

public java.lang.String getAuthID()
Get the authorization id that caused the database modification. This may be null if not avaiable from the datasource.

Returns:
String The authorization ID, or null if not available.

getCorrelationID

public java.lang.String getCorrelationID()
Get the correlation id that caused the database modification (DB2 z/OS only). This may be null if not avaiable from the datasource.

Returns:
String The correlation ID, or null if not available.

getPlanName

public java.lang.String getPlanName()
Get the plan name that caused the database modification (DB2 z/OS only). This may be null if not avaiable from the datasource.

Returns:
String The plan name, or null if not available.

isLast

public boolean isLast()
A boolean value that indicates if this message is the last message in the transaction. If LOB messages are following, this is false.

Returns:
boolean True : This is the last message. False : other messages (LOBMsg) are following.

getRow

public Row getRow()
Get the updated row.

Returns:
Row The updated row.

setCommitLSN

public void setCommitLSN(java.lang.String string)
This method has no effect when used by a PublicationListener.

Parameters:
string -

setAuthID

public void setAuthID(java.lang.String string)
This method has no effect when used by a PublicationListener.

Parameters:
string -

setCorrelationID

public void setCorrelationID(java.lang.String string)
This method has no effect when used by a PublicationListener.

Parameters:
string -

setPlanName

public void setPlanName(java.lang.String string)
This method has no effect when used by a PublicationListener.

Parameters:
string -

setCommitTime

public void setCommitTime(java.lang.String string)
This method has no effect when used by a PublicationListener.

Parameters:
string -

setLast

public void setLast(boolean b)
This method has no effect when used by a PublicationListener.

Parameters:
b -

setRow

public void setRow(Row aRow)
This method has no effect when used by a PublicationListener.