public class

ProjectSummaryEntry

extends BaseEntry<E extends BaseEntry>
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.projecthosting.ProjectSummaryEntry

Class Overview

Google Code Project Summary Entry.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
ProjectSummaryEntry()
Default mutable constructor.
ProjectSummaryEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void addProjectLabel(ProjectLabel projectLabel)
Adds a new project label.
void addRepository(Repository repository)
Adds a new repository.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Description getDescription()
Returns the description.
List<ProjectLabel> getProjectLabels()
Returns the project labels.
Link getRelatedLink()
Returns the link that provides the URI of a related link to the entry.
List<Repository> getRepositories()
Returns the repositories.
boolean hasDescription()
Returns whether it has the description.
boolean hasProjectLabels()
Returns whether it has the project labels.
boolean hasRepositories()
Returns whether it has the repositories.
void setDescription(Description description)
Sets the description.
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.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

Public Constructors

public ProjectSummaryEntry ()

Default mutable constructor.

public ProjectSummaryEntry (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 addProjectLabel (ProjectLabel projectLabel)

Adds a new project label.

Parameters
projectLabel Project label

public void addRepository (Repository repository)

Adds a new repository.

Parameters
repository Repository

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 Description getDescription ()

Returns the description.

Returns
  • description

public List<ProjectLabel> getProjectLabels ()

Returns the project labels.

Returns
  • project labels

public Link getRelatedLink ()

Returns the link that provides the URI of a related link to the entry.

Returns
  • Link that provides the URI of a related link to the entry or null for none.

public List<Repository> getRepositories ()

Returns the repositories.

Returns
  • repositories

public boolean hasDescription ()

Returns whether it has the description.

Returns
  • whether it has the description

public boolean hasProjectLabels ()

Returns whether it has the project labels.

Returns
  • whether it has the project labels

public boolean hasRepositories ()

Returns whether it has the repositories.

Returns
  • whether it has the repositories

public void setDescription (Description description)

Sets the description.

Parameters
description Description 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.