Google Data APIs Client Library (1.41.1)



com.google.gdata.data.photos
Class GphotoAlbumId

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

public class GphotoAlbumId
extends ValueConstruct

The album ID that the entity is contained in.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension
AbstractExtension.AttributesHandler
 
Field Summary
 
Fields inherited from class com.google.gdata.data.ValueConstruct
attrName
 
Fields inherited from class com.google.gdata.data.AbstractExtension
localName, namespace
 
Constructor Summary
GphotoAlbumId()
          Default mutable constructor.
GphotoAlbumId(java.lang.String value)
          Constructor (mutable or immutable).
 
Method Summary
static GphotoAlbumId from(java.lang.Long id)
           
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
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GphotoAlbumId

public GphotoAlbumId()
Default mutable constructor.


GphotoAlbumId

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

Parameters:
value - immutable albumId or null for a mutable albumId
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

from

public static GphotoAlbumId from(java.lang.Long id)