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, getGphotoId, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGphotoId, setGphotoId, setGphotoId
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension
public CommentDataImpl(ExtensionPoint extensionPoint)
public void declareExtensions(ExtensionProfile extProfile)
Extensible
ExtensionPoint.declareExtensions(ExtensionProfile)
.declareExtensions
in interface Extensible
declareExtensions
in class GphotoDataImpl
extProfile
- the ExtensionProfile to initialize.public java.lang.String getAlbumId()
CommentData
getAlbumId
in interface CommentData
public void setAlbumId(java.lang.Long albumId)
setAlbumId
in interface CommentData
albumId
- the albumId of the comment.public void setAlbumId(java.lang.String albumId)
setAlbumId
in interface CommentData
albumId
- the albumId of the comment.public java.lang.String getPhotoId()
CommentData
getPhotoId
in interface CommentData
public void setPhotoId(java.lang.Long photoId)
setPhotoId
in interface CommentData
photoId
- the photoId of the comment.public void setPhotoId(java.lang.String photoId)
setPhotoId
in interface CommentData
photoId
- the photoId of the comment.