|
|||||||||
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.Person
com.google.gdata.data.sidewiki.SidewikiAuthor
public class SidewikiAuthor
Sidewiki author.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.Person |
---|
Person.AtomHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Constructor Summary | |
---|---|
SidewikiAuthor()
Default mutable constructor. |
Method Summary | |
---|---|
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. |
SidewikiUserDescription |
getDescription()
Returns the Sidewiki author description. |
EntriesNumber |
getNumEntries()
Returns the entries number. |
Rating |
getRating()
Returns the user rating given by the user issued the request. |
ResourceId |
getResourceId()
Returns the Sidewiki author id. |
SidewikiThumbnail |
getThumbnail()
Returns the user portrait thumbnail url. |
boolean |
hasDescription()
Returns whether it has the Sidewiki author description. |
boolean |
hasNumEntries()
Returns whether it has the entries number. |
boolean |
hasRating()
Returns whether it has the user rating given by the user issued the request. |
boolean |
hasResourceId()
Returns whether it has the Sidewiki author id. |
boolean |
hasThumbnail()
Returns whether it has the user portrait thumbnail url. |
void |
setDescription(SidewikiUserDescription description)
Sets the Sidewiki author description. |
void |
setNumEntries(EntriesNumber numEntries)
Sets the entries number. |
void |
setRating(Rating rating)
Sets the user rating given by the user issued the request. |
void |
setResourceId(ResourceId resourceId)
Sets the Sidewiki author id. |
void |
setThumbnail(SidewikiThumbnail thumbnail)
Sets the user portrait thumbnail url. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.Person |
---|
generate, generateAtom, generateRss, getEmail, getHandler, getName, getNameLang, getUri, setEmail, setName, setNameLang, setUri |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, 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, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SidewikiAuthor()
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public SidewikiUserDescription getDescription()
public void setDescription(SidewikiUserDescription description)
description
- Sidewiki author description or null
to
resetpublic boolean hasDescription()
public EntriesNumber getNumEntries()
public void setNumEntries(EntriesNumber numEntries)
numEntries
- entries number or null
to resetpublic boolean hasNumEntries()
public Rating getRating()
public void setRating(Rating rating)
rating
- user rating given by the user issued the request or
null
to resetpublic boolean hasRating()
public ResourceId getResourceId()
public void setResourceId(ResourceId resourceId)
resourceId
- Sidewiki author id or null
to resetpublic boolean hasResourceId()
public SidewikiThumbnail getThumbnail()
public void setThumbnail(SidewikiThumbnail thumbnail)
thumbnail
- user portrait thumbnail url or null
to resetpublic boolean hasThumbnail()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatable
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 |