public class CommentDataImpl extends GphotoDataImpl implements CommentData
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.COMMENT_CATEGORY, COMMENT_KIND, KIND| Constructor and Description |
|---|
CommentDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of CommentGphotoData with the given
extension point as the backing storage of data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an Extensible
within the target extension profile.
|
java.lang.String |
getAlbumId()
Gets the albumid of the album the comment is contained in.
|
java.lang.String |
getPhotoId()
Gets the id of the photo this comment is about.
|
void |
setAlbumId(java.lang.Long albumId)
Set the albumId for the album this comment is on.
|
void |
setAlbumId(java.lang.String albumId)
Set the albumId for the album this comment is on.
|
void |
setPhotoId(java.lang.Long photoId)
Set the photoId for the photo this comment is on.
|
void |
setPhotoId(java.lang.String photoId)
Set the photoId for the photo this comment is on.
|
addExtension, addRepeatingExtension, declare, getExtension, getGphotoId, getRepeatingExtension, getSimpleValue, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGphotoId, setGphotoId, setGphotoIdaddExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtensionpublic CommentDataImpl(ExtensionPoint extensionPoint)
public void declareExtensions(ExtensionProfile extProfile)
ExtensibleExtensionPoint.declareExtensions(ExtensionProfile).declareExtensions in interface ExtensibledeclareExtensions in class GphotoDataImplextProfile - the ExtensionProfile to initialize.public java.lang.String getAlbumId()
CommentDatagetAlbumId in interface CommentDatapublic void setAlbumId(java.lang.Long albumId)
setAlbumId in interface CommentDataalbumId - the albumId of the comment.public void setAlbumId(java.lang.String albumId)
setAlbumId in interface CommentDataalbumId - the albumId of the comment.public java.lang.String getPhotoId()
CommentDatagetPhotoId in interface CommentDatapublic void setPhotoId(java.lang.Long photoId)
setPhotoId in interface CommentDataphotoId - the photoId of the comment.public void setPhotoId(java.lang.String photoId)
setPhotoId in interface CommentDataphotoId - the photoId of the comment.