com.google.gdata.model.atom
Class Entry.EntryState

java.lang.Object
  extended by com.google.gdata.model.atom.Entry.EntryState
Enclosing class:
Entry

protected static class Entry.EntryState
extends java.lang.Object

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 Entry subtype.


Field Summary
 boolean canEdit
          {code true} if the entry can be modified by a client.
 Service service
          Service.
 java.lang.String versionId
          Version ID.
 
Constructor Summary
protected Entry.EntryState()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public java.lang.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).


service

public Service service
Service.


canEdit

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

Constructor Detail

Entry.EntryState

protected Entry.EntryState()