Class Service
- java.lang.Object
-
- com.rometools.rome.feed.atom.Entry
-
- com.rometools.modules.activitystreams.types.ActivityObject
-
- com.rometools.modules.activitystreams.types.Service
-
- All Implemented Interfaces:
HasLocation,Extendable,Serializable,Cloneable
public class Service extends ActivityObject
The "service" Object type represents a website, personal website or blog, business, brand, or other entity that performs some kind of work for other entities, people, or services, or acts as kind of container for other objects.
The "service" Object type is identified by the URI http://activitystrea.ms/schema/1.0/service.
A service has the following additional components:
- icon
- A Media Link Construct representing a link to a small image representing the service. Represented in JSON as a property named icon whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct]. The linked image MUST have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Service()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTypeIRI()-
Methods inherited from class com.rometools.modules.activitystreams.types.ActivityObject
getAddress, getLocation, setAddress, setLocation
-
Methods inherited from class com.rometools.rome.feed.atom.Entry
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
-
-
-
-
Method Detail
-
getTypeIRI
public String getTypeIRI()
- Specified by:
getTypeIRIin classActivityObject
-
-