protected static class

Feed.FeedState

extends Object
java.lang.Object
   ↳ com.google.gdata.model.atom.Feed.FeedState

Class Overview

The FeedState class provides a simple structure that encapsulates the attributes of an Atom feed that should be shared with a shallow copy if the feed is adapted to a more specific Feed subtypes.

Note: Feed entries are not part of feed shared state, because the entry lists will need to be typed differently for adapted instances. This means that entries that are created, updated, or deleted in an adapted feed will not be reflected in the base feed used to construct it. The reverse is also true: changes made to a base feed will not be reflected in any adapted instances of the feed.

Summary

Fields
public boolean canPost Specifies whether the feed can be posted to.
public Service service Service associated with the feed.
public String versionId Version ID.
Protected Constructors
Feed.FeedState()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public boolean canPost

Specifies whether the feed can be posted to.

public Service service

Service associated with the feed.

public String versionId

Version ID. This is a unique number representing this particular entry. Every update changes the version ID (unless the update doesn't modify anything, in which case it's permissible for version ID to stay the same). Services are free to interpret this string in the most convenient way. Some services may choose to use a monotonically increasing sequence of version IDs. Other services may compute a hash of entry properties and use that.

This property is only used for services to communicate the current version ID back to the servlet. It is NOT set when entries are parsed (either from requests or from arbitrary XML).

Protected Constructors

protected Feed.FeedState ()