|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.atom.Entry
com.google.gdata.model.gd.MessageEntry
public class MessageEntry
Extension class for manipulating entries of the Message kind.
Field Summary | |
---|---|
static Category |
CATEGORY
Message kind category. |
static ElementKey<java.lang.Void,MessageEntry> |
KEY
The key for this element. |
static java.lang.String |
KIND
Message kind term value. |
Fields inherited from class com.google.gdata.model.atom.Entry |
---|
ID, PUBLISHED, RIGHTS, SUMMARY, TITLE, UPDATED |
Constructor Summary | |
---|---|
MessageEntry()
Constructs an instance using the default key. |
|
MessageEntry(Entry sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing Entry instance. |
Method Summary | |
---|---|
MessageEntry |
addWhoList(Who whoList)
Adds a new person description. |
void |
clearWhoList()
Removes all existing person description instances. |
GeoPt |
getGeoPt()
Returns the geo pt. |
Rating |
getRating()
Returns the rating. |
When |
getTime()
Returns the time period description. |
java.util.List<Who> |
getWhoList()
Returns the person descriptions. |
boolean |
hasGeoPt()
Returns whether it has the geo pt. |
boolean |
hasRating()
Returns whether it has the rating. |
boolean |
hasTime()
Returns whether it has the time period description. |
boolean |
hasWhoList()
Returns whether it has the person descriptions. |
MessageEntry |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
boolean |
removeWhoList(Who whoList)
Removes an existing person description. |
MessageEntry |
setGeoPt(GeoPt geoPt)
Sets the geo pt. |
MessageEntry |
setRating(Rating rating)
Sets the rating. |
MessageEntry |
setTime(When time)
Sets the time period description. |
Methods inherited from class com.google.gdata.model.atom.Entry |
---|
addAuthor, addCategory, addContributor, addHtmlLink, addLink, addLink, clearAuthors, clearCategories, clearContributors, delete, getAuthors, getCanEdit, getCategories, getContent, getContributors, getControl, getEdited, getEditLink, getEtag, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, hasControl, isDraft, removeAuthor, removeContent, removeContributor, removeLink, removeLinks, removeLinks, setCanEdit, setContent, setControl, setDraft, setEdited, setEtag, setId, setKind, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
public static final ElementKey<java.lang.Void,MessageEntry> KEY
Constructor Detail |
---|
public MessageEntry()
public MessageEntry(Entry sourceEntry)
Entry
instance.
sourceEntry
- source entryMethod Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public MessageEntry lock()
Element
lock
in class Element
public GeoPt getGeoPt()
public MessageEntry setGeoPt(GeoPt geoPt)
geoPt
- geo pt or null
to reset
public boolean hasGeoPt()
public Rating getRating()
public MessageEntry setRating(Rating rating)
rating
- rating or null
to reset
public boolean hasRating()
public When getTime()
public MessageEntry setTime(When time)
time
- time period description or null
to reset
public boolean hasTime()
public java.util.List<Who> getWhoList()
public MessageEntry addWhoList(Who whoList)
whoList
- person descriptionpublic boolean removeWhoList(Who whoList)
whoList
- person description
public void clearWhoList()
public boolean hasWhoList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |