Base interface for Atom resource types. Contains a common set of methods
across both entries and feeds and a can also be used as a parameter type in
contexts where either a feed or an entry is acceptable.

getSelfLink

getTitle

getEtag

Gets the value of the gd:etag attribute for this resource.
See RFC 2616, Section 3.11.

setEtag

void setEtag(java.lang.String etag)

Sets the value of the gd:etag attribute for this resource.

getKind

java.lang.String getKind()

Returns the value of the gd:kind attribute for this resource. Returns
null if the kind attribute is missing.

setKind

void setKind(java.lang.String kind)

Sets the value of the gd:kind attribute for this resource. A value of
null will remove the kind attribute.

getVersionId

java.lang.String getVersionId()

Version ID. This is a unique number representing this particular
resource. 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 or feed content 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 resources are
parsed (either from requests or from arbitrary XML).

setVersionId

void setVersionId(java.lang.String versionId)

Sets the versionId. See getVersionId() for a description of what
the versionId is used for.