Package org.appng.xml.platform
Class Message
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Message
-
- All Implemented Interfaces:
Serializable
public class Message extends BaseObject implements Serializable
A single message- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageType
getClazz()
The type of the message.String
getCode()
A code for this message.String
getContent()
A single messageString
getRef()
void
setClazz(MessageType value)
Sets the value of the clazz property.void
setCode(String value)
Sets the value of the code property.void
setContent(String value)
Sets the value of the content property.void
setRef(String value)
Sets the value of the ref property.
-
-
-
Field Detail
-
content
protected String content
-
ref
protected String ref
-
clazz
protected MessageType clazz
-
code
protected String code
-
-
Method Detail
-
setContent
public void setContent(String value)
Sets the value of the content property.- Parameters:
value
- allowed object isString
-
setRef
public void setRef(String value)
Sets the value of the ref property.- Parameters:
value
- allowed object isString
-
getClazz
public MessageType getClazz()
The type of the message.- Returns:
- possible object is
MessageType
-
setClazz
public void setClazz(MessageType value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isMessageType
-
-