| Modifier and Type | Field and Description |
|---|---|
static Category |
CATEGORY
Event kind category.
|
static ElementKey<java.lang.Void,EventEntry> |
KEY
The key for this element.
|
static java.lang.String |
KIND
Event kind term value.
|
| Constructor and Description |
|---|
EventEntry()
Constructs an instance using the default key.
|
EventEntry(Entry sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
Entry instance. |
| Modifier and Type | Method and Description |
|---|---|
EventEntry |
addLocation(Where location)
Adds a new event location.
|
EventEntry |
addParticipant(Who participant)
Adds a new event participant.
|
EventEntry |
addRecurrenceException(RecurrenceException recurrenceException)
Adds a new recurrence exception.
|
EventEntry |
addReminder(Reminder reminder)
Adds a new event reminder.
|
EventEntry |
addTime(When time)
Adds a new event time.
|
void |
clearLocations()
Removes all existing event location instances.
|
void |
clearParticipants()
Removes all existing event participant instances.
|
void |
clearRecurrenceException()
Removes all existing recurrence exception instances.
|
void |
clearReminders()
Removes all existing event reminder instances.
|
void |
clearTimes()
Removes all existing event time instances.
|
Comments |
getComments()
Returns the nested comments feed.
|
EventStatus |
getEventStatus()
Returns the event status.
|
java.util.List<Where> |
getLocations()
Returns the event locations.
|
OriginalEvent |
getOriginalEvent()
Returns the event original start time.
|
java.util.List<Who> |
getParticipants()
Returns the event participants.
|
Recurrence |
getRecurrence()
Returns the event recurrence.
|
java.util.List<RecurrenceException> |
getRecurrenceException()
Returns the recurrence exceptions.
|
java.util.List<Reminder> |
getReminders()
Returns the event reminders.
|
java.util.List<When> |
getTimes()
Returns the event times.
|
Transparency |
getTransparency()
Returns the event transparency.
|
Visibility |
getVisibility()
Returns the event visibility.
|
boolean |
hasComments()
Returns whether it has the nested comments feed.
|
boolean |
hasEventStatus()
Returns whether it has the event status.
|
boolean |
hasLocations()
Returns whether it has the event locations.
|
boolean |
hasOriginalEvent()
Returns whether it has the event original start time.
|
boolean |
hasParticipants()
Returns whether it has the event participants.
|
boolean |
hasRecurrence()
Returns whether it has the event recurrence.
|
boolean |
hasRecurrenceException()
Returns whether it has the recurrence exceptions.
|
boolean |
hasReminders()
Returns whether it has the event reminders.
|
boolean |
hasTimes()
Returns whether it has the event times.
|
boolean |
hasTransparency()
Returns whether it has the event transparency.
|
boolean |
hasVisibility()
Returns whether it has the event visibility.
|
EventEntry |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
boolean |
removeLocation(Where location)
Removes an existing event location.
|
boolean |
removeParticipant(Who participant)
Removes an existing event participant.
|
boolean |
removeRecurrenceException(RecurrenceException recurrenceException)
Removes an existing recurrence exception.
|
boolean |
removeReminder(Reminder reminder)
Removes an existing event reminder.
|
boolean |
removeTime(When time)
Removes an existing event time.
|
EventEntry |
setComments(Comments comments)
Sets the nested comments feed.
|
EventEntry |
setEventStatus(EventStatus eventStatus)
Sets the event status.
|
EventEntry |
setOriginalEvent(OriginalEvent originalEvent)
Sets the event original start time.
|
EventEntry |
setRecurrence(Recurrence recurrence)
Sets the event recurrence.
|
EventEntry |
setTransparency(Transparency transparency)
Sets the event transparency.
|
EventEntry |
setVisibility(Visibility visibility)
Sets the event visibility.
|
addAuthor, addCategory, addContributor, addHtmlLink, addLink, addLink, clearAuthors, clearCategories, clearContributors, delete, getAuthors, getCanEdit, getCategories, getContent, getContributors, getControl, getEdited, getEditLink, getEtag, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, hasControl, isDraft, removeAuthor, removeContent, removeContributor, removeLink, removeLinks, removeLinks, setCanEdit, setContent, setControl, setDraft, setEdited, setEtag, setId, setKind, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, updateaddElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visitpublic static final java.lang.String KIND
public static final Category CATEGORY
public static final ElementKey<java.lang.Void,EventEntry> KEY
public static void registerMetadata(MetadataRegistry registry)
public EventEntry lock()
Elementpublic Comments getComments()
public EventEntry setComments(Comments comments)
comments - nested comments feed or null to resetpublic boolean hasComments()
public EventStatus getEventStatus()
public EventEntry setEventStatus(EventStatus eventStatus)
eventStatus - event status or null to resetpublic boolean hasEventStatus()
public java.util.List<Where> getLocations()
public EventEntry addLocation(Where location)
location - event locationpublic boolean removeLocation(Where location)
location - event locationpublic void clearLocations()
public boolean hasLocations()
public OriginalEvent getOriginalEvent()
public EventEntry setOriginalEvent(OriginalEvent originalEvent)
originalEvent - event original start time or null to resetpublic boolean hasOriginalEvent()
public java.util.List<Who> getParticipants()
public EventEntry addParticipant(Who participant)
participant - event participantpublic boolean removeParticipant(Who participant)
participant - event participantpublic void clearParticipants()
public boolean hasParticipants()
public Recurrence getRecurrence()
public EventEntry setRecurrence(Recurrence recurrence)
recurrence - event recurrence or null to resetpublic boolean hasRecurrence()
public java.util.List<RecurrenceException> getRecurrenceException()
public EventEntry addRecurrenceException(RecurrenceException recurrenceException)
recurrenceException - recurrence exceptionpublic boolean removeRecurrenceException(RecurrenceException recurrenceException)
recurrenceException - recurrence exceptionpublic void clearRecurrenceException()
public boolean hasRecurrenceException()
public java.util.List<Reminder> getReminders()
public EventEntry addReminder(Reminder reminder)
reminder - event reminderpublic boolean removeReminder(Reminder reminder)
reminder - event reminderpublic void clearReminders()
public boolean hasReminders()
public java.util.List<When> getTimes()
public EventEntry addTime(When time)
time - event timepublic boolean removeTime(When time)
time - event timepublic void clearTimes()
public boolean hasTimes()
public Transparency getTransparency()
public EventEntry setTransparency(Transparency transparency)
transparency - event transparency or null to resetpublic boolean hasTransparency()
public Visibility getVisibility()
public EventEntry setVisibility(Visibility visibility)
visibility - event visibility or null to resetpublic boolean hasVisibility()