public class

RecurrenceExceptionEntryLink

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

Class Overview

Describes an entry link used by a recurrence exception.

Summary

Fields
public static final ElementKey<Void, RecurrenceExceptionEntryLink> KEY The key for this element.
[Expand]
Inherited Fields
From class com.google.gdata.model.gd.EntryLink
From class com.google.gdata.model.Element
Public Constructors
RecurrenceExceptionEntryLink()
Constructs an instance using the default key.
Protected Constructors
RecurrenceExceptionEntryLink(ElementKey<?, ? extends RecurrenceExceptionEntryLink> key)
Subclass constructor, allows subclasses to supply their own element key.
RecurrenceExceptionEntryLink(ElementKey<?, ? extends RecurrenceExceptionEntryLink> key, Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance.
Public Methods
RecurrenceExceptionEntry getEntry()
Returns the nested entry.
boolean hasEntry()
Returns whether it has the nested entry.
RecurrenceExceptionEntryLink lock()
Locks this element.
static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
RecurrenceExceptionEntryLink setEntry(RecurrenceExceptionEntry entry)
Sets the nested entry.
[Expand]
Inherited Methods
From class com.google.gdata.model.gd.EntryLink
From class com.google.gdata.model.Element
From class java.lang.Object
From interface com.google.gdata.data.ILink
From interface com.google.gdata.data.Reference

Fields

public static final ElementKey<Void, RecurrenceExceptionEntryLink> KEY

The key for this element.

Public Constructors

public RecurrenceExceptionEntryLink ()

Constructs an instance using the default key.

Protected Constructors

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

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

Parameters
key

protected RecurrenceExceptionEntryLink (ElementKey<?, ? extends RecurrenceExceptionEntryLink> 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 RecurrenceExceptionEntry getEntry ()

Returns the nested entry.

Returns
  • nested entry

public boolean hasEntry ()

Returns whether it has the nested entry.

Returns
  • whether it has the nested entry

public RecurrenceExceptionEntryLink 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 RecurrenceExceptionEntryLink setEntry (RecurrenceExceptionEntry entry)

Sets the nested entry.

Parameters
entry Nested entry or null to reset
Returns
  • this to enable chaining setters