|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.Link
com.google.gdata.data.sites.SitesLink
public class SitesLink
Describes a sites link.
Nested Class Summary | |
---|---|
static class |
SitesLink.Rel
Link relation type. |
static class |
SitesLink.Type
MIME type of link target. |
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 |
Constructor Summary | |
---|---|
SitesLink()
Default mutable constructor. |
|
SitesLink(java.lang.Integer count,
java.lang.String href,
java.lang.String hrefLang,
java.lang.Long length,
java.lang.String rel,
java.lang.String title,
java.lang.String titleLang,
java.lang.String type,
DateTime updated)
Immutable constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getCount()
Returns the provides a hint to clients as to the total number of replies contained by the linked resource. |
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 provides a hint to clients as to the date and time of the most recently updated reply contained by the linked resource. |
boolean |
hasCount()
Returns whether it has the provides a hint to clients as to the total number of replies contained by the linked resource. |
int |
hashCode()
|
boolean |
hasUpdated()
Returns whether it has the provides a hint to clients as to the date and time of the most recently updated reply contained by the linked resource. |
void |
setCount(java.lang.Integer count)
Sets the provides a hint to clients as to the total number of replies contained by the linked resource. |
void |
setUpdated(DateTime updated)
Sets the provides a hint to clients as to the date and time of the most recently updated reply contained by the linked resource. |
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 |
---|
public SitesLink()
public SitesLink(java.lang.Integer count, java.lang.String href, java.lang.String hrefLang, java.lang.Long length, java.lang.String rel, java.lang.String title, java.lang.String titleLang, java.lang.String type, DateTime updated)
count
- provides a hint to clients as to the total number of replies
contained by the linked resource.updated
- provides a hint to clients as to the date and time of the
most recently updated reply contained by the linked resource.Method Detail |
---|
public java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
count
- provides a hint to clients as to the total number of replies
contained by the linked resource or null
to resetpublic boolean hasCount()
public DateTime getUpdated()
public void setUpdated(DateTime updated)
updated
- provides a hint to clients as to the date and time of the
most recently updated reply contained by the linked resource or
null
to resetpublic boolean hasUpdated()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |