| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, updateaddElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visitpublic static final java.lang.String KIND
public static final Category CATEGORY
public static final ElementKey<java.lang.Void,MessageEntry> KEY
public static void registerMetadata(MetadataRegistry registry)
public MessageEntry lock()
Elementpublic GeoPt getGeoPt()
public MessageEntry setGeoPt(GeoPt geoPt)
geoPt - geo pt or null to resetpublic boolean hasGeoPt()
public Rating getRating()
public MessageEntry setRating(Rating rating)
rating - rating or null to resetpublic boolean hasRating()
public When getTime()
public MessageEntry setTime(When time)
time - time period description or null to resetpublic boolean hasTime()
public java.util.List<Who> getWhoList()
public MessageEntry addWhoList(Who whoList)
whoList - person descriptionpublic boolean removeWhoList(Who whoList)
whoList - person descriptionpublic void clearWhoList()
public boolean hasWhoList()