public class

RecurrenceException

extends Element
java.lang.Object
   ↳ com.google.gdata.model.Element
     ↳ com.google.gdata.model.gd.RecurrenceException

Class Overview

Describes an exception to a recurring event.

Summary

Fields
public static final ElementKey<Void, RecurrenceException> KEY The key for this element.
public static final AttributeKey<Boolean> SPECIALIZED Whether the exception is specialized.
[Expand]
Inherited Fields
From class com.google.gdata.model.Element
Public Constructors
RecurrenceException()
Constructs an instance using the default key.
Protected Constructors
RecurrenceException(ElementKey<?, ? extends RecurrenceException> key)
Subclass constructor, allows subclasses to supply their own element key.
RecurrenceException(ElementKey<?, ? extends RecurrenceException> key, Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance.
Public Methods
RecurrenceExceptionEntryLink getEntryLink()
Returns the nested entry providing the details about the exception.
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(Boolean specialized)
Sets the whether the exception is specialized.
[Expand]
Inherited Methods
From class com.google.gdata.model.Element
From class java.lang.Object

Fields

public static final ElementKey<Void, RecurrenceException> KEY

The key for this element.

public static final AttributeKey<Boolean> SPECIALIZED

Whether the exception is specialized.

Public Constructors

public RecurrenceException ()

Constructs an instance using the default key.

Protected Constructors

protected RecurrenceException (ElementKey<?, ? extends RecurrenceException> key)

Subclass constructor, allows subclasses to supply their own element key.

Parameters
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. 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 createElement(ElementKey, Element).

Parameters
key The key to use for this element.
source Source element

Public Methods

public RecurrenceExceptionEntryLink getEntryLink ()

Returns the nested entry providing the details about the exception.

Returns
  • nested entry providing the details about the exception

public Boolean getSpecialized ()

Returns the whether the exception is specialized.

Returns
  • whether the exception is specialized

public boolean hasEntryLink ()

Returns whether it has the nested entry providing the details about the exception.

Returns
  • whether it has the nested entry providing the details about the exception

public boolean hasSpecialized ()

Returns whether it has the whether the exception is specialized.

Returns
  • whether it has the whether the exception is specialized

public RecurrenceException lock ()

Locks this element. A locked element cannot have any changes made to its content or its attributes or child elements. This will also lock all attributes and child elements as well. Once this method has been called, this element can be safely published to other threads.

public static void registerMetadata (MetadataRegistry registry)

Registers the metadata for this element.

Parameters
registry

public RecurrenceException setEntryLink (RecurrenceExceptionEntryLink entryLink)

Sets the nested entry providing the details about the exception.

Parameters
entryLink Nested entry providing the details about the exception or null to reset
Returns
  • this to enable chaining setters

public RecurrenceException setSpecialized (Boolean specialized)

Sets the whether the exception is specialized.

Parameters
specialized Whether the exception is specialized or null to reset
Returns
  • this to enable chaining setters