|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mulesoft.adapter.ra.XIMessageRecordImpl
public class XIMessageRecordImpl
The XIMessageRecordImpl implements a CCI custom record that contains a XI message object
| Constructor Summary | |
|---|---|
XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Message msg)
Create a new CCI message record but store an existing reference to XI AF message for delegation. |
|
XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Party fromParty,
com.sap.engine.interfaces.messaging.api.Party toParty,
com.sap.engine.interfaces.messaging.api.Service fromService,
com.sap.engine.interfaces.messaging.api.Service toService,
com.sap.engine.interfaces.messaging.api.Action action)
Creates a new empty message record with only party, service, action and the message id header fields set. |
|
XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Party fromParty,
com.sap.engine.interfaces.messaging.api.Party toParty,
com.sap.engine.interfaces.messaging.api.Service fromService,
com.sap.engine.interfaces.messaging.api.Service toService,
com.sap.engine.interfaces.messaging.api.Action action,
String messageId)
Creates a new empty message record with only party, service, action and the message id header fields set. |
|
| Method Summary | |
|---|---|
Object |
clone()
Redefine clone to resolve Record/Object ambiguity (ra implementation specific) |
String |
getRecordName()
Returns the record name. |
String |
getRecordShortDescription()
Sets the record description. |
com.sap.engine.interfaces.messaging.api.Message |
getXIMessage()
Return the associated XI message object (XI specific) |
void |
setRecordName(String name)
Sets the record name. |
void |
setRecordShortDescription(String recordShortDescription)
Gets the record description. |
void |
setXIMessage(com.sap.engine.interfaces.messaging.api.Message message)
Associate a new XI message object with this record (XI specific) |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.cci.Record |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Party fromParty,
com.sap.engine.interfaces.messaging.api.Party toParty,
com.sap.engine.interfaces.messaging.api.Service fromService,
com.sap.engine.interfaces.messaging.api.Service toService,
com.sap.engine.interfaces.messaging.api.Action action)
throws javax.resource.ResourceException
null, an
InvalidParamException will be thrown.
- Parameters:
fromParty - the originating partytoParty - the destination partyfromService - the originating servicetoService - the destination serviceaction - the action of the targeting processactionNs - the namespace of the action
- Throws:
javax.resource.ResourceException - if the message couldn't be created.
public XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Party fromParty,
com.sap.engine.interfaces.messaging.api.Party toParty,
com.sap.engine.interfaces.messaging.api.Service fromService,
com.sap.engine.interfaces.messaging.api.Service toService,
com.sap.engine.interfaces.messaging.api.Action action,
String messageId)
throws javax.resource.ResourceException
null, an
InvalidParamException will be thrown.
- Parameters:
fromParty - the originating partytoParty - the destination partyfromService - the originating servicetoService - the destination serviceaction - the action of the targeting processactionNs - the namespace of the actionmessageId - the Message ID.
- Throws:
javax.resource.ResourceException - if the message couldn't be created.
public XIMessageRecordImpl(com.sap.engine.interfaces.messaging.api.Message msg)
| Method Detail |
|---|
public String getRecordName()
getRecordName in interface javax.resource.cci.RecordRecord.getRecordName()public void setRecordName(String name)
setRecordName in interface javax.resource.cci.Recordname - Not usedpublic void setRecordShortDescription(String recordShortDescription)
setRecordShortDescription in interface javax.resource.cci.RecordRecord.setRecordShortDescription(java.lang.String)public String getRecordShortDescription()
getRecordShortDescription in interface javax.resource.cci.RecordRecord.getRecordShortDescription()
public Object clone()
throws CloneNotSupportedException
clone in interface javax.resource.cci.Recordclone in class ObjectCloneNotSupportedExceptionpublic void setXIMessage(com.sap.engine.interfaces.messaging.api.Message message)
setXIMessage in interface com.sap.aii.af.lib.ra.cci.XIMessageRecordmessage - New XI message objectpublic com.sap.engine.interfaces.messaging.api.Message getXIMessage()
getXIMessage in interface com.sap.aii.af.lib.ra.cci.XIMessageRecord
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||