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

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

public class LOBMsg
extends DataMsg


Field Summary
protected  java.lang.String columnName
           
protected  boolean isLast
           
protected  java.lang.String lobType
           
protected  int rowNumber
           
protected  int segmentLength
           
protected  java.lang.String srcName
           
protected  java.lang.String srcOwner
           
protected  java.lang.String subscriptionName
           
protected  int totalDataLength
           
protected  java.lang.Object value
           
 
Fields inherited from class com.ibm.db2.tools.repl.publication.Msg
dbName, jmsMsg, topicHeader
 
Constructor Summary
LOBMsg()
           
 
Method Summary
 java.lang.String getColumnName()
          The name of the LOB column.
 java.lang.String getLobType()
          The datatype of the LOB.
 int getRowNumber()
          Within the database transaction, the position number of the row operation that contains the LOB value.
 int getSegmentLength()
          The length of the LOB value contained in a single message, in bytes.
 java.lang.String getSrcName()
          Returns the name of the source db object (table, view, etc...).
 java.lang.String getSrcOwner()
          Returns the owner of the source db object (table, view, etc...).
 java.lang.String getSubscriptionName()
          Returns the name of the XML Publication.
 int getTotalDataLength()
          The length of the total LOB value contained in the source table, in bytes.
 java.lang.Object getValue()
          The value of the LOB.
 boolean isLast()
          If this is the last LOB message, then this is true.
 void setColumnName(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 setLobType(java.lang.String strLobType)
          This method has no effect when used by a PublicationListener.
 void setRowNumber(int i)
          This method has no effect when used by a PublicationListener.
 void setSegmentLength(int i)
          This method has no effect when used by a PublicationListener.
 void setSrcName(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setSrcOwner(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setSubscriptionName(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setTotalDataLength(int i)
          This method has no effect when used by a PublicationListener.
 void setValue(java.lang.Object obj)
          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

subscriptionName

protected java.lang.String subscriptionName

isLast

protected boolean isLast

srcOwner

protected java.lang.String srcOwner

srcName

protected java.lang.String srcName

rowNumber

protected int rowNumber

columnName

protected java.lang.String columnName

totalDataLength

protected int totalDataLength

segmentLength

protected int segmentLength

value

protected java.lang.Object value

lobType

protected java.lang.String lobType
Constructor Detail

LOBMsg

public LOBMsg()
Method Detail

getColumnName

public java.lang.String getColumnName()
The name of the LOB column.

Returns:
The name of the column.

isLast

public boolean isLast()
If this is the last LOB message, then this is true.

Returns:
True: The last LOB message. False : more LOB messages are coming.

getLobType

public java.lang.String getLobType()
The datatype of the LOB.

Returns:
String One of "blob", "clob", or "dbclob".

getValue

public java.lang.Object getValue()
The value of the LOB.

Returns:
Object The LOB data.

getRowNumber

public int getRowNumber()
Within the database transaction, the position number of the row operation that contains the LOB value.

Returns:
int The position number.

getSegmentLength

public int getSegmentLength()
The length of the LOB value contained in a single message, in bytes.

Returns:
int The number of LOB bytes in just this message.

getSrcName

public java.lang.String getSrcName()
Returns the name of the source db object (table, view, etc...).

Returns:
String The source name.

getSrcOwner

public java.lang.String getSrcOwner()
Returns the owner of the source db object (table, view, etc...).

Returns:
String The owner name.

getTotalDataLength

public int getTotalDataLength()
The length of the total LOB value contained in the source table, in bytes.

Returns:
int The number of bytes of the LOB value.

getSubscriptionName

public java.lang.String getSubscriptionName()
Returns the name of the XML Publication.

Returns:
String The publication name.

setColumnName

public void setColumnName(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 -

setLobType

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


setValue

public void setValue(java.lang.Object obj)
This method has no effect when used by a PublicationListener.


setRowNumber

public void setRowNumber(int i)
This method has no effect when used by a PublicationListener.

Parameters:
i -

setSegmentLength

public void setSegmentLength(int i)
This method has no effect when used by a PublicationListener.

Parameters:
i -

setSrcName

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

Parameters:
string -

setSrcOwner

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

Parameters:
string -

setTotalDataLength

public void setTotalDataLength(int i)
This method has no effect when used by a PublicationListener.

Parameters:
i -

setSubscriptionName

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

Parameters:
string -