E
- concrete event entry typepublic class BaseEventEntry<E extends BaseEventEntry<E>> extends BaseEntry<E>
Modifier and Type | Class and Description |
---|---|
static class |
BaseEventEntry.EventStatus
Defines the base set of values for event status.
|
static class |
BaseEventEntry.Transparency
Defines the base set of values for event transparency.
|
static class |
BaseEventEntry.Visibility
Defines the base set of values for event visibility.
|
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
xmlBlob
localName, namespace
Constructor and Description |
---|
BaseEventEntry()
Constructs a new EventEntry with the appropriate kind category
to indicate that it is an event.
|
BaseEventEntry(BaseEntry<?> sourceEntry)
Constructs a new EventEntry instance by doing a shallow copy of data from
an existing BaseEntry instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addLocation(Where location)
Adds a new event location.
|
void |
addRecurrenceException(RecurrenceException exception)
Adds a new recurrence exception.
|
void |
addTime(When time)
Adds a new event time.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
java.util.List<Where> |
getLocations()
Returns the list of event locations
|
OriginalEvent |
getOriginalEvent()
Returns the event original start time.
|
Recurrence |
getRecurrence()
Returns the event recurrence.
|
java.util.List<RecurrenceException> |
getRecurrenceException()
Returns the list of recurrence exceptions.
|
java.util.List<Reminder> |
getReminder()
Returns event reminders.
|
BaseEventEntry.EventStatus |
getStatus()
Returns the event status.
|
java.util.List<When> |
getTimes()
Returns the list of event times.
|
BaseEventEntry.Transparency |
getTransparency()
Returns the event transparency.
|
BaseEventEntry.Visibility |
getVisibility()
Returns the event visibility.
|
void |
setOriginalEvent(OriginalEvent v)
Sets the event original start time.
|
void |
setRecurrence(Recurrence v)
Sets the event recurrence.
|
void |
setStatus(BaseEventEntry.EventStatus status)
Sets the event status.
|
void |
setTransparency(BaseEventEntry.Transparency transparency)
Sets the event transparency.
|
void |
setVisibility(BaseEventEntry.Visibility v)
Sets the event visibility.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public BaseEventEntry()
public BaseEventEntry(BaseEntry<?> sourceEntry)
sourceEntry
- entry to copypublic void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.util.List<When> getTimes()
public void addTime(When time)
public java.util.List<Where> getLocations()
public void addLocation(Where location)
public BaseEventEntry.EventStatus getStatus()
public void setStatus(BaseEventEntry.EventStatus status)
public BaseEventEntry.Visibility getVisibility()
public void setVisibility(BaseEventEntry.Visibility v)
public BaseEventEntry.Transparency getTransparency()
public void setTransparency(BaseEventEntry.Transparency transparency)
public Recurrence getRecurrence()
public void setRecurrence(Recurrence v)
public java.util.List<RecurrenceException> getRecurrenceException()
public void addRecurrenceException(RecurrenceException exception)
public OriginalEvent getOriginalEvent()
public void setOriginalEvent(OriginalEvent v)
public java.util.List<Reminder> getReminder()