public class

EventEntry

extends BaseEventEntry<E extends BaseEventEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.extensions.BaseEventEntry<E extends com.google.gdata.data.extensions.BaseEventEntry<E>>
           ↳ com.google.gdata.data.extensions.EventEntry

Class Overview

Extension class for manipulating entries of the Event kind.

Summary

Constants
String EVENT_KIND Kind term value for Event category labels.
Fields
public static final Category EVENT_CATEGORY Kind category used to label feeds or entries that have Event extension data.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
EventEntry()
Constructs a new EventEntry with the appropriate kind category to indicate that it is an event.
EventEntry(BaseEntry<?> sourceEntry)
Constructs a new EventEntry instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void addParticipant(Who participant)
Adds a new event participant.
void declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by an EventEntry.
List<Who> getParticipants()
Returns the list of event participants.
[Expand]
Inherited Methods
From class com.google.gdata.data.extensions.BaseEventEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

public static final String EVENT_KIND

Kind term value for Event category labels.

Constant Value: "http://schemas.google.com/g/2005#event"

Fields

public static final Category EVENT_CATEGORY

Kind category used to label feeds or entries that have Event extension data.

Public Constructors

public EventEntry ()

Constructs a new EventEntry with the appropriate kind category to indicate that it is an event.

public EventEntry (BaseEntry<?> sourceEntry)

Constructs a new EventEntry instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry

Public Methods

public void addParticipant (Who participant)

Adds a new event participant.

Parameters
participant

public void declareExtensions (ExtensionProfile extProfile)

Initializes an ExtensionProfile based upon the extensions expected by an EventEntry.

Parameters
extProfile The ExtensionProfile to initialize.

public List<Who> getParticipants ()

Returns the list of event participants.