|
|||||||||
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.BaseEntry<VolumeEntry>
com.google.gdata.data.books.VolumeEntry
public class VolumeEntry
Describes an entry in a feed of Book Search volumes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static Category |
CATEGORY
Volume kind category. |
static java.lang.String |
KIND
Volume kind term value. |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
VolumeEntry()
Default mutable constructor. |
|
VolumeEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
void |
addCreator(Creator creator)
Adds a new creator. |
void |
addDate(Date date)
Adds a new date. |
void |
addDescription(Description description)
Adds a new description. |
void |
addFormat(Format format)
Adds a new format. |
void |
addIdentifier(Identifier identifier)
Adds a new identifier. |
void |
addLanguage(Language language)
Adds a new language. |
void |
addPublisher(Publisher publisher)
Adds a new publisher. |
void |
addSubject(Subject subject)
Adds a new subject. |
void |
addTitle(Title title)
Adds a new title. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
Link |
getAnnotationLink()
Returns the annotation link to submit review, rating, labels. |
Link |
getAtomAlternateLink()
Returns the link that provides the URI of an alternate format of the entry's or feed's contents. |
Comments |
getComments()
Returns the Comments class. |
java.util.List<Creator> |
getCreators()
Returns the creators. |
java.util.List<Date> |
getDates()
Returns the dates. |
java.util.List<Description> |
getDescriptions()
Returns the descriptions. |
Embeddability |
getEmbeddability()
Returns the embeddability. |
Link |
getEpubDownloadLink()
Returns the epub download link. |
java.util.List<Format> |
getFormats()
Returns the formats. |
java.util.List<Identifier> |
getIdentifiers()
Returns the identifiers. |
Link |
getInfoLink()
Returns the link to a description page. |
java.util.List<Language> |
getLanguages()
Returns the languages. |
OpenAccess |
getOpenAccess()
Returns the open access. |
Link |
getPreviewLink()
Returns the link to a preview page. |
java.util.List<Publisher> |
getPublishers()
Returns the publishers. |
Rating |
getRating()
Returns the rating. |
Review |
getReview()
Returns the review. |
java.util.List<Subject> |
getSubjects()
Returns the subjects. |
Link |
getThumbnailLink()
Returns the link that provides the URI of a thumbnail image. |
java.util.List<Title> |
getTitles()
Returns the titles. |
Viewability |
getViewability()
Returns the viewability. |
boolean |
hasComments()
Returns whether it has the Comments class. |
boolean |
hasCreators()
Returns whether it has the creators. |
boolean |
hasDates()
Returns whether it has the dates. |
boolean |
hasDescriptions()
Returns whether it has the descriptions. |
boolean |
hasEmbeddability()
Returns whether it has the embeddability. |
boolean |
hasFormats()
Returns whether it has the formats. |
boolean |
hasIdentifiers()
Returns whether it has the identifiers. |
boolean |
hasLanguages()
Returns whether it has the languages. |
boolean |
hasOpenAccess()
Returns whether it has the open access. |
boolean |
hasPublishers()
Returns whether it has the publishers. |
boolean |
hasRating()
Returns whether it has the rating. |
boolean |
hasReview()
Returns whether it has the review. |
boolean |
hasSubjects()
Returns whether it has the subjects. |
boolean |
hasTitles()
Returns whether it has the titles. |
boolean |
hasViewability()
Returns whether it has the viewability. |
void |
setComments(Comments comments)
Sets the Comments class. |
void |
setEmbeddability(Embeddability embeddability)
Sets the embeddability. |
void |
setOpenAccess(OpenAccess openAccess)
Sets the open access. |
void |
setRating(Rating rating)
Sets the rating. |
void |
setReview(Review review)
Sets the review. |
void |
setViewability(Viewability viewability)
Sets the viewability. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public VolumeEntry()
public VolumeEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public Comments getComments()
public void setComments(Comments comments)
comments
- Comments class or null
to resetpublic boolean hasComments()
public java.util.List<Creator> getCreators()
public void addCreator(Creator creator)
creator
- creatorpublic boolean hasCreators()
public java.util.List<Date> getDates()
public void addDate(Date date)
date
- datepublic boolean hasDates()
public java.util.List<Description> getDescriptions()
public void addDescription(Description description)
description
- descriptionpublic boolean hasDescriptions()
public Embeddability getEmbeddability()
public void setEmbeddability(Embeddability embeddability)
embeddability
- embeddability or null
to resetpublic boolean hasEmbeddability()
public java.util.List<Format> getFormats()
public void addFormat(Format format)
format
- formatpublic boolean hasFormats()
public java.util.List<Identifier> getIdentifiers()
public void addIdentifier(Identifier identifier)
identifier
- identifierpublic boolean hasIdentifiers()
public java.util.List<Language> getLanguages()
public void addLanguage(Language language)
language
- languagepublic boolean hasLanguages()
public OpenAccess getOpenAccess()
public void setOpenAccess(OpenAccess openAccess)
openAccess
- open access or null
to resetpublic boolean hasOpenAccess()
public java.util.List<Publisher> getPublishers()
public void addPublisher(Publisher publisher)
publisher
- publisherpublic boolean hasPublishers()
public Rating getRating()
public void setRating(Rating rating)
rating
- rating or null
to resetpublic boolean hasRating()
public Review getReview()
public void setReview(Review review)
review
- review or null
to resetpublic boolean hasReview()
public java.util.List<Subject> getSubjects()
public void addSubject(Subject subject)
subject
- subjectpublic boolean hasSubjects()
public java.util.List<Title> getTitles()
public void addTitle(Title title)
title
- titlepublic boolean hasTitles()
public Viewability getViewability()
public void setViewability(Viewability viewability)
viewability
- viewability or null
to resetpublic boolean hasViewability()
public Link getAnnotationLink()
null
for none.public Link getAtomAlternateLink()
null
for none.public Link getEpubDownloadLink()
null
for none.public Link getInfoLink()
null
for none.public Link getPreviewLink()
null
for none.public Link getThumbnailLink()
null
for
none.protected void validate()
AbstractExtension
validate
in class AbstractExtension
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 |