public class Message extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.MessageChildren |
static class |
Message.MessageFields |
| Modifier and Type | Field and Description |
|---|---|
static String |
ONE_MESSAGE_QUERY_OBJECT_NAME |
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAnnotations() |
String |
getContent() |
String |
getContentType() |
Date |
getCreated() |
Person |
getCreatedBy() |
List<Annotation> |
getGenericAnnotations() |
String |
getId() |
Date |
getUpdated() |
Person |
getUpdatedBy() |
void |
setAnnotations(List<String> annotations) |
void |
setContent(String content) |
void |
setContentType(String contentType) |
void |
setCreated(Date created) |
void |
setCreatedBy(Person createdBy) |
void |
setId(String id) |
void |
setUpdated(Date updated) |
void |
setUpdatedBy(Person updatedBy) |
public static final String ONE_MESSAGE_QUERY_OBJECT_NAME
public String getId()
public void setId(String id)
id - String, id of the Messagepublic String getContentType()
public void setContentType(String contentType)
contentType - String, content type of the Messagepublic String getContent()
public void setContent(String content)
content - String, content of the Messagepublic Date getCreated()
public void setCreated(Date created)
created - Date the Message was written to the Conversationpublic Date getUpdated()
public void setUpdated(Date updated)
updated - Date the Message was last updated in the Conversationpublic Person getCreatedBy()
public void setCreatedBy(Person createdBy)
createdBy - Person who created the Messagepublic Person getUpdatedBy()
public void setUpdatedBy(Person updatedBy)
updatedBy - Person who last updated the Messagepublic List<String> getAnnotations()
public void setAnnotations(List<String> annotations)
annotations - List of String annotations for the Messagepublic List<Annotation> getGenericAnnotations()
Annotation objects corresponding to the annotations for the MessageCopyright © 2018 OpenNTF. All rights reserved.