| java.lang.Object | |
| ↳ | com.google.gdata.data.BaseEntry.EntryState |
The EntryState class provides a simple structure that encapsulates
the attributes of an Atom entry that should be shared with a shallow
copy if the entry is adapted to a more specific BaseEntry
Kind.Adaptor subtypes.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| adaptable | Adaptable helper. | ||||||||||
| authors | Authors of entry. | ||||||||||
| canEdit | {code true} if the entry can be modified by a client. | ||||||||||
| categories | Categories of entry. | ||||||||||
| content | Content of entry. | ||||||||||
| contributors | Contributors of entry. | ||||||||||
| edited | Last edit timestamp | ||||||||||
| etag | Etag. | ||||||||||
| fields | gd:fields. | ||||||||||
| id | Entry id. | ||||||||||
| kind | gd:kind. | ||||||||||
| links | Links of entry. | ||||||||||
| pubControl | Atom publication control status, which contains the draft status. | ||||||||||
| published | Creation timestamp. | ||||||||||
| rights | Rights of entry. | ||||||||||
| service | Service. | ||||||||||
| source | Source. | ||||||||||
| summary | Summary of entry. | ||||||||||
| title | Title of entry. | ||||||||||
| updated | Last updated timestamp. | ||||||||||
| versionId | Version ID. | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
{code true} if the entry can be modified by a client.
Etag. See RFC 2616, Section 3.11. If there is no entity tag, this variable is null. Etags are provided not only on top-level entries, but also on entries within feeds (in the form of a gd:etag attribute).
gd:fields. This is the field selection associated with this entry.
If not null then this entry represents a partial entry.
Entry id.
gd:kind. This is the kind attribute for this entry. If there is no kind attribute for this entry, this variable is null.
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).