public class

VolumeEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.books.VolumeEntry

Class Overview

Describes an entry in a feed of Book Search volumes.

Summary

Constants
String KIND Volume kind term value.
Fields
public static final Category CATEGORY Volume kind category.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
VolumeEntry()
Default mutable constructor.
VolumeEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
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.
List<Creator> getCreators()
Returns the creators.
List<Date> getDates()
Returns the dates.
List<Description> getDescriptions()
Returns the descriptions.
Embeddability getEmbeddability()
Returns the embeddability.
Link getEpubDownloadLink()
Returns the epub download link.
List<Format> getFormats()
Returns the formats.
List<Identifier> getIdentifiers()
Returns the identifiers.
Link getInfoLink()
Returns the link to a description page.
List<Language> getLanguages()
Returns the languages.
OpenAccess getOpenAccess()
Returns the open access.
Link getPreviewLink()
Returns the link to a preview page.
List<Publisher> getPublishers()
Returns the publishers.
Rating getRating()
Returns the rating.
Review getReview()
Returns the review.
List<Subject> getSubjects()
Returns the subjects.
Link getThumbnailLink()
Returns the link that provides the URI of a thumbnail image.
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.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
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.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

public static final String KIND

Volume kind term value.

Constant Value: "http://schemas.google.com/books/2008#volume"

Fields

public static final Category CATEGORY

Volume kind category.

Public Constructors

public VolumeEntry ()

Default mutable constructor.

public VolumeEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void addCreator (Creator creator)

Adds a new creator.

Parameters
creator Creator

public void addDate (Date date)

Adds a new date.

Parameters
date Date

public void addDescription (Description description)

Adds a new description.

Parameters
description Description

public void addFormat (Format format)

Adds a new format.

Parameters
format Format

public void addIdentifier (Identifier identifier)

Adds a new identifier.

Parameters
identifier Identifier

public void addLanguage (Language language)

Adds a new language.

Parameters
language Language

public void addPublisher (Publisher publisher)

Adds a new publisher.

Parameters
publisher Publisher

public void addSubject (Subject subject)

Adds a new subject.

Parameters
subject Subject

public void addTitle (Title title)

Adds a new title.

Parameters
title Title

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public Link getAnnotationLink ()

Returns the annotation link to submit review, rating, labels.

Returns
  • Annotation link to submit review, rating, labels or null for none.

public Link getAtomAlternateLink ()

Returns the link that provides the URI of an alternate format of the entry's or feed's contents.

Returns
  • Link that provides the URI of an alternate format of the entry's or feed's contents or null for none.

public Comments getComments ()

Returns the Comments class.

Returns
  • Comments class

public List<Creator> getCreators ()

Returns the creators.

Returns
  • creators

public List<Date> getDates ()

Returns the dates.

Returns
  • dates

public List<Description> getDescriptions ()

Returns the descriptions.

Returns
  • descriptions

public Embeddability getEmbeddability ()

Returns the embeddability.

Returns
  • embeddability

public Link getEpubDownloadLink ()

Returns the epub download link.

Returns
  • Epub download link or null for none.

public List<Format> getFormats ()

Returns the formats.

Returns
  • formats

public List<Identifier> getIdentifiers ()

Returns the identifiers.

Returns
  • identifiers

public Link getInfoLink ()

Returns the link to a description page.

Returns
  • Link to a description page or null for none.

public List<Language> getLanguages ()

Returns the languages.

Returns
  • languages

public OpenAccess getOpenAccess ()

Returns the open access.

Returns
  • open access

public Link getPreviewLink ()

Returns the link to a preview page.

Returns
  • Link to a preview page or null for none.

public List<Publisher> getPublishers ()

Returns the publishers.

Returns
  • publishers

public Rating getRating ()

Returns the rating.

Returns
  • rating

public Review getReview ()

Returns the review.

Returns
  • review

public List<Subject> getSubjects ()

Returns the subjects.

Returns
  • subjects

public Link getThumbnailLink ()

Returns the link that provides the URI of a thumbnail image.

Returns
  • Link that provides the URI of a thumbnail image or null for none.

public List<Title> getTitles ()

Returns the titles.

Returns
  • titles

public Viewability getViewability ()

Returns the viewability.

Returns
  • viewability

public boolean hasComments ()

Returns whether it has the Comments class.

Returns
  • whether it has the Comments class

public boolean hasCreators ()

Returns whether it has the creators.

Returns
  • whether it has the creators

public boolean hasDates ()

Returns whether it has the dates.

Returns
  • whether it has the dates

public boolean hasDescriptions ()

Returns whether it has the descriptions.

Returns
  • whether it has the descriptions

public boolean hasEmbeddability ()

Returns whether it has the embeddability.

Returns
  • whether it has the embeddability

public boolean hasFormats ()

Returns whether it has the formats.

Returns
  • whether it has the formats

public boolean hasIdentifiers ()

Returns whether it has the identifiers.

Returns
  • whether it has the identifiers

public boolean hasLanguages ()

Returns whether it has the languages.

Returns
  • whether it has the languages

public boolean hasOpenAccess ()

Returns whether it has the open access.

Returns
  • whether it has the open access

public boolean hasPublishers ()

Returns whether it has the publishers.

Returns
  • whether it has the publishers

public boolean hasRating ()

Returns whether it has the rating.

Returns
  • whether it has the rating

public boolean hasReview ()

Returns whether it has the review.

Returns
  • whether it has the review

public boolean hasSubjects ()

Returns whether it has the subjects.

Returns
  • whether it has the subjects

public boolean hasTitles ()

Returns whether it has the titles.

Returns
  • whether it has the titles

public boolean hasViewability ()

Returns whether it has the viewability.

Returns
  • whether it has the viewability

public void setComments (Comments comments)

Sets the Comments class.

Parameters
comments Comments class or null to reset

public void setEmbeddability (Embeddability embeddability)

Sets the embeddability.

Parameters
embeddability Embeddability or null to reset

public void setOpenAccess (OpenAccess openAccess)

Sets the open access.

Parameters
openAccess Open access or null to reset

public void setRating (Rating rating)

Sets the rating.

Parameters
rating Rating or null to reset

public void setReview (Review review)

Sets the review.

Parameters
review Review or null to reset

public void setViewability (Viewability viewability)

Sets the viewability.

Parameters
viewability Viewability or null to reset

public String toString ()

Protected Methods

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.