public class BusinessObject
extends java.lang.Object
<tuple xmlns="http://schemas.cordys.com/rcor/1.0">
<new>
<businessobject>
<itemdetails>
<GTIN>2500</GTIN>
<BRANDNAME>PRORASO</BRANDNAME>
<PRICE>54</PRICE>
<REORDERLEVEL>1</REORDERLEVEL>
<DISCONTINUED>1</DISCONTINUED>
<DESCRIPTION>Help-updated</DESCRIPTION>
</itemdetails>
</businessobject>
<mdmmetadata>
<userdn>cn=mdmuser,cn=organizational users,o=mdm,cn=cordys,cn=defaultInst,o=mycompany.com</userdn>
<requestorganization>o=mdm,cn=cordys,cn=defaultInst,o=mycompany.com</requestorganization>
<rcorguid/>
<source>Items SQL Spoke Publisher</source>
<operation>Upload</operation>
<hub>
<keys>
<!-- key fields of the hub entity along with the values. -->
<GTIN>2500</GTIN>
</keys>
<!-- Name of the service group associated with hub data store. -->
<backend>Items MySQL Hub Publisher</backend>
<!-- Business object name of the hub entity. -->
<entity>itemdetails</entity>
<organization>o=HotFix,cn=cordys,cn=build342,o=vanenburg.com</organization>
<!-- The database operation performed on the hub data entity. Can be one of insert/update/delete. -->
<dbevent>insert</dbevent>
</hub>
<spoke>
<!-- The database operation performed on the spoke data entity. Can be one of insert/update/delete. -->
<dbevent>insert</dbevent>
<!-- key fields of the spoke entity along with the values. -->
<keys>
<GTIN>2500</GTIN>
</keys>
<!-- Name of the service group associated with spoke data store. -->
<backend>Items SQL Spoke Publisher</backend>
<!-- Business object name of the spoke entity. -->
<entity>ITEMDETAILS</entity>
<organization>o=HotFix,cn=cordys,cn=build342,o=vanenburg.com</organization>
</spoke>
</mdmmetadata>
</new>
</tuple>
Constructor and Description |
---|
BusinessObject(java.lang.String bizzObjectName,
int bizzObjectNode)
Constructs a
BusinessObject with the specified business object name and business object element |
BusinessObject(java.lang.String bizzObjectName,
int bizzObjectNode,
int metadataNode)
Constructs a
BusinessObject with the specified details |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBizzObjectName()
Returns name of the business object in the payload
|
int |
getBizzObjectNode()
Returns business object element in the payload.
|
int |
getMetadataNode()
Returns mdmmetadata element in the payload.
|
public BusinessObject(java.lang.String bizzObjectName, int bizzObjectNode)
BusinessObject
with the specified business object name and business object elementbizzObjectName
- business object namebizzObjectNode
- represents business object element of the payloadpublic BusinessObject(java.lang.String bizzObjectName, int bizzObjectNode, int metadataNode)
BusinessObject
with the specified detailsbizzObjectName
- business object namebizzObjectNode
- represents business object element of the payloadmetadataNode
- represents mdmmetadata element of the payloadpublic int getMetadataNode()
public java.lang.String getBizzObjectName()
public int getBizzObjectNode()