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

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

public class ErrorReportMsg
extends InformationalMsg

The QCapture program sends an ErrorReportMsg when it cannot perform the request of a user application that was made through a control message. For example, the Q Capture programs send an error report message if it cannot activate or deactivate an XML Publication.


Field Summary
protected  java.lang.String msgText
           
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
ErrorReportMsg()
           
 
Method Summary
 java.lang.String getMsgText()
          Returns the text of the error message.
 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.
 void setMsgText(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

msgText

protected java.lang.String msgText
Constructor Detail

ErrorReportMsg

public ErrorReportMsg()
Method Detail

getMsgText

public java.lang.String getMsgText()
Returns the text of the error message.

Returns:
String The text of the error 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.

getSubscriptionName

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

Returns:
String The publication name.

setMsgText

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