public class

GphotoId

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

Class Overview

The photos system id for the element.

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
GphotoId()
Default mutable constructor.
GphotoId(String value)
Constructor (mutable or immutable).
Public Methods
static GphotoId 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: "id"

Public Constructors

public GphotoId ()

Default mutable constructor.

public GphotoId (String value)

Constructor (mutable or immutable).

Parameters
value Immutable gphotoId or null for a mutable gphotoId

Public Methods

public static GphotoId 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 ()