|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<MessageEntry>
com.google.gdata.data.extensions.MessageEntry
public class MessageEntry
Extension class for manipulating entries of the Message kind.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static Category |
CHAT_CATEGORY
Category used to label chat message feeds and entries. |
static Category |
INBOX_CATEGORY
Category used to label inbox message feeds and entries. |
static Category |
MESSAGE_CATEGORY
Category used to label any entry that contains Message extensions |
static java.lang.String |
MESSAGE_KIND
Kind term value for Event category labels. |
static Category |
SENT_CATEGORY
Category used to label sent message feeds and entries. |
static Category |
SPAM_CATEGORY
Category used to label spam message feeds and entries. |
static Category |
STARRED_CATEGORY
Category used to label starred message feeds and entries. |
static Category |
UNREAD_CATEGORY
Category used to label unread message feeds and entries. |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by an MessageEntry. |
GeoPt |
getGeoPt()
|
Rating |
getRating()
|
When |
getTime()
|
java.util.List<Who> |
getWhoList()
|
void |
setGeoPt(GeoPt geoPt)
|
void |
setRating(Rating rating)
|
void |
setTime(When when)
|
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MESSAGE_KIND
public static final Category MESSAGE_CATEGORY
public static final Category STARRED_CATEGORY
public static final Category UNREAD_CATEGORY
public static final Category CHAT_CATEGORY
public static final Category SPAM_CATEGORY
public static final Category SENT_CATEGORY
public static final Category INBOX_CATEGORY
Constructor Detail |
---|
public MessageEntry()
public MessageEntry(BaseEntry<?> sourceEntry)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public Rating getRating()
public void setRating(Rating rating)
public When getTime()
public void setTime(When when)
public GeoPt getGeoPt()
public void setGeoPt(GeoPt geoPt)
public java.util.List<Who> getWhoList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |