com.google.gdata.data.books
Class OpenAccess

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ValueConstruct
          extended by com.google.gdata.data.books.OpenAccess
All Implemented Interfaces:
Extension

public class OpenAccess
extends ValueConstruct

Describes an open access.


Nested Class Summary
static class OpenAccess.Value
          Programmatic value that describes whether the volume is in Open Access.
 
Constructor Summary
OpenAccess()
          Default mutable constructor.
OpenAccess(java.lang.String value)
          Constructor (mutable or immutable).
 
Method Summary
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()
           
 
Methods inherited from class com.google.gdata.data.ValueConstruct
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setValue
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenAccess

public OpenAccess()
Default mutable constructor.


OpenAccess

public OpenAccess(java.lang.String value)
Constructor (mutable or immutable).

Parameters:
value - immutable programmatic value that describes whether the volume is in Open Access or null for a mutable programmatic value that describes whether the volume is in Open Access
Method Detail

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 required
repeatable - whether it is repeatable
Returns:
extension description

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object