com.google.gdata.data.books
Class Viewability
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.books.Viewability
- All Implemented Interfaces:
- Extension
public class Viewability
- extends ValueConstruct
Describes a viewability.
Nested Class Summary |
static class |
Viewability.Value
Programmatic value that describes the viewability of a volume in Google
Book Search. |
Constructor Summary |
Viewability()
Default mutable constructor. |
Viewability(java.lang.String value)
Constructor (mutable or immutable). |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Viewability
public Viewability()
- Default mutable constructor.
Viewability
public Viewability(java.lang.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
getDefaultDescription
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 requiredrepeatable
- whether it is repeatable
- Returns:
- extension description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object