public class

CommentDataImpl

extends GphotoDataImpl
implements CommentData
java.lang.Object
   ↳ com.google.gdata.data.photos.impl.GphotoDataImpl
     ↳ com.google.gdata.data.photos.impl.CommentDataImpl

Class Overview

Implementation class for album data objects. This class takes an ExtensionPoint and uses it to provide all of the methods that CommentData specifies. These methods are handled by using extension classes to retrieve or set extensions of the appropriate type.

Summary

[Expand]
Inherited Constants
From interface com.google.gdata.data.photos.CommentData
[Expand]
Inherited Fields
From class com.google.gdata.data.photos.impl.GphotoDataImpl
From interface com.google.gdata.data.photos.CommentData
Public Constructors
CommentDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of CommentGphotoData with the given extension point as the backing storage of data.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an Extensible within the target extension profile.
String getAlbumId()
Gets the albumid of the album the comment is contained in.
String getPhotoId()
Gets the id of the photo this comment is about.
void setAlbumId(String albumId)
Set the albumId for the album this comment is on.
void setAlbumId(Long albumId)
Set the albumId for the album this comment is on.
void setPhotoId(Long photoId)
Set the photoId for the photo this comment is on.
void setPhotoId(String photoId)
Set the photoId for the photo this comment is on.
[Expand]
Inherited Methods
From class com.google.gdata.data.photos.impl.GphotoDataImpl
From class java.lang.Object
From interface com.google.gdata.data.photos.CommentData
From interface com.google.gdata.data.photos.Extensible
From interface com.google.gdata.data.photos.GphotoData

Public Constructors

public CommentDataImpl (ExtensionPoint extensionPoint)

Construct a new implementation of CommentGphotoData with the given extension point as the backing storage of data.

Parameters
extensionPoint

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an Extensible within the target extension profile. Forwards to declareExtensions(ExtensionProfile).

Parameters
extProfile The ExtensionProfile to initialize.

public String getAlbumId ()

Gets the albumid of the album the comment is contained in.

Returns
  • the albumId of the album this comment is on.

public String getPhotoId ()

Gets the id of the photo this comment is about.

Returns
  • the photoId of the photo this comment is on.

public void setAlbumId (String albumId)

Set the albumId for the album this comment is on.

Parameters
albumId The albumId of the comment.

public void setAlbumId (Long albumId)

Set the albumId for the album this comment is on.

Parameters
albumId The albumId of the comment.

public void setPhotoId (Long photoId)

Set the photoId for the photo this comment is on.

Parameters
photoId The photoId of the comment.

public void setPhotoId (String photoId)

Set the photoId for the photo this comment is on.

Parameters
photoId The photoId of the comment.