public class

GphotoPhotoId

extends ValueConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.photos.GphotoPhotoId

Class Overview

The photo ID that the entity is contained in.

Summary

Constants
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
GphotoPhotoId()
Default mutable constructor.
GphotoPhotoId(String value)
Constructor (mutable or immutable).
Public Methods
static GphotoPhotoId from(Long id)
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

static final String XML_NAME

XML element name

Constant Value: "photoid"

Public Constructors

public GphotoPhotoId ()

Default mutable constructor.

public GphotoPhotoId (String value)

Constructor (mutable or immutable).

Parameters
value Immutable photoId or null for a mutable photoId

Public Methods

public static GphotoPhotoId from (Long id)

Parameters
id

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 ()