protected static class

BaseEntry.EntryState

extends Object
java.lang.Object
   ↳ com.google.gdata.data.BaseEntry.EntryState

Class Overview

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.

Summary

Fields
public Kind.Adaptable adaptable Adaptable helper.
public LinkedList<Person> authors Authors of entry.
public boolean canEdit {code true} if the entry can be modified by a client.
public HashSet<Category> categories Categories of entry.
public Content content Content of entry.
public LinkedList<Person> contributors Contributors of entry.
public DateTime edited Last edit timestamp
public String etag Etag.
public String fields gd:fields.
public String id Entry id.
public String kind gd:kind.
public LinkedList<Link> links Links of entry.
public PubControl pubControl Atom publication control status, which contains the draft status.
public DateTime published Creation timestamp.
public TextConstruct rights Rights of entry.
public Service service Service.
public Source source Source.
public TextConstruct summary Summary of entry.
public TextConstruct title Title of entry.
public DateTime updated Last updated timestamp.
public String versionId Version ID.
Protected Constructors
BaseEntry.EntryState()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public Kind.Adaptable adaptable

Adaptable helper.

public LinkedList<Person> authors

Authors of entry.

public boolean canEdit

{code true} if the entry can be modified by a client.

public HashSet<Category> categories

Categories of entry.

public Content content

Content of entry.

public LinkedList<Person> contributors

Contributors of entry.

public DateTime edited

Last edit timestamp

public String etag

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).

public String fields

gd:fields. This is the field selection associated with this entry. If not null then this entry represents a partial entry.

public String id

Entry id.

public String kind

gd:kind. This is the kind attribute for this entry. If there is no kind attribute for this entry, this variable is null.

public LinkedList<Link> links

Links of entry.

public PubControl pubControl

Atom publication control status, which contains the draft status.

public DateTime published

Creation timestamp. Ignored on updates.

public TextConstruct rights

Rights of entry.

public Service service

Service.

public Source source

Source.

public TextConstruct summary

Summary of entry.

public TextConstruct title

Title of entry.

public DateTime updated

Last updated timestamp.

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 BaseEntry.EntryState ()