|
|||||||||
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.RecurrenceExceptionEntry
public class RecurrenceExceptionEntry
Describes an entry used by a recurrence exception entry link.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.model.atom.Entry |
---|
Entry.EntryState |
Field Summary | |
---|---|
static ElementKey<java.lang.Void,RecurrenceExceptionEntry> |
KEY
The key for this element. |
Fields inherited from class com.google.gdata.model.atom.Entry |
---|
ID, PUBLISHED, RIGHTS, state, SUMMARY, TITLE, UPDATED |
Constructor Summary | |
---|---|
|
RecurrenceExceptionEntry()
Constructs an instance using the default key. |
protected |
RecurrenceExceptionEntry(ElementKey<?,? extends RecurrenceExceptionEntry> key)
Subclass constructor, allows subclasses to supply their own element key. |
protected |
RecurrenceExceptionEntry(ElementKey<?,? extends RecurrenceExceptionEntry> key,
Entry source)
Constructs a new instance by doing a shallow copy of data from an existing Entry instance. |
|
RecurrenceExceptionEntry(Entry sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing Entry instance. |
Method Summary | |
---|---|
RecurrenceExceptionEntry |
addWhen(When when)
Adds a new time period description. |
RecurrenceExceptionEntry |
addWhere(Where where)
Adds a new place description. |
RecurrenceExceptionEntry |
addWho(Who who)
Adds a new person description. |
void |
clearWhen()
Removes all existing time period description instances. |
void |
clearWhere()
Removes all existing place description instances. |
void |
clearWho()
Removes all existing person description instances. |
Comments |
getComments()
Returns the Comments class. |
EventStatus |
getEventStatus()
Returns the event status. |
OriginalEvent |
getOriginalEvent()
Returns the original event. |
Transparency |
getTransparency()
Returns the event transparency. |
Visibility |
getVisibility()
Returns the event visibility. |
java.util.List<When> |
getWhen()
Returns the time period descriptions. |
java.util.List<Where> |
getWhere()
Returns the place descriptions. |
java.util.List<Who> |
getWho()
Returns the person descriptions. |
boolean |
hasComments()
Returns whether it has the Comments class. |
boolean |
hasEventStatus()
Returns whether it has the event status. |
boolean |
hasOriginalEvent()
Returns whether it has the original event. |
boolean |
hasTransparency()
Returns whether it has the event transparency. |
boolean |
hasVisibility()
Returns whether it has the event visibility. |
boolean |
hasWhen()
Returns whether it has the time period descriptions. |
boolean |
hasWhere()
Returns whether it has the place descriptions. |
boolean |
hasWho()
Returns whether it has the person descriptions. |
RecurrenceExceptionEntry |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
boolean |
removeWhen(When when)
Removes an existing time period description. |
boolean |
removeWhere(Where where)
Removes an existing place description. |
boolean |
removeWho(Who who)
Removes an existing person description. |
RecurrenceExceptionEntry |
setComments(Comments comments)
Sets the Comments class. |
RecurrenceExceptionEntry |
setEventStatus(EventStatus eventStatus)
Sets the event status. |
RecurrenceExceptionEntry |
setOriginalEvent(OriginalEvent originalEvent)
Sets the original event. |
RecurrenceExceptionEntry |
setTransparency(Transparency transparency)
Sets the event transparency. |
RecurrenceExceptionEntry |
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, narrow, 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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,RecurrenceExceptionEntry> KEY
Constructor Detail |
---|
public RecurrenceExceptionEntry()
public RecurrenceExceptionEntry(Entry sourceEntry)
Entry
instance.
sourceEntry
- source entryprotected RecurrenceExceptionEntry(ElementKey<?,? extends RecurrenceExceptionEntry> key)
protected RecurrenceExceptionEntry(ElementKey<?,? extends RecurrenceExceptionEntry> key, Entry source)
Entry
instance. Will use the given ElementKey
as the key
for the element. This constructor is used when adapting from one element
key to another. You cannot call this constructor directly, instead use
Element.createElement(ElementKey, Element)
.
key
- The key to use for this element.source
- source elementMethod Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public RecurrenceExceptionEntry lock()
Element
lock
in class Element
public Comments getComments()
public RecurrenceExceptionEntry setComments(Comments comments)
comments
- Comments class or null
to reset
public boolean hasComments()
public EventStatus getEventStatus()
public RecurrenceExceptionEntry setEventStatus(EventStatus eventStatus)
eventStatus
- event status or null
to reset
public boolean hasEventStatus()
public OriginalEvent getOriginalEvent()
public RecurrenceExceptionEntry setOriginalEvent(OriginalEvent originalEvent)
originalEvent
- original event or null
to reset
public boolean hasOriginalEvent()
public Transparency getTransparency()
public RecurrenceExceptionEntry setTransparency(Transparency transparency)
transparency
- event transparency or null
to reset
public boolean hasTransparency()
public Visibility getVisibility()
public RecurrenceExceptionEntry setVisibility(Visibility visibility)
visibility
- event visibility or null
to reset
public boolean hasVisibility()
public java.util.List<When> getWhen()
public RecurrenceExceptionEntry addWhen(When when)
when
- time period descriptionpublic boolean removeWhen(When when)
when
- time period description
public void clearWhen()
public boolean hasWhen()
public java.util.List<Where> getWhere()
public RecurrenceExceptionEntry addWhere(Where where)
where
- place descriptionpublic boolean removeWhere(Where where)
where
- place description
public void clearWhere()
public boolean hasWhere()
public java.util.List<Who> getWho()
public RecurrenceExceptionEntry addWho(Who who)
who
- person descriptionpublic boolean removeWho(Who who)
who
- person description
public void clearWho()
public boolean hasWho()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |