@Entity public abstract class MessageExchange extends ActivityType implements Externalizable
HEADER_FORMAT_PROPERTY_PREFIX, RTGOV_PROPERTY_PREFIX| Constructor and Description |
|---|
MessageExchange()
The default constructor.
|
MessageExchange(MessageExchange mex)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
This method gets the content.
|
String |
getMessageType()
This method gets the message type.
|
void |
readExternal(ObjectInput in) |
void |
setContent(String content)
This method sets the content.
|
void |
setMessageType(String mtype)
This method sets the message type.
|
void |
writeExternal(ObjectOutput out) |
getContext, getPrincipal, getProperties, getTimestamp, getUnitId, getUnitIndex, setContext, setPrincipal, setProperties, setTimestamp, setUnitId, setUnitIndexpublic MessageExchange()
public MessageExchange(MessageExchange mex)
mex - The message exchange to copypublic void setMessageType(String mtype)
mtype - The message typepublic String getMessageType()
public void setContent(String content)
content - The contentpublic String getContent()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class ActivityTypeIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class ActivityTypeIOExceptionClassNotFoundExceptionCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.