|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface abstracts the data within a message published by an ADB-like agent. It provides methods to extract the data from the message.
If a database table has the parent role in a parent-child relationship with another table and the DB publishing agents are configured to published child rows, then, when the parent table is modified, DB agent will publish the related rows from the child table(s). The child table data can be retrieved by getChildRowData method.
ChildPubMsgData
Method Summary | |
java.lang.String |
getAgentId()
Get the Agent Id. |
DbChildPubMsgData[] |
getChildRowData()
Get all the child table data. |
java.lang.String |
getClassName()
Get the message class - the message class is the name of the table from which the update is published. |
com.tibco.tibrv.TibrvMsg |
getData()
Get the published data message. |
DbOpcode |
getOpcode()
Get the message opcode. |
java.lang.Long |
getSequence()
Get the message sequence number. |
java.lang.String |
getSubject()
Get the message subject. |
boolean |
isValid()
Check if the object contains a valid result set. |
Method Detail |
public boolean isValid()
true
if the object contains a valid
result set. Returns false
if the object does
not contain a valid result set.public com.tibco.tibrv.TibrvMsg getData()
public java.lang.String getClassName() throws DbSystemException
null
is returned if the
class name is not formatted correctly.public java.lang.String getSubject() throws DbBusinessException, DbSystemException
null
if subject is not found.public java.lang.Long getSequence() throws DbBusinessException, DbSystemException
null
if sequence
number is not found.public DbOpcode getOpcode() throws DbBusinessException, DbSystemException
AdbOpcode
public java.lang.String getAgentId() throws DbBusinessException, DbSystemException
null
if agent id is not found.public DbChildPubMsgData[] getChildRowData()
ChildPubMsgData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |