public class ActivityObjectImpl extends Object implements ActivityObject
ActivityObjectImpl class.
ActivityObject.Field| Constructor and Description |
|---|
ActivityObjectImpl()
A simple implementation of an ActivtyObject
|
| Modifier and Type | Method and Description |
|---|---|
ActionLink |
getAction()
Returns an ActionLink for this object
|
List<ActivityObject> |
getAttached()
Gets the list of Attached Activities for this entry
|
List<String> |
getDownstreamDuplicateId()
Get the list of downstream duplicate Ids
|
String |
getId()
Gets the absolute URI that uniquely identifies the object
|
ActivityObject |
getInReplyTo()
Get the Activity this item is a response to
|
MediaLink |
getMedia()
Get the link to a media item
|
String |
getName() |
String |
getPermalink()
Get the permanent link
|
List<ActivityObject> |
getReaction()
Gets the list of reaction Activities for this entry
|
List<ActivityObject> |
getReply()
Gets the list of reply Activities for this entry
|
String |
getStandardLink()
Return a standard link string
|
String |
getSummary()
Gets the human-readable summary for this object.
|
List<String> |
getType()
Returns a list of Type strings
|
List<String> |
getUpstreamDuplicateId()
Get the list of upstream duplicate Ids
|
void |
setAction(ActionLink action)
Sets the ActionLink for this object
|
void |
setAttached(List<ActivityObject> attached)
Sets the list of Attached Activities for this entry
|
void |
setDownstreamDuplicateId(List<String> downstreamDuplicateId)
Set the list of downstream duplicate Ids
|
void |
setId(String id)
Set the absolute URI that uniquely identifies the object
|
void |
setInReplyTo(ActivityObject inReplyTo)
Set the Activity this item is a response to
|
void |
setMedia(MediaLink media)
Set the link to a media item
|
void |
setName(String name)
Sets the name
|
void |
setPermalink(String permalink)
Set the permanent link
|
void |
setReaction(List<ActivityObject> reaction)
Sets the list of reaction Activities for this entry
|
void |
setReply(List<ActivityObject> reply)
Sets the list of reply Activities for this entry
|
void |
setStandardLink(String standardLink)
Set the standard link string
|
void |
setSummary(String summary)
Sets the human-readable summary for this object.
|
void |
setType(List<String> type)
set the list of Type strings
|
void |
setUpstreamDuplicateId(List<String> upstreamDuplicateId)
Set the list of upstream duplicate Ids
|
public ActivityObjectImpl()
public String getId()
getId in interface ActivityObjectpublic void setId(String id)
setId in interface ActivityObjectid - a non-null stringpublic String getName()
getName in interface ActivityObjectpublic void setName(String name)
setName in interface ActivityObjectname - a human-readable namepublic String getSummary()
getSummary in interface ActivityObjectpublic void setSummary(String summary)
setSummary in interface ActivityObjectsummary - a summarypublic MediaLink getMedia()
getMedia in interface ActivityObjectMediaLink object.public void setMedia(MediaLink media)
setMedia in interface ActivityObjectmedia - a MediaLink object.public String getPermalink()
getPermalink in interface ActivityObjectpublic void setPermalink(String permalink)
setPermalink in interface ActivityObjectpermalink - a permalink string, possibly nullpublic List<String> getType()
getType in interface ActivityObjectpublic void setType(List<String> type)
setType in interface ActivityObjecttype - a list of Type stringspublic ActivityObject getInReplyTo()
getInReplyTo in interface ActivityObjectActivityObjectpublic void setInReplyTo(ActivityObject inReplyTo)
setInReplyTo in interface ActivityObjectinReplyTo - a ActivityObject object.public List<ActivityObject> getAttached()
getAttached in interface ActivityObjectpublic void setAttached(List<ActivityObject> attached)
setAttached in interface ActivityObjectattached - a list of ActivityObjectspublic List<ActivityObject> getReply()
getReply in interface ActivityObjectpublic void setReply(List<ActivityObject> reply)
setReply in interface ActivityObjectreply - a list of ActivityObjectspublic List<ActivityObject> getReaction()
getReaction in interface ActivityObjectpublic void setReaction(List<ActivityObject> reaction)
setReaction in interface ActivityObjectreaction - a list of ActivityObjectspublic ActionLink getAction()
getAction in interface ActivityObjectActionLink object.public void setAction(ActionLink action)
setAction in interface ActivityObjectaction - a ActionLink object.public List<String> getUpstreamDuplicateId()
getUpstreamDuplicateId in interface ActivityObjectpublic void setUpstreamDuplicateId(List<String> upstreamDuplicateId)
setUpstreamDuplicateId in interface ActivityObjectupstreamDuplicateId - a list of strings containing duplicate Idspublic List<String> getDownstreamDuplicateId()
getDownstreamDuplicateId in interface ActivityObjectpublic void setDownstreamDuplicateId(List<String> downstreamDuplicateId)
setDownstreamDuplicateId in interface ActivityObjectdownstreamDuplicateId - a list of strings containing duplicate Idspublic String getStandardLink()
getStandardLink in interface ActivityObjectpublic void setStandardLink(String standardLink)
setStandardLink in interface ActivityObjectstandardLink - the standard linkCopyright © 2007-2012. All Rights Reserved.