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.
| Constructor and Description |
|---|
Place() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeIRI() |
getAddress, getLocation, setAddress, setLocationclone, 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, toStringpublic String getTypeIRI()
getTypeIRI in class ActivityObjectCopyright © 2021. All rights reserved.