public class

AudioEntry

extends DocumentListEntry
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.docs.DocumentListEntry
             ↳ com.google.gdata.data.docs.AudioEntry

Class Overview

An entry representing a single audio file with a DocumentListFeed.

Summary

Constants
String KIND Kind category term used to label the entries which are of this document type.
String LABEL Label for category.
[Expand]
Inherited Constants
From class com.google.gdata.data.docs.DocumentListEntry
Fields
public static final Category CATEGORY Category used to label entries which are of this document type.
[Expand]
Inherited Fields
From class com.google.gdata.data.docs.DocumentListEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
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.
Public Methods
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.
[Expand]
Inherited Methods
From class com.google.gdata.data.docs.DocumentListEntry
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Constants

public static final String KIND

Kind category term used to label the entries which are of this document type.

Constant Value: "http://schemas.google.com/docs/2007#audio"

public static final String LABEL

Label for category.

Constant Value: "audio"

Fields

public static final Category CATEGORY

Category used to label entries which are of this document type.

Public Constructors

public AudioEntry ()

Constructs a new uninitialized entry, to be populated by the GData parsers.

public AudioEntry (BaseEntry<?> sourceEntry)

Constructs a new entry by doing a shallow copy from another BaseEntry instance.

Parameters
sourceEntry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public Album getAlbum ()

Returns the album.

public AlbumArt getAlbumArt ()

Returns the album art.

public AlbumArtist getAlbumArtist ()

Returns the album artist.

public Artist getArtist ()

Returns the artist.

public Composer getComposer ()

Returns the composer.

public Duration getDuration ()

Returns the duration.

public Genre getGenre ()

Returns the genre.

public Size getSize ()

Returns the size.

public Track getTrack ()

Returns the track.

public Year getYear ()

Returns the year.

public boolean hasAlbum ()

Returns whether it has the album.

public boolean hasAlbumArt ()

Returns whether it has the album art.

public boolean hasAlbumArtist ()

Returns whether it has the album artist.

public boolean hasArtist ()

Returns whether it has the artist.

public boolean hasComposer ()

Returns whether it has the composer.

public boolean hasDuration ()

Returns whether it has the duration.

public boolean hasGenre ()

Returns whether it has the genre.

public boolean hasSize ()

Returns whether it has the size.

public boolean hasTrack ()

Returns whether it has the track.

public boolean hasYear ()

Returns whether it has the year.

public void setAlbum (Album album)

Sets the album.

Parameters
album Album or null to reset

public void setAlbumArt (AlbumArt albumArt)

Sets the album art.

Parameters
albumArt Album art or null to reset

public void setAlbumArtist (AlbumArtist albumArtist)

Sets the album artist.

Parameters
albumArtist Album artist or null to reset

public void setArtist (Artist artist)

Sets the artist.

Parameters
artist Artist or null to reset

public void setComposer (Composer composer)

Sets the composer.

Parameters
composer Composer or null to reset

public void setDuration (Duration duration)

Sets the duration

Parameters
duration Duration or null to reset

public void setGenre (Genre genre)

Sets the genre.

Parameters
genre Genre or null to reset

public void setSize (Size size)

Sets the size.

Parameters
size Size or null to reset

public void setTrack (Track track)

Sets the track.

Parameters
track Track or null to reset

public void setYear (Year year)

Sets the year.

Parameters
year Year or null to reset