| java.lang.Object | |
| ↳ | com.google.gdata.model.atom.Feed.FeedState |
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.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| canPost | Specifies whether the feed can be posted to. | ||||||||||
| service | Service associated with the feed. | ||||||||||
| versionId | Version ID. | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Specifies whether the feed can be posted to.
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).