public class Activity extends Model
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Returns the activity's body, a string specifying an optional expanded
version of an activity.
|
String |
getBodyId()
Returns the activity's body ID, a string specifying the body template
message ID in the accompanying gadget specification.
|
String |
getId()
Returns the activity's unique identifier.
|
String |
getTitle()
Returns the activity's title, a string specifying the primary text of an
activity.
|
String |
getTitleId()
Returns the activity's title ID, a string specifying the title template
message ID in the accompanying gadget specification.
|
void |
setBody(String body)
Sets the activity's body, a string specifying an optional expanded version
of an activity
|
void |
setBodyId(String bodyId)
Sets the activity's body ID, a string specifying the body template message
ID in the accompanying gadget specification.
|
void |
setTitle(String title)
Sets the activity's title, a string specifying the primary text of an
activity.
|
void |
setTitleId(String titleId)
Sets the activity'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 setCopyright © 2012. All Rights Reserved.