public class

MergedInto

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

Class Overview

Issue this issue is merged into.

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
MergedInto()
Default mutable constructor.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
Id getId()
Returns the id.
Project getProject()
Returns the project.
boolean hasId()
Returns whether it has the id.
boolean hasProject()
Returns whether it has the project.
void setId(Id id)
Sets the id.
void setProject(Project project)
Sets the project.
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: "mergedInto"

Public Constructors

public MergedInto ()

Default mutable constructor.

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 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 Id getId ()

Returns the id.

Returns
  • id

public Project getProject ()

Returns the project.

Returns
  • project

public boolean hasId ()

Returns whether it has the id.

Returns
  • whether it has the id

public boolean hasProject ()

Returns whether it has the project.

Returns
  • whether it has the project

public void setId (Id id)

Sets the id.

Parameters
id Id or null to reset

public void setProject (Project project)

Sets the project.

Parameters
project Project 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.