|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.photos.impl.GphotoDataImpl
com.google.gdata.data.photos.impl.CommentDataImpl
public class CommentDataImpl
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.photos.impl.GphotoDataImpl |
---|
GphotoDataImpl.GphotoRssLink, GphotoDataImpl.GphotoType |
Field Summary |
---|
Fields inherited from interface com.google.gdata.data.photos.CommentData |
---|
COMMENT_CATEGORY, COMMENT_KIND, KIND |
Constructor Summary | |
---|---|
CommentDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of CommentGphotoData with the given extension point as the backing storage of data. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.google.gdata.data.photos.impl.GphotoDataImpl |
---|
addExtension, addRepeatingExtension, declare, getBooleanValue, getDateValue, getExtension, getFloatValue, getGphotoId, getIntegerValue, getLongValue, getRepeatingExtension, getSimpleValue, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.photos.GphotoData |
---|
getGphotoId, setGphotoId, setGphotoId |
Methods inherited from interface com.google.gdata.data.photos.Extensible |
---|
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Constructor Detail |
---|
public CommentDataImpl(ExtensionPoint extensionPoint)
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |