public class

IssuesLink

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

Class Overview

Extends the base Link class with Project Hosting extensions.

Summary

Nested Classes
class IssuesLink.Rel Link relation type. 
Constants
String COUNT XML "thr:count" attribute name
String UPDATED XML "thr:updated" attribute name
String XML_NAME XML element name
Fields
private Integer count Count
private DateTime updated Updated
[Expand]
Inherited Fields
From class com.google.gdata.data.Link
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
IssuesLink()
Default mutable constructor.
IssuesLink(Integer count, String href, Long length, IssuesLink.Rel rel, String title, String type, DateTime updated)
Immutable constructor.
Public Methods
boolean equals(Object obj)
Integer getCount()
Returns the count.
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
DateTime getUpdated()
Returns the updated.
boolean hasCount()
Returns whether it has the count.
boolean hasUpdated()
Returns whether it has the updated.
int hashCode()
void setCount(Integer count)
Sets the count.
void setUpdated(DateTime updated)
Sets the updated.
String toString()
Protected Methods
void consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
void putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.Link
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.ILink
From interface com.google.gdata.data.Reference

Constants

private static final String COUNT

XML "thr:count" attribute name

Constant Value: "thr:count"

private static final String UPDATED

XML "thr:updated" attribute name

Constant Value: "thr:updated"

static final String XML_NAME

XML element name

Constant Value: "link"

Fields

private Integer count

Count

private DateTime updated

Updated

Public Constructors

public IssuesLink ()

Default mutable constructor.

public IssuesLink (Integer count, String href, Long length, IssuesLink.Rel rel, String title, String type, DateTime updated)

Immutable constructor.

Parameters
count Count.
href
length
rel
title
type
updated Updated.

Public Methods

public boolean equals (Object obj)

Parameters
obj

public Integer getCount ()

Returns the count.

Returns
  • count

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 DateTime getUpdated ()

Returns the updated.

Returns
  • updated

public boolean hasCount ()

Returns whether it has the count.

Returns
  • whether it has the count

public boolean hasUpdated ()

Returns whether it has the updated.

Returns
  • whether it has the updated

public int hashCode ()

public void setCount (Integer count)

Sets the count.

Parameters
count Count or null to reset

public void setUpdated (DateTime updated)

Sets the updated.

Parameters
updated Updated or null to reset

public String toString ()

Protected Methods

protected void consumeAttributes (AttributeHelper helper)

Consumes attributes from the attribute helper. May also use consumeContent(boolean) to consume the element's text content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
helper Attribute helper

protected void putAttributes (AttributeGenerator generator)

Puts attributes into the attribute generator. Called from generate(XmlWriter, ExtensionProfile). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
generator Attribute generator

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.