public interface

AtomData

implements Extensible
com.google.gdata.data.photos.AtomData
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract List<Person> getAuthors()
Gets a modifiable list of authors on this entry or feed.
abstract Set<Category> getCategories()
Gets a set of categories on the entry or feed.
abstract List<Person> getContributors()
Gets a modifiable list of contributors on this entry or feed.
abstract TextConstruct getDescription()
Gets the description of the entry or feed.
abstract String getId()
Get the id of the piece of data you're looking at.
abstract List<Link> getLinks()
Gets a modifiable list of links on the entry or feed.
abstract TextConstruct getRights()
Gets the rights associated with this entry or feed.
abstract TextConstruct getTitle()
Gets the title of the entry or feed represented by this piece of data.
abstract DateTime getUpdated()
Gets the updated time on this entry or feed.
abstract void setDescription(TextConstruct description)
Set the description of the item.
abstract void setId(String id)
Set the feed or entry atom:id.
abstract void setRights(TextConstruct rights)
Set the rights of the entry or feed.
abstract void setTitle(TextConstruct title)
Set the title of the feed or entry.
abstract void setUpdated(DateTime updated)
Set the updated date on the entry or feed.
[Expand]
Inherited Methods
From interface com.google.gdata.data.photos.Extensible

Public Methods

public abstract List<Person> getAuthors ()

Gets a modifiable list of authors on this entry or feed. Forwards to getAuthors() or getAuthors().

Returns
  • a modifiable list of people that were authors.

public abstract Set<Category> getCategories ()

Gets a set of categories on the entry or feed. Forwards to getCategories() or getCategories().

Returns
  • a modifiable set of categories.

public abstract List<Person> getContributors ()

Gets a modifiable list of contributors on this entry or feed. Forwards to getContributors() or getContributors().

Returns
  • a modifiable list of people that were contributors.

public abstract TextConstruct getDescription ()

Gets the description of the entry or feed. This forwards to either getSummary() or getSubtitle().

Returns
  • the description of the entry or feed.

public abstract String getId ()

Get the id of the piece of data you're looking at. This is the atom:id and represents the atom-level identification of the item. This is forwarded to either getId() or getId()

Returns
  • the feed or entry id.

public abstract List<Link> getLinks ()

Gets a modifiable list of links on the entry or feed. Forwards to getLinks() or getLinks().

Returns
  • a modifiable set of links.

public abstract TextConstruct getRights ()

Gets the rights associated with this entry or feed. Forwards to getRights() or getRights().

Returns
  • the rights of the data item.

public abstract TextConstruct getTitle ()

Gets the title of the entry or feed represented by this piece of data. Forwards to getTitle() or getTitle().

Returns
  • the title of the item.

public abstract DateTime getUpdated ()

Gets the updated time on this entry or feed. Forwards to getUpdated() or getUpdated().

Returns
  • the updated date.

public abstract void setDescription (TextConstruct description)

Set the description of the item. Forwards to setSummary(TextConstruct) or setSubtitle(TextConstruct).

Parameters
description

public abstract void setId (String id)

Set the feed or entry atom:id. Forwarded to either setId(String) or setId(String).

Parameters
id The id of the data item.

public abstract void setRights (TextConstruct rights)

Set the rights of the entry or feed. Forwards to setRights(TextConstruct) or setRights(TextConstruct).

Parameters
rights The rights.

public abstract void setTitle (TextConstruct title)

Set the title of the feed or entry. Forwards to setTitle(TextConstruct) or setTitle(TextConstruct).

Parameters
title The title of the data item.

public abstract void setUpdated (DateTime updated)

Set the updated date on the entry or feed. Forwards to setUpdated(DateTime) or setUpdated(DateTime).

Parameters
updated The updated date of the data item.