public class ImmutableMessageContent extends Object
Constructor and Description |
---|
ImmutableMessageContent(com.mirth.connect.donkey.model.message.MessageContent messageContent)
Instantiates a new ImmutableMessageContent object.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the actual content, as a string.
|
ContentType |
getContentType()
Returns the ContentType of this message content (e.g.
|
String |
getDataType()
Returns the data type (e.g.
|
long |
getMessageId()
Returns the sequential ID of the overall Message associated with this message content.
|
int |
getMetaDataId()
Returns the metadata ID of the connector associated with this message content.
|
public ImmutableMessageContent(com.mirth.connect.donkey.model.message.MessageContent messageContent)
messageContent
- The MessageContent object that this object will reference for retrieving data.public ContentType getContentType()
public String getContent()
public long getMessageId()
public int getMetaDataId()
public String getDataType()