Entry.EntryState
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,RecurrenceExceptionEntry> |
KEY
The key for this element.
|
Modifier | Constructor and Description |
---|---|
|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
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
adapt, adapt, addElement, addElement, addElement, clear, createElement, createElement, eq, 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, sameClassAs, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, validate, visit
public static final ElementKey<java.lang.Void,RecurrenceExceptionEntry> KEY
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 elementpublic static void registerMetadata(MetadataRegistry registry)
public RecurrenceExceptionEntry lock()
Element
public Comments getComments()
public RecurrenceExceptionEntry setComments(Comments comments)
comments
- Comments class or null
to resetpublic boolean hasComments()
public EventStatus getEventStatus()
public RecurrenceExceptionEntry setEventStatus(EventStatus eventStatus)
eventStatus
- event status or null
to resetpublic boolean hasEventStatus()
public OriginalEvent getOriginalEvent()
public RecurrenceExceptionEntry setOriginalEvent(OriginalEvent originalEvent)
originalEvent
- original event or null
to resetpublic boolean hasOriginalEvent()
public Transparency getTransparency()
public RecurrenceExceptionEntry setTransparency(Transparency transparency)
transparency
- event transparency or null
to resetpublic boolean hasTransparency()
public Visibility getVisibility()
public RecurrenceExceptionEntry setVisibility(Visibility visibility)
visibility
- event visibility or null
to resetpublic boolean hasVisibility()
public java.util.List<When> getWhen()
public RecurrenceExceptionEntry addWhen(When when)
when
- time period descriptionpublic boolean removeWhen(When when)
when
- time period descriptionpublic 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 descriptionpublic 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 descriptionpublic void clearWho()
public boolean hasWho()