|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AtomData
A common interface for all of the methods that match between entry and feed.
This makes it possible to treat feeds and entries as being representative
of the same basic information, and allows retrieving/setting this information
in a consistent fashion. Each method includes links to the BaseEntry
or Source
methods they forward to.
Method Summary | |
---|---|
java.util.List<Person> |
getAuthors()
Gets a modifiable list of authors on this entry or feed. |
java.util.Set<Category> |
getCategories()
Gets a set of categories on the entry or feed. |
java.util.List<Person> |
getContributors()
Gets a modifiable list of contributors on this entry or feed. |
TextConstruct |
getDescription()
Gets the description of the entry or feed. |
java.lang.String |
getId()
Get the id of the piece of data you're looking at. |
java.util.List<Link> |
getLinks()
Gets a modifiable list of links on the entry or feed. |
TextConstruct |
getRights()
Gets the rights associated with this entry or feed. |
TextConstruct |
getTitle()
Gets the title of the entry or feed represented by this piece of data. |
DateTime |
getUpdated()
Gets the updated time on this entry or feed. |
void |
setDescription(TextConstruct description)
Set the description of the item. |
void |
setId(java.lang.String id)
Set the feed or entry atom:id. |
void |
setRights(TextConstruct rights)
Set the rights of the entry or feed. |
void |
setTitle(TextConstruct title)
Set the title of the feed or entry. |
void |
setUpdated(DateTime updated)
Set the updated date on the entry or feed. |
Methods inherited from interface com.google.gdata.data.photos.Extensible |
---|
addExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Method Detail |
---|
java.lang.String getId()
BaseEntry.getId()
or Source.getId()
void setId(java.lang.String id)
BaseEntry.setId(String)
or Source.setId(String)
.
id
- the id of the data item.TextConstruct getTitle()
BaseEntry.getTitle()
or Source.getTitle()
.
void setTitle(TextConstruct title)
BaseEntry.setTitle(TextConstruct)
or
Source.setTitle(TextConstruct)
.
title
- the title of the data item.TextConstruct getDescription()
BaseEntry.getSummary()
or Source.getSubtitle()
.
void setDescription(TextConstruct description)
BaseEntry.setSummary(TextConstruct)
or
Source.setSubtitle(TextConstruct)
.
DateTime getUpdated()
BaseEntry.getUpdated()
or Source.getUpdated()
.
void setUpdated(DateTime updated)
BaseEntry.setUpdated(DateTime)
or
Source.setUpdated(DateTime)
.
updated
- the updated date of the data item.TextConstruct getRights()
BaseEntry.getRights()
or Source.getRights()
.
void setRights(TextConstruct rights)
BaseEntry.setRights(TextConstruct)
or
Source.setRights(TextConstruct)
.
rights
- the rights.java.util.Set<Category> getCategories()
BaseEntry.getCategories()
or Source.getCategories()
.
java.util.List<Link> getLinks()
BaseEntry.getLinks()
or Source.getLinks()
.
java.util.List<Person> getAuthors()
BaseEntry.getAuthors()
or Source.getAuthors()
.
java.util.List<Person> getContributors()
BaseEntry.getContributors()
or Source.getContributors()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |