public class RecurrenceException extends Element
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,RecurrenceException> |
KEY
The key for this element.
|
static AttributeKey<java.lang.Boolean> |
SPECIALIZED
Whether the exception is specialized.
|
Modifier | Constructor and Description |
---|---|
|
RecurrenceException()
Constructs an instance using the default key.
|
protected |
RecurrenceException(ElementKey<?,? extends RecurrenceException> key)
Subclass constructor, allows subclasses to supply their own element key.
|
protected |
RecurrenceException(ElementKey<?,? extends RecurrenceException> key,
Element source)
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. |
Modifier and Type | Method and Description |
---|---|
RecurrenceExceptionEntryLink |
getEntryLink()
Returns the nested entry providing the details about the exception.
|
java.lang.Boolean |
getSpecialized()
Returns the whether the exception is specialized.
|
boolean |
hasEntryLink()
Returns whether it has the nested entry providing the details about the
exception.
|
boolean |
hasSpecialized()
Returns whether it has the whether the exception is specialized.
|
RecurrenceException |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
RecurrenceException |
setEntryLink(RecurrenceExceptionEntryLink entryLink)
Sets the nested entry providing the details about the exception.
|
RecurrenceException |
setSpecialized(java.lang.Boolean specialized)
Sets the whether the exception is specialized.
|
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, narrow, 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,RecurrenceException> KEY
public static final AttributeKey<java.lang.Boolean> SPECIALIZED
public RecurrenceException()
protected RecurrenceException(ElementKey<?,? extends RecurrenceException> key)
protected RecurrenceException(ElementKey<?,? extends RecurrenceException> key, Element source)
Element
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 RecurrenceException lock()
Element
public RecurrenceExceptionEntryLink getEntryLink()
public RecurrenceException setEntryLink(RecurrenceExceptionEntryLink entryLink)
entryLink
- nested entry providing the details about the exception or
null
to resetpublic boolean hasEntryLink()
public java.lang.Boolean getSpecialized()
public RecurrenceException setSpecialized(java.lang.Boolean specialized)
specialized
- whether the exception is specialized or null
to
resetpublic boolean hasSpecialized()