|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<E>
com.google.gdata.data.media.MediaEntry<E>
com.google.gdata.data.photos.GphotoEntry<CommentEntry>
com.google.gdata.data.photos.CommentEntry
public class CommentEntry
Entry for comment kinds, contains comment metadata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Field Summary | |
---|---|
static Category |
CATEGORY
Comment kind category. |
static java.lang.String |
KIND
Comment kind term value. |
Fields inherited from interface com.google.gdata.data.photos.CommentData |
---|
COMMENT_CATEGORY, COMMENT_KIND |
Constructor Summary | |
---|---|
CommentEntry()
Default mutable constructor. |
|
CommentEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.lang.String |
getAlbumId()
Gets the albumid of the album the comment is contained in. |
GphotoAlbumId |
getAlbumIdExt()
Returns the album ID of the album this comment is on. |
java.lang.String |
getPhotoId()
Gets the id of the photo this comment is about. |
GphotoPhotoId |
getPhotoIdExt()
Returns the photo ID of the album this comment is on. |
boolean |
hasAlbumIdExt()
Returns whether it has the album ID of the album this comment is on. |
boolean |
hasPhotoIdExt()
Returns whether it has the photo ID of the album this comment is on. |
void |
setAlbumId(java.lang.Long albumId)
Set the albumId of the album this comment is contained in. |
void |
setAlbumId(java.lang.String albumId)
Set the albumId by string for the album the comment is on. |
void |
setAlbumIdExt(GphotoAlbumId albumIdExt)
Sets the album ID of 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 as a string for the photo this comment is on. |
void |
setPhotoIdExt(GphotoPhotoId photoIdExt)
Sets the photo ID of the album this comment is on. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.photos.GphotoEntry |
---|
generateRss, getAdaptedEntry, getDescription, getFeed, getFeedLink, getGphotoId, setDescription, setGphotoId, setGphotoId |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setSource, setSummary, setTitle, setUpdated, setVersionId, update |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.photos.AtomData |
---|
getAuthors, getCategories, getContributors, getDescription, getId, getLinks, getRights, getTitle, getUpdated, setDescription, setId, setRights, setTitle, setUpdated |
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 |
Methods inherited from interface com.google.gdata.data.IEntry |
---|
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public CommentEntry()
public CommentEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in interface Extensible
declareExtensions
in class GphotoEntry<CommentEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public GphotoAlbumId getAlbumIdExt()
public void setAlbumIdExt(GphotoAlbumId albumIdExt)
albumIdExt
- album ID of the album this comment is on or
null
to resetpublic boolean hasAlbumIdExt()
public GphotoPhotoId getPhotoIdExt()
public void setPhotoIdExt(GphotoPhotoId photoIdExt)
photoIdExt
- photo ID of the album this comment is on or
null
to resetpublic boolean hasPhotoIdExt()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getAlbumId()
CommentData
getAlbumId
in interface CommentData
public java.lang.String getPhotoId()
CommentData
getPhotoId
in interface CommentData
public void setAlbumId(java.lang.Long albumId)
CommentData
setAlbumId
in interface CommentData
albumId
- the albumId of the comment.public void setAlbumId(java.lang.String albumId)
CommentData
setAlbumId
in interface CommentData
albumId
- the albumId of the comment.public void setPhotoId(java.lang.Long photoId)
CommentData
setPhotoId
in interface CommentData
photoId
- the photoId of the comment.public void setPhotoId(java.lang.String photoId)
CommentData
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 |