public class

ChangelogEntry

extends BaseDocumentListEntry<E>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.docs.DocumentListEntry
             ↳ com.google.gdata.data.docs.BaseDocumentListEntry<E>
               ↳ com.google.gdata.data.docs.ChangelogEntry

Class Overview

Describes an entry representing a single changed document of any type.

Summary

Constants
String KIND Change kind term value.
[Expand]
Inherited Constants
From class com.google.gdata.data.docs.DocumentListEntry
Fields
public static final Category CATEGORY Change kind category.
[Expand]
Inherited Fields
From class com.google.gdata.data.docs.DocumentListEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
ChangelogEntry()
Default mutable constructor.
ChangelogEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Changestamp getChangestamp()
Returns the changestamp.
Removed getRemoved()
Returns the removed.
boolean hasChangestamp()
Returns whether it has the changestamp.
boolean hasRemoved()
Returns whether it has the removed.
void setChangestamp(Changestamp changestamp)
Sets the changestamp.
void setRemoved(Removed removed)
Sets the removed.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.docs.DocumentListEntry
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Constants

public static final String KIND

Change kind term value.

Constant Value: "http://schemas.google.com/docs/2007#change"

Fields

public static final Category CATEGORY

Change kind category.

Public Constructors

public ChangelogEntry ()

Default mutable constructor.

public ChangelogEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public Changestamp getChangestamp ()

Returns the changestamp.

Returns
  • changestamp

public Removed getRemoved ()

Returns the removed.

Returns
  • removed

public boolean hasChangestamp ()

Returns whether it has the changestamp.

Returns
  • whether it has the changestamp

public boolean hasRemoved ()

Returns whether it has the removed.

Returns
  • whether it has the removed

public void setChangestamp (Changestamp changestamp)

Sets the changestamp.

Parameters
changestamp Changestamp or null to reset

public void setRemoved (Removed removed)

Sets the removed.

Parameters
removed Removed or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.