public class

MessageEntry

extends BaseEntry<E extends BaseEntry>
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.MessageEntry

Class Overview

Extension class for manipulating entries of the Message kind.

Summary

Constants
String MESSAGE_KIND Kind term value for Event category labels.
Fields
public static final Category CHAT_CATEGORY Category used to label chat message feeds and entries.
public static final Category INBOX_CATEGORY Category used to label inbox message feeds and entries.
public static final Category MESSAGE_CATEGORY Category used to label any entry that contains Message extensions
public static final Category SENT_CATEGORY Category used to label sent message feeds and entries.
public static final Category SPAM_CATEGORY Category used to label spam message feeds and entries.
public static final Category STARRED_CATEGORY Category used to label starred message feeds and entries.
public static final Category UNREAD_CATEGORY Category used to label unread message feeds and entries.
[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
MessageEntry()
Constructs a new MessageEntry with the appropriate kind category to indicate that it is a message.
MessageEntry(BaseEntry<?> sourceEntry)
Constructs a new MessaEntry instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by an MessageEntry.
GeoPt getGeoPt()
Rating getRating()
When getTime()
List<Who> getWhoList()
void setGeoPt(GeoPt geoPt)
void setRating(Rating rating)
void setTime(When when)
[Expand]
Inherited Methods
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 MESSAGE_KIND

Kind term value for Event category labels.

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

Fields

public static final Category CHAT_CATEGORY

Category used to label chat message feeds and entries.

public static final Category INBOX_CATEGORY

Category used to label inbox message feeds and entries.

public static final Category MESSAGE_CATEGORY

Category used to label any entry that contains Message extensions

public static final Category SENT_CATEGORY

Category used to label sent message feeds and entries.

public static final Category SPAM_CATEGORY

Category used to label spam message feeds and entries.

public static final Category STARRED_CATEGORY

Category used to label starred message feeds and entries.

public static final Category UNREAD_CATEGORY

Category used to label unread message feeds and entries.

Public Constructors

public MessageEntry ()

Constructs a new MessageEntry with the appropriate kind category to indicate that it is a message.

public MessageEntry (BaseEntry<?> sourceEntry)

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

Parameters
sourceEntry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

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

Parameters
extProfile The ExtensionProfile to initialize.

public GeoPt getGeoPt ()

public Rating getRating ()

public When getTime ()

public List<Who> getWhoList ()

public void setGeoPt (GeoPt geoPt)

Parameters
geoPt

public void setRating (Rating rating)

Parameters
rating

public void setTime (When when)

Parameters
when