Class Place
- java.lang.Object
-
- com.rometools.rome.feed.atom.Entry
-
- com.rometools.modules.activitystreams.types.ActivityObject
-
- com.rometools.modules.activitystreams.types.Place
-
- All Implemented Interfaces:
HasLocation,Extendable,Serializable,Cloneable
public class Place extends ActivityObject
The "place" object type represents a location on Earth.
The "place" object type is identified by the URI http://activitystrea.ms/schema/1.0/place.
A place has the following additional components:
- Latitude
- The latitude of the place as a point on Earth. Represented in JSON as a property named latitude whose value is a JSON number containing a decimal representation of the latitude in degrees.
- Longitude
- The longitude of the place as a point on Earth. Represented in JSON as a property named longitude whose value is a JSON number containing a decimal representation of the longitude in degrees.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Place()
-
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
-
-