com.google.gdata.data.projecthosting
Class IssuesLink

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.google.gdata.data.Link
              extended by com.google.gdata.data.projecthosting.IssuesLink
All Implemented Interfaces:
Extension, ILink, Reference

public class IssuesLink
extends Link

Extends the base Link class with Project Hosting extensions.


Nested Class Summary
static class IssuesLink.Rel
          Link relation type.
 
Nested classes/interfaces inherited from class com.google.gdata.data.Link
Link.AtomHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
 
Nested classes/interfaces inherited from interface com.google.gdata.data.ILink
ILink.Type
 
Constructor Summary
IssuesLink()
          Default mutable constructor.
IssuesLink(java.lang.Integer count, java.lang.String href, java.lang.Long length, IssuesLink.Rel rel, java.lang.String title, java.lang.String type, DateTime updated)
          Immutable constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.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.
 int hashCode()
           
 boolean hasUpdated()
          Returns whether it has the updated.
 void setCount(java.lang.Integer count)
          Sets the count.
 void setUpdated(DateTime updated)
          Sets the updated.
 java.lang.String toString()
           
 
Methods inherited from class com.google.gdata.data.Link
generate, generateAtom, generateRss, getContent, getEtag, getHandler, getHref, getHrefLang, getLength, getRel, getTitle, getTitleLang, getType, matches, setContent, setEtag, setHref, setHrefLang, setLength, setRel, setTitle, setTitleLang, setType
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IssuesLink

public IssuesLink()
Default mutable constructor.


IssuesLink

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

Parameters:
count - count.
updated - updated.
Method Detail

getCount

public java.lang.Integer getCount()
Returns the count.

Returns:
count

setCount

public void setCount(java.lang.Integer count)
Sets the count.

Parameters:
count - count or null to reset

hasCount

public boolean hasCount()
Returns whether it has the count.

Returns:
whether it has the count

getUpdated

public DateTime getUpdated()
Returns the updated.

Returns:
updated

setUpdated

public void setUpdated(DateTime updated)
Sets the updated.

Parameters:
updated - updated or null to reset

hasUpdated

public boolean hasUpdated()
Returns whether it has the updated.

Returns:
whether it has the updated

getDefaultDescription

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object