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

java.lang.Object
  |
  +--com.ibm.db2.tools.repl.publication.Msg
        |
        +--com.ibm.db2.tools.repl.publication.InformationalMsg
              |
              +--com.ibm.db2.tools.repl.publication.SubscriptionSchemaMsg

public class SubscriptionSchemaMsg
extends InformationalMsg

The SubscriptionSchemaMsg is sent whenever QCapture activates or reinitializes an XML publication.


Field Summary
protected  boolean allChangedRows
           
protected  boolean beforeValues
           
protected  java.util.Vector columns
           
protected  java.lang.String db2InstanceName
           
protected  java.lang.String db2ReleaseLevel
           
protected  java.lang.String db2ServerType
           
protected  java.lang.String loadPhase
           
protected  boolean onlyChangedCols
           
protected  java.lang.String qCaptureReleaseLevel
           
protected  java.lang.String sendQueueName
           
protected  java.lang.String srcName
           
protected  java.lang.String srcOwner
           
protected  java.lang.String subscriptionName
           
 
Fields inherited from class com.ibm.db2.tools.repl.publication.Msg
dbName, jmsMsg, topicHeader
 
Constructor Summary
SubscriptionSchemaMsg()
           
 
Method Summary
 java.util.Vector getColumns()
          Returns a list of ColumnSchema objects that describe the columns of the source table.
 java.lang.String getDb2InstanceName()
          Returns the name of the DB2 instance.
 java.lang.String getDb2ReleaseLevel()
          Returns the current release level of the DB2 server (8.2, etc..)
 java.lang.String getDb2ServerType()
          Returns the type of the DB2 server (QDB2, QDB2/6000, etc..)
 java.lang.String getLoadPhase()
          Returns the load phase option.
 java.lang.String getQCaptureReleaseLevel()
          Returns the current release level of the QCapture program (8.2, etc..)
 java.lang.String getSendQueueName()
          Returns the name of the send queue (the name of the queue on the capture server).
 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.
 boolean isAllChangedRows()
          Indicates if the ALL_CHANGED_ROWS option was specified in the XML Publication definition.
 boolean isBeforeValues()
          Indicates if the BEFORE_VALUES option was specified in the XML Publication definition.
 boolean isOnlyChangedCols()
          Indicates if the CHANGED_COLS_ONLY option was specified in the XML Publication definition.
 void setAllChangedRows(boolean b)
          This method has no effect when used by a PublicationListener.
 void setBeforeValues(boolean b)
          This method has no effect when used by a PublicationListener.
 void setColumns(java.util.Vector vector)
          This method has no effect when used by a PublicationListener.
 void setDb2InstanceName(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setDb2ReleaseLevel(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setDb2ServerType(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setLoadPhase(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setOnlyChangedCols(boolean b)
          This method has no effect when used by a PublicationListener.
 void setQCaptureReleaseLevel(java.lang.String string)
          This method has no effect when used by a PublicationListener.
 void setSendQueueName(java.lang.String string)
          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.
 
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

srcOwner

protected java.lang.String srcOwner

srcName

protected java.lang.String srcName

sendQueueName

protected java.lang.String sendQueueName

allChangedRows

protected boolean allChangedRows

beforeValues

protected boolean beforeValues

onlyChangedCols

protected boolean onlyChangedCols

loadPhase

protected java.lang.String loadPhase

db2ServerType

protected java.lang.String db2ServerType

db2ReleaseLevel

protected java.lang.String db2ReleaseLevel

db2InstanceName

protected java.lang.String db2InstanceName

qCaptureReleaseLevel

protected java.lang.String qCaptureReleaseLevel

columns

protected java.util.Vector columns
Constructor Detail

SubscriptionSchemaMsg

public SubscriptionSchemaMsg()
Method Detail

isAllChangedRows

public boolean isAllChangedRows()
Indicates if the ALL_CHANGED_ROWS option was specified in the XML Publication definition.

Returns:
True : The ALL_CHANGED_ROWS option was specified. False : it was not.

isBeforeValues

public boolean isBeforeValues()
Indicates if the BEFORE_VALUES option was specified in the XML Publication definition.

Returns:
True : The BEFORE_VALUES option was specified. False : it was not.

getColumns

public java.util.Vector getColumns()
Returns a list of ColumnSchema objects that describe the columns of the source table.

Returns:
Vector A vector of ColumnSchema objects.

getDb2InstanceName

public java.lang.String getDb2InstanceName()
Returns the name of the DB2 instance.

Returns:
String The DB2 instance name.

getDb2ServerType

public java.lang.String getDb2ServerType()
Returns the type of the DB2 server (QDB2, QDB2/6000, etc..)

Returns:
String The DB2 server type.

getDb2ReleaseLevel

public java.lang.String getDb2ReleaseLevel()
Returns the current release level of the DB2 server (8.2, etc..)

Returns:
String The DB2 server release level.

getLoadPhase

public java.lang.String getLoadPhase()
Returns the load phase option. One of the following ("none", "external")

Returns:
String The load phase.

isOnlyChangedCols

public boolean isOnlyChangedCols()
Indicates if the CHANGED_COLS_ONLY option was specified in the XML Publication definition.

Returns:
True : The CHANGED_COLS_ONLY option was specified. False : it was not.

getQCaptureReleaseLevel

public java.lang.String getQCaptureReleaseLevel()
Returns the current release level of the QCapture program (8.2, etc..)

Returns:
String The QCapture release level.

getSendQueueName

public java.lang.String getSendQueueName()
Returns the name of the send queue (the name of the queue on the capture server).

Returns:
String The send queue name.

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.

getSubscriptionName

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

Returns:
String The publication name.

setAllChangedRows

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

Parameters:
b -

setBeforeValues

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

Parameters:
b -

setColumns

public void setColumns(java.util.Vector vector)
This method has no effect when used by a PublicationListener.

Parameters:
vector -

setDb2InstanceName

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

Parameters:
string -

setDb2ReleaseLevel

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

Parameters:
string -

setDb2ServerType

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

Parameters:
string -

setLoadPhase

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

Parameters:
string -

setOnlyChangedCols

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

Parameters:
b -

setQCaptureReleaseLevel

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

Parameters:
string -

setSendQueueName

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

Parameters:
string -

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 -

setSubscriptionName

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

Parameters:
string -