public class

Viewability

extends ValueConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.books.Viewability

Class Overview

Describes a viewability.

Summary

Nested Classes
class Viewability.Value Programmatic value that describes the viewability of a volume in Google Book Search. 
Constants
String VALUE XML "value" attribute name
String XML_NAME XML element name
[Expand]
Inherited Fields
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
Viewability()
Default mutable constructor.
Viewability(String value)
Constructor (mutable or immutable).
Public Methods
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
String toString()
[Expand]
Inherited Methods
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String VALUE

XML "value" attribute name

Constant Value: "value"

static final String XML_NAME

XML element name

Constant Value: "viewability"

Public Constructors

public Viewability ()

Default mutable constructor.

public Viewability (String value)

Constructor (mutable or immutable).

Parameters
value Immutable programmatic value that describes the viewability of a volume in Google Book Search or null for a mutable programmatic value that describes the viewability of a volume in Google Book Search

Public Methods

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

public String toString ()