Class Product
- java.lang.Object
-
- com.rometools.rome.feed.atom.Entry
-
- com.rometools.modules.activitystreams.types.ActivityObject
-
- com.rometools.modules.activitystreams.types.Product
-
- All Implemented Interfaces:
HasLocation,Extendable,Serializable,Cloneable
public class Product extends ActivityObject
The "product" object type represents a commercial good or service.
The "product" object type is identified by the URI http://activitystrea.ms/schema/1.0/product.
A product has the following additional components:
- Thumbnail
- A link to a thumbnail-sized image that contains a photo of the product. Represented by the Representative Image component of the base Object Construct. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.
- Larger Image
- A Media Link Construct linking to a larger -- ideally, full-size -- version of the photo of the product. Represented in JSON as a property named fullImage whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct].
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Product()
-
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
-
-