public class Viewability extends ValueConstruct
Modifier and Type | Class and Description |
---|---|
static class |
Viewability.Value
Programmatic value that describes the viewability of a volume in Google
Book Search.
|
Constructor and Description |
---|
Viewability()
Default mutable constructor.
|
Viewability(java.lang.String value)
Constructor (mutable or immutable).
|
Modifier and Type | Method and Description |
---|---|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.lang.String |
toString() |
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setValue
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public Viewability()
public Viewability(java.lang.String value)
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 Searchpublic static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic java.lang.String toString()
toString
in class java.lang.Object