@Generated(value="org.jsonschema2pojo") public class ActivityObject extends Object implements Serializable
Basic object on the web. The only required property is the id
Constructor and Description |
---|
ActivityObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
List<ActivityObject> |
getAttachments()
Related objects
|
Author |
getAuthor()
Describes the entity that created or authored the object.
|
String |
getContent()
Natural-language description of the object encoded as a single JSON String containing HTML markup.
|
String |
getDisplayName()
A natural-language, human-readable and plain-text name for the object.
|
List<String> |
getDownstreamDuplicates()
A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content.
|
String |
getId()
Provides a permanent, universally unique identifier for the object in the form of an absolute IRI [RFC3987].
|
Image |
getImage()
Description of a resource providing a visual representation of the object, intended for human consumption.
|
String |
getObjectType()
Identifies the type of object.
|
org.joda.time.DateTime |
getPublished()
[RFC3339] date-time.
|
String |
getSummary()
Natural-language summary of the object encoded as a single JSON String containing HTML markup.
|
org.joda.time.DateTime |
getUpdated()
[RFC3339] date-time.
|
List<String> |
getUpstreamDuplicates()
A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content.
|
String |
getUrl()
An IRI [RFC3987] identifying a resource providing an HTML representation of the object.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAttachments(List<ActivityObject> attachments)
Related objects
|
void |
setAuthor(Author author)
Describes the entity that created or authored the object.
|
void |
setContent(String content)
Natural-language description of the object encoded as a single JSON String containing HTML markup.
|
void |
setDisplayName(String displayName)
A natural-language, human-readable and plain-text name for the object.
|
void |
setDownstreamDuplicates(List<String> downstreamDuplicates)
A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content.
|
void |
setId(String id)
Provides a permanent, universally unique identifier for the object in the form of an absolute IRI [RFC3987].
|
void |
setImage(Image image)
Description of a resource providing a visual representation of the object, intended for human consumption.
|
void |
setObjectType(String objectType)
Identifies the type of object.
|
void |
setPublished(org.joda.time.DateTime published)
[RFC3339] date-time.
|
void |
setSummary(String summary)
Natural-language summary of the object encoded as a single JSON String containing HTML markup.
|
void |
setUpdated(org.joda.time.DateTime updated)
[RFC3339] date-time.
|
void |
setUpstreamDuplicates(List<String> upstreamDuplicates)
A JSON Array of one or more absolute IRI's [RFC3987] identifying objects that duplicate this object's content.
|
void |
setUrl(String url)
An IRI [RFC3987] identifying a resource providing an HTML representation of the object.
|
String |
toString() |
ActivityObject |
withAdditionalProperty(String name,
Object value) |
ActivityObject |
withAttachments(List<ActivityObject> attachments) |
ActivityObject |
withAuthor(Author author) |
ActivityObject |
withContent(String content) |
ActivityObject |
withDisplayName(String displayName) |
ActivityObject |
withDownstreamDuplicates(List<String> downstreamDuplicates) |
ActivityObject |
withId(String id) |
ActivityObject |
withImage(Image image) |
ActivityObject |
withObjectType(String objectType) |
ActivityObject |
withPublished(org.joda.time.DateTime published) |
ActivityObject |
withSummary(String summary) |
ActivityObject |
withUpdated(org.joda.time.DateTime updated) |
ActivityObject |
withUpstreamDuplicates(List<String> upstreamDuplicates) |
ActivityObject |
withUrl(String url) |
@BeanProperty(value="id") public String getId()
@BeanProperty(value="id") public void setId(String id)
id
- The idpublic ActivityObject withId(String id)
@BeanProperty(value="image") public Image getImage()
@BeanProperty(value="image") public void setImage(Image image)
image
- The imagepublic ActivityObject withImage(Image image)
@BeanProperty(value="displayName") public String getDisplayName()
@BeanProperty(value="displayName") public void setDisplayName(String displayName)
displayName
- The displayNamepublic ActivityObject withDisplayName(String displayName)
@BeanProperty(value="summary") public String getSummary()
@BeanProperty(value="summary") public void setSummary(String summary)
summary
- The summarypublic ActivityObject withSummary(String summary)
@BeanProperty(value="content") public String getContent()
@BeanProperty(value="content") public void setContent(String content)
content
- The contentpublic ActivityObject withContent(String content)
@BeanProperty(value="url") public String getUrl()
@BeanProperty(value="url") public void setUrl(String url)
url
- The urlpublic ActivityObject withUrl(String url)
@BeanProperty(value="objectType") public String getObjectType()
@BeanProperty(value="objectType") public void setObjectType(String objectType)
objectType
- The objectTypepublic ActivityObject withObjectType(String objectType)
@BeanProperty(value="author") public Author getAuthor()
@BeanProperty(value="author") public void setAuthor(Author author)
author
- The authorpublic ActivityObject withAuthor(Author author)
@BeanProperty(value="published") public org.joda.time.DateTime getPublished()
@BeanProperty(value="published") public void setPublished(org.joda.time.DateTime published)
published
- The publishedpublic ActivityObject withPublished(org.joda.time.DateTime published)
@BeanProperty(value="updated") public org.joda.time.DateTime getUpdated()
@BeanProperty(value="updated") public void setUpdated(org.joda.time.DateTime updated)
updated
- The updatedpublic ActivityObject withUpdated(org.joda.time.DateTime updated)
@BeanProperty(value="attachments") public List<ActivityObject> getAttachments()
A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. An object MAY have an attachedObjects property whose value is a JSON Array of Objects.
@BeanProperty(value="attachments") public void setAttachments(List<ActivityObject> attachments)
A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. An object MAY have an attachedObjects property whose value is a JSON Array of Objects.
attachments
- The attachmentspublic ActivityObject withAttachments(List<ActivityObject> attachments)
@BeanProperty(value="upstreamDuplicates") public List<String> getUpstreamDuplicates()
@BeanProperty(value="upstreamDuplicates") public void setUpstreamDuplicates(List<String> upstreamDuplicates)
upstreamDuplicates
- The upstreamDuplicatespublic ActivityObject withUpstreamDuplicates(List<String> upstreamDuplicates)
@BeanProperty(value="downstreamDuplicates") public List<String> getDownstreamDuplicates()
@BeanProperty(value="downstreamDuplicates") public void setDownstreamDuplicates(List<String> downstreamDuplicates)
downstreamDuplicates
- The downstreamDuplicatespublic ActivityObject withDownstreamDuplicates(List<String> downstreamDuplicates)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public ActivityObject withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.