|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mirth.connect.server.userutil.MessageObject
public class MessageObject
This class represents a connector message and is used to retrieve details such as the message ID, metadata ID, status, and various content types.
ImmutableConnectorMessage
Constructor Summary | |
---|---|
MessageObject(ImmutableConnectorMessage connectorMessage)
Deprecated. This class is deprecated and will soon be removed. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Deprecated. This class is deprecated and will soon be removed. |
boolean |
equals(java.lang.Object that)
Deprecated. This class is deprecated and will soon be removed. |
java.lang.String |
getChannelId()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getChannelId() or the variable "channelId" instead. |
java.util.Map |
getChannelMap()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getChannelMap() or the variable "channelMap" instead. |
java.util.Map |
getConnectorMap()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getConnectorMap() or the variable "connectorMap" instead. |
java.lang.String |
getConnectorName()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getConnectorName() or the variable "connector" instead. |
java.util.Map<java.lang.String,java.lang.Object> |
getContext()
Deprecated. This class is deprecated and will soon be removed. |
java.lang.String |
getCorrelationId()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getMessageId() instead. |
java.util.Calendar |
getDateCreated()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getReceivedDate() instead. |
java.lang.String |
getEncodedData()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getEncodedData() instead. |
java.lang.String |
getEncodedDataProtocol()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getEncoded().getDataType() instead. |
java.lang.String |
getErrors()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getProcessingError() instead. |
java.lang.String |
getId()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getMessageId() instead. |
java.lang.String |
getRawData()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getRawData() instead. |
java.lang.String |
getRawDataProtocol()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getRaw().getDataType() instead. |
java.util.Map |
getResponseMap()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getResponseMap() or the variable "responseMap" instead. |
java.lang.String |
getServerId()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getServerId() instead. |
java.lang.String |
getSource()
Deprecated. This class is deprecated and will soon be removed. Please use the "mirth_source" variable in the connector map instead. |
Status |
getStatus()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getStatus() instead. Note that the UNKNOWN and ACCEPTED statuses are no longer valid. |
java.lang.String |
getTransformedData()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getTransformedData() instead. |
java.lang.String |
getTransformedDataProtocol()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.getRaw().getDataType() instead. |
java.lang.String |
getType()
Deprecated. This class is deprecated and will soon be removed. Please use the "mirth_type" variable in the connector map instead. |
java.lang.String |
getVersion()
Deprecated. This class is deprecated and will soon be removed. Please use the "mirth_version" variable in the connector map instead. |
boolean |
isAttachment()
Deprecated. This class is deprecated and will soon be removed. |
boolean |
isEncrypted()
Deprecated. This class is deprecated and will soon be removed. |
void |
setAttachment(boolean attachment)
Deprecated. This class is deprecated and will soon be removed. |
void |
setChannelId(java.lang.String channelId)
Deprecated. This class is deprecated and will soon be removed. |
void |
setChannelMap(java.util.Map channelMap)
Deprecated. This class is deprecated and will soon be removed. |
void |
setConnectorMap(java.util.Map variableMap)
Deprecated. This class is deprecated and will soon be removed. |
void |
setConnectorName(java.lang.String connectorName)
Deprecated. This class is deprecated and will soon be removed. |
void |
setContext(java.util.Map<java.lang.String,java.lang.Object> context)
Deprecated. This class is deprecated and will soon be removed. |
void |
setCorrelationId(java.lang.String correlationId)
Deprecated. This class is deprecated and will soon be removed. |
void |
setDateCreated(java.util.Calendar dateCreated)
Deprecated. This class is deprecated and will soon be removed. |
void |
setEncodedData(java.lang.String encodedData)
Deprecated. This class is deprecated and will soon be removed. |
void |
setEncodedDataProtocol(java.lang.String encodedDataProtocol)
Deprecated. This class is deprecated and will soon be removed. |
void |
setEncrypted(boolean encrypted)
Deprecated. This class is deprecated and will soon be removed. |
void |
setErrors(java.lang.String errors)
Deprecated. This class is deprecated and will soon be removed. |
void |
setId(java.lang.String id)
Deprecated. This class is deprecated and will soon be removed. |
void |
setRawData(java.lang.String rawData)
Deprecated. This class is deprecated and will soon be removed. |
void |
setRawDataProtocol(java.lang.String rawDataProtocol)
Deprecated. This class is deprecated and will soon be removed. |
void |
setResponseMap(java.util.Map responseMap)
Deprecated. This class is deprecated and will soon be removed. |
void |
setServerId(java.lang.String serverId)
Deprecated. This class is deprecated and will soon be removed. |
void |
setSource(java.lang.String source)
Deprecated. This class is deprecated and will soon be removed. Please set the "mirth_source" variable in the connector map instead. |
void |
setStatus(Status status)
Deprecated. This class is deprecated and will soon be removed. |
void |
setTransformedData(java.lang.String transformedData)
Deprecated. This class is deprecated and will soon be removed. |
void |
setTransformedDataProtocol(java.lang.String transformedDataProtocol)
Deprecated. This class is deprecated and will soon be removed. |
void |
setType(java.lang.String type)
Deprecated. This class is deprecated and will soon be removed. Please set the "mirth_type" variable in the connector map instead. |
void |
setVersion(java.lang.String version)
Deprecated. This class is deprecated and will soon be removed. Please set the "mirth_version" variable in the connector map instead. |
java.lang.String |
toAuditString()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.toString() instead. |
java.lang.String |
toString()
Deprecated. This class is deprecated and will soon be removed. Please use connectorMessage.toString() instead. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageObject(ImmutableConnectorMessage connectorMessage)
connectorMessage
- The connector message that this object will reference for retrieving data.Method Detail |
---|
public java.lang.String getSource()
public void setSource(java.lang.String source)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.String getChannelId()
public void setChannelId(java.lang.String channelId)
public Status getStatus()
public void setStatus(Status status)
public java.util.Calendar getDateCreated()
public void setDateCreated(java.util.Calendar dateCreated)
public java.lang.String getEncodedData()
public void setEncodedData(java.lang.String encodedData)
public java.lang.String getEncodedDataProtocol()
public void setEncodedDataProtocol(java.lang.String encodedDataProtocol)
public java.lang.String getRawData()
public void setRawData(java.lang.String rawData)
public java.lang.String getRawDataProtocol()
public void setRawDataProtocol(java.lang.String rawDataProtocol)
public java.lang.String getTransformedData()
public void setTransformedData(java.lang.String transformedData)
public java.lang.String getTransformedDataProtocol()
public void setTransformedDataProtocol(java.lang.String transformedDataProtocol)
public java.util.Map getConnectorMap()
public void setConnectorMap(java.util.Map variableMap)
public boolean isEncrypted()
public void setEncrypted(boolean encrypted)
public java.lang.String getConnectorName()
public void setConnectorName(java.lang.String connectorName)
public java.lang.String getErrors()
public void setErrors(java.lang.String errors)
public java.util.Map getResponseMap()
public void setResponseMap(java.util.Map responseMap)
public java.util.Map getChannelMap()
public void setChannelMap(java.util.Map channelMap)
public java.lang.String getServerId()
public void setServerId(java.lang.String serverId)
public boolean isAttachment()
public void setAttachment(boolean attachment)
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public java.lang.String getCorrelationId()
public void setCorrelationId(java.lang.String correlationId)
public java.util.Map<java.lang.String,java.lang.Object> getContext()
public void setContext(java.util.Map<java.lang.String,java.lang.Object> context)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toAuditString()
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |