|
|||||||||
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<DocumentListEntry>
com.google.gdata.data.docs.DocumentListEntry
com.google.gdata.data.docs.AudioEntry
public class AudioEntry
An entry representing a single audio file with a DocumentListFeed
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.docs.DocumentListEntry |
---|
DocumentListEntry.MediaType |
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static Category |
CATEGORY
Category used to label entries which are of this document type. |
static java.lang.String |
KIND
Kind category term used to label the entries which are of this document type. |
static java.lang.String |
LABEL
Label for category. |
Fields inherited from class com.google.gdata.data.docs.DocumentListEntry |
---|
FOLDERS_NAMESPACE, PARENT_NAMESPACE, REVISIONS_NAMESPACE, UNKNOWN_CATEGORY, UNKNOWN_KIND, UNKNOWN_LABEL |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
AudioEntry()
Constructs a new uninitialized entry, to be populated by the GData parsers. |
|
AudioEntry(BaseEntry<?> sourceEntry)
Constructs a new entry by doing a shallow copy from another BaseEntry instance. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
Album |
getAlbum()
Returns the album. |
AlbumArt |
getAlbumArt()
Returns the album art. |
AlbumArtist |
getAlbumArtist()
Returns the album artist. |
Artist |
getArtist()
Returns the artist. |
Composer |
getComposer()
Returns the composer. |
Duration |
getDuration()
Returns the duration. |
Genre |
getGenre()
Returns the genre. |
Size |
getSize()
Returns the size. |
Track |
getTrack()
Returns the track. |
Year |
getYear()
Returns the year. |
boolean |
hasAlbum()
Returns whether it has the album. |
boolean |
hasAlbumArt()
Returns whether it has the album art. |
boolean |
hasAlbumArtist()
Returns whether it has the album artist. |
boolean |
hasArtist()
Returns whether it has the artist. |
boolean |
hasComposer()
Returns whether it has the composer. |
boolean |
hasDuration()
Returns whether it has the duration. |
boolean |
hasGenre()
Returns whether it has the genre. |
boolean |
hasSize()
Returns whether it has the size. |
boolean |
hasTrack()
Returns whether it has the track. |
boolean |
hasYear()
Returns whether it has the year. |
void |
setAlbum(Album album)
Sets the album. |
void |
setAlbumArt(AlbumArt albumArt)
Sets the album art. |
void |
setAlbumArtist(AlbumArtist albumArtist)
Sets the album artist. |
void |
setArtist(Artist artist)
Sets the artist. |
void |
setComposer(Composer composer)
Sets the composer. |
void |
setDuration(Duration duration)
Sets the duration |
void |
setGenre(Genre genre)
Sets the genre. |
void |
setSize(Size size)
Sets the size. |
void |
setTrack(Track track)
Sets the track. |
void |
setYear(Year year)
Sets the year. |
Methods inherited from class com.google.gdata.data.docs.DocumentListEntry |
---|
addFolder, getAclFeed, getAclFeedLink, getDocId, getDocumentLink, getFolders, getKey, getLastModifiedBy, getLastViewed, getMimeTypeFromFileName, getParentLinks, getQuotaBytesUsed, getResourceId, getType, isHidden, isStarred, isTrashed, isViewed, isWritersCanInvite, setFile, setFile, setHidden, setLastModifiedBy, setLastViewed, setQuotaBytesUsed, setResourceId, setStarred, setTrashed, setViewed, setWritersCanInvite |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, 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, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
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.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 LABEL
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public AudioEntry()
public AudioEntry(BaseEntry<?> sourceEntry)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class DocumentListEntry
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public Album getAlbum()
public void setAlbum(Album album)
album
- album or null
to resetpublic boolean hasAlbum()
public AlbumArt getAlbumArt()
public void setAlbumArt(AlbumArt albumArt)
albumArt
- album art or null
to resetpublic boolean hasAlbumArt()
public AlbumArtist getAlbumArtist()
public void setAlbumArtist(AlbumArtist albumArtist)
albumArtist
- album artist or null
to resetpublic boolean hasAlbumArtist()
public Artist getArtist()
public void setArtist(Artist artist)
artist
- artist or null
to resetpublic boolean hasArtist()
public Composer getComposer()
public void setComposer(Composer composer)
composer
- composer or null
to resetpublic boolean hasComposer()
public Duration getDuration()
public void setDuration(Duration duration)
duration
- duration or null
to resetpublic boolean hasDuration()
public Genre getGenre()
public void setGenre(Genre genre)
genre
- genre or null
to resetpublic boolean hasGenre()
public Size getSize()
public void setSize(Size size)
size
- size or null
to resetpublic boolean hasSize()
public Track getTrack()
public void setTrack(Track track)
track
- track or null
to resetpublic boolean hasTrack()
public Year getYear()
public void setYear(Year year)
year
- year or null
to resetpublic boolean hasYear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |