public class

Updates

extends ExtensionPoint
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.projecthosting.Updates

Class Overview

List of metadata updates.

Summary

Constants
String XML_NAME XML element name
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Updates()
Default mutable constructor.
Public Methods
void addBlockedOnUpdate(BlockedOnUpdate blockedOnUpdate)
Adds a new blocked on update.
void addCcUpdate(CcUpdate ccUpdate)
Adds a new cc update.
void addLabel(Label label)
Adds a new label.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
List<BlockedOnUpdate> getBlockedOnUpdates()
Returns the blocked on updates.
List<CcUpdate> getCcUpdates()
Returns the cc updates.
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
List<Label> getLabels()
Returns the labels.
MergedIntoUpdate getMergedIntoUpdate()
Returns the merged into update.
OwnerUpdate getOwnerUpdate()
Returns the owner update.
Status getStatus()
Returns the status.
Summary getSummary()
Returns the summary.
boolean hasBlockedOnUpdates()
Returns whether it has the blocked on updates.
boolean hasCcUpdates()
Returns whether it has the cc updates.
boolean hasLabels()
Returns whether it has the labels.
boolean hasMergedIntoUpdate()
Returns whether it has the merged into update.
boolean hasOwnerUpdate()
Returns whether it has the owner update.
boolean hasStatus()
Returns whether it has the status.
boolean hasSummary()
Returns whether it has the summary.
void setMergedIntoUpdate(MergedIntoUpdate mergedIntoUpdate)
Sets the merged into update.
void setOwnerUpdate(OwnerUpdate ownerUpdate)
Sets the owner update.
void setStatus(Status status)
Sets the status.
void setSummary(Summary summary)
Sets the summary.
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.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

static final String XML_NAME

XML element name

Constant Value: "updates"

Public Constructors

public Updates ()

Default mutable constructor.

Public Methods

public void addBlockedOnUpdate (BlockedOnUpdate blockedOnUpdate)

Adds a new blocked on update.

Parameters
blockedOnUpdate Blocked on update

public void addCcUpdate (CcUpdate ccUpdate)

Adds a new cc update.

Parameters
ccUpdate Cc update

public void addLabel (Label label)

Adds a new label.

Parameters
label Label

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 List<BlockedOnUpdate> getBlockedOnUpdates ()

Returns the blocked on updates.

Returns
  • blocked on updates

public List<CcUpdate> getCcUpdates ()

Returns the cc updates.

Returns
  • cc updates

public static ExtensionDescription getDefaultDescription (boolean required, boolean repeatable)

Returns the extension description, specifying whether it is required, and whether it is repeatable.

Parameters
required Whether it is required
repeatable Whether it is repeatable
Returns
  • extension description

public List<Label> getLabels ()

Returns the labels.

Returns
  • labels

public MergedIntoUpdate getMergedIntoUpdate ()

Returns the merged into update.

Returns
  • merged into update

public OwnerUpdate getOwnerUpdate ()

Returns the owner update.

Returns
  • owner update

public Status getStatus ()

Returns the status.

Returns
  • status

public Summary getSummary ()

Returns the summary.

Returns
  • summary

public boolean hasBlockedOnUpdates ()

Returns whether it has the blocked on updates.

Returns
  • whether it has the blocked on updates

public boolean hasCcUpdates ()

Returns whether it has the cc updates.

Returns
  • whether it has the cc updates

public boolean hasLabels ()

Returns whether it has the labels.

Returns
  • whether it has the labels

public boolean hasMergedIntoUpdate ()

Returns whether it has the merged into update.

Returns
  • whether it has the merged into update

public boolean hasOwnerUpdate ()

Returns whether it has the owner update.

Returns
  • whether it has the owner update

public boolean hasStatus ()

Returns whether it has the status.

Returns
  • whether it has the status

public boolean hasSummary ()

Returns whether it has the summary.

Returns
  • whether it has the summary

public void setMergedIntoUpdate (MergedIntoUpdate mergedIntoUpdate)

Sets the merged into update.

Parameters
mergedIntoUpdate Merged into update or null to reset

public void setOwnerUpdate (OwnerUpdate ownerUpdate)

Sets the owner update.

Parameters
ownerUpdate Owner update or null to reset

public void setStatus (Status status)

Sets the status.

Parameters
status Status or null to reset

public void setSummary (Summary summary)

Sets the summary.

Parameters
summary Summary 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.