public class Message extends Model
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Returns the message's body, a string specifying an optional expanded
version of an message.
|
String |
getBodyId()
Returns the message's body ID, a string specifying the body template
message ID in the accompanying gadget specification.
|
String |
getId()
Returns the message's unique identifier.
|
String |
getTitle()
Returns the message's title, a string specifying the primary text of an
message.
|
String |
getTitleId()
Returns the message's title ID, a string specifying the title template
message ID in the accompanying gadget specification.
|
void |
setBody(String body)
Sets the message's body, a string specifying an optional expanded version
of an message
|
void |
setBodyId(String bodyId)
Sets the message's body ID, a string specifying the body template message
ID in the accompanying gadget specification.
|
void |
setMessageCollectionId(String messageCollectionId) |
void |
setRecipient(String recipient) |
void |
setTitle(String title)
Sets the message's title, a string specifying the primary text of an
message.
|
void |
setTitleId(String titleId)
Sets the message's title ID, a string specifying the title template
message ID in the accompanying gadget specification.
|
addTemplateParameter, addToListField, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, getTemplateParameter, hasField, isFieldMultikeyed, isFieldMultivalued, setFieldescape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONStringclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCodepublic String getId()
public String getBody()
public String getBodyId()
public String getTitle()
public String getTitleId()
public void setBody(String body)
body - body to setpublic void setBodyId(String bodyId)
bodyId - body ID to setpublic void setTitle(String title)
title - title to setpublic void setTitleId(String titleId)
titleId - title ID to setpublic void setMessageCollectionId(String messageCollectionId)
public void setRecipient(String recipient)
Copyright © 2012. All Rights Reserved.