public class Event extends ActivityObject
The "event" object type represents an event that occurs in a certain place during a particular interval of time.
The object type URL for the "event" object type is http://activitystrea.ms/schema/1.0/event.
An event has the following additional components:
- Start Date and Time
- The date and time that the event begins. Represented in JSON as a property called startTime whose value is JSON string containing a W3CDTF timestamp. [TODO: Reference W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]
- End Date and Time
- The date and time that the event ends. Represented in JSON as a property called endTime whose value is JSON string containing a W3CDTF timestamp. [TODO: Reference W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
String |
getTypeIRI() |
getAddress, getLocation, setAddress, setLocation
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
public String getTypeIRI()
getTypeIRI
in class ActivityObject
Copyright © 2017. All rights reserved.