public class AudioEntry extends DocumentListEntry
DocumentListFeed
.DocumentListEntry.MediaType
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
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.
|
FOLDERS_NAMESPACE, PARENT_NAMESPACE, REVISIONS_NAMESPACE, THUMBNAIL_NAMESPACE, UNKNOWN_CATEGORY, UNKNOWN_KIND, UNKNOWN_LABEL
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addFolder, getAclFeed, getAclFeedLink, getDescription, getDocId, getDocumentLink, getFolders, getKey, getLastModifiedBy, getLastViewed, getMd5Checksum, getParentLinks, getQuotaBytesUsed, getResourceId, getType, isHidden, isStarred, isTrashed, isViewed, isWritersCanInvite, setDescription, setFile, setFile, setHidden, setLastModifiedBy, setLastViewed, setMd5Checksum, setQuotaBytesUsed, setResourceId, setStarred, setTrashed, setViewed, setWritersCanInvite
getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia
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
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId
public static final java.lang.String LABEL
public static final java.lang.String KIND
public static final Category CATEGORY
public AudioEntry()
public AudioEntry(BaseEntry<?> sourceEntry)
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()