public class OriginalEvent extends Element
Modifier and Type | Field and Description |
---|---|
static AttributeKey<java.lang.String> |
HREF
URL of the original recurring event entry.
|
static ElementKey<java.lang.Void,OriginalEvent> |
KEY
The key for this element.
|
static AttributeKey<java.lang.String> |
ORIGINAL_ID
Event ID of the original recurring event entry.
|
Constructor and Description |
---|
OriginalEvent()
Constructs an instance using the default key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHref()
Returns the URL of the original recurring event entry.
|
java.lang.String |
getOriginalId()
Returns the event ID of the original recurring event entry.
|
When |
getOriginalStartTime()
Returns the original start time.
|
boolean |
hasHref()
Returns whether it has the URL of the original recurring event entry.
|
boolean |
hasOriginalId()
Returns whether it has the event ID of the original recurring event entry.
|
boolean |
hasOriginalStartTime()
Returns whether it has the original start time.
|
OriginalEvent |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
OriginalEvent |
setHref(java.lang.String href)
Sets the URL of the original recurring event entry.
|
OriginalEvent |
setOriginalId(java.lang.String originalId)
Sets the event ID of the original recurring event entry.
|
OriginalEvent |
setOriginalStartTime(When originalStartTime)
Sets the original start time.
|
addElement, 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, visit
public static final ElementKey<java.lang.Void,OriginalEvent> KEY
public static final AttributeKey<java.lang.String> HREF
public static final AttributeKey<java.lang.String> ORIGINAL_ID
public OriginalEvent()
public static void registerMetadata(MetadataRegistry registry)
public OriginalEvent lock()
Element
public java.lang.String getHref()
public OriginalEvent setHref(java.lang.String href)
href
- URL of the original recurring event entry or null
to
resetpublic boolean hasHref()
public java.lang.String getOriginalId()
public OriginalEvent setOriginalId(java.lang.String originalId)
originalId
- event ID of the original recurring event entry or null
to resetpublic boolean hasOriginalId()
public When getOriginalStartTime()
public OriginalEvent setOriginalStartTime(When originalStartTime)
originalStartTime
- original start time or null
to resetpublic boolean hasOriginalStartTime()