|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.atom.Entry
com.google.gdata.model.gd.EventEntry
public class EventEntry
Describes an event entry.
Field Summary | |
---|---|
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. |
Fields inherited from class com.google.gdata.model.atom.Entry |
---|
ID, PUBLISHED, RIGHTS, SUMMARY, TITLE, UPDATED |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.google.gdata.model.atom.Entry |
---|
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, update |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
public static final ElementKey<java.lang.Void,EventEntry> KEY
Constructor Detail |
---|
public EventEntry()
public EventEntry(Entry sourceEntry)
Entry
instance.
sourceEntry
- source entryMethod Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public EventEntry lock()
Element
lock
in class Element
public Comments getComments()
public EventEntry setComments(Comments comments)
comments
- nested comments feed or null
to reset
public boolean hasComments()
public EventStatus getEventStatus()
public EventEntry setEventStatus(EventStatus eventStatus)
eventStatus
- event status or null
to reset
public boolean hasEventStatus()
public java.util.List<Where> getLocations()
public EventEntry addLocation(Where location)
location
- event locationpublic boolean removeLocation(Where location)
location
- event location
public void clearLocations()
public boolean hasLocations()
public OriginalEvent getOriginalEvent()
public EventEntry setOriginalEvent(OriginalEvent originalEvent)
originalEvent
- event original start time or null
to reset
public boolean hasOriginalEvent()
public java.util.List<Who> getParticipants()
public EventEntry addParticipant(Who participant)
participant
- event participantpublic boolean removeParticipant(Who participant)
participant
- event participant
public void clearParticipants()
public boolean hasParticipants()
public Recurrence getRecurrence()
public EventEntry setRecurrence(Recurrence recurrence)
recurrence
- event recurrence or null
to reset
public boolean hasRecurrence()
public java.util.List<RecurrenceException> getRecurrenceException()
public EventEntry addRecurrenceException(RecurrenceException recurrenceException)
recurrenceException
- recurrence exceptionpublic boolean removeRecurrenceException(RecurrenceException recurrenceException)
recurrenceException
- recurrence exception
public 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 reminder
public 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 time
public void clearTimes()
public boolean hasTimes()
public Transparency getTransparency()
public EventEntry setTransparency(Transparency transparency)
transparency
- event transparency or null
to reset
public boolean hasTransparency()
public Visibility getVisibility()
public EventEntry setVisibility(Visibility visibility)
visibility
- event visibility or null
to reset
public boolean hasVisibility()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |