Packagecom.yahoo.webapis.search
Classpublic class Song

Song is a Value Object for the Search API.



Public Properties
 PropertyDefined by
  album : Album
The album of the Song.
Song
  artist : Artist
The artist of the Song.
Song
  duration : Number
The duration in seconds.
Song
  id : String
The id of the Song.
Song
  index : uint
The index of the Song in the album (track number).
Song
  name : String
The name of the Song.
Song
  publisher : String
The publisher of the content.
Song
  releaseDate : String
The release date of the Song.
Song
  thumbnail : Thumbnail
The thumbnail.
Song
Public Methods
 MethodDefined by
  
Song()
Construct a new Song instance.
Song
  
toString():String
The label of the Song.
Song
Property detail
albumproperty
album:Album  [read-write]

The album of the Song.

Implementation
    public function get album():Album
    public function set album(value:Album):void
artistproperty 
artist:Artist  [read-write]

The artist of the Song.

Implementation
    public function get artist():Artist
    public function set artist(value:Artist):void
durationproperty 
duration:Number  [read-write]

The duration in seconds.

Implementation
    public function get duration():Number
    public function set duration(value:Number):void
idproperty 
id:String  [read-write]

The id of the Song.

Implementation
    public function get id():String
    public function set id(value:String):void
indexproperty 
index:uint  [read-write]

The index of the Song in the album (track number).

Implementation
    public function get index():uint
    public function set index(value:uint):void
nameproperty 
name:String  [read-write]

The name of the Song.

Implementation
    public function get name():String
    public function set name(value:String):void
publisherproperty 
publisher:String  [read-write]

The publisher of the content.

Implementation
    public function get publisher():String
    public function set publisher(value:String):void
releaseDateproperty 
releaseDate:String  [read-write]

The release date of the Song.

Implementation
    public function get releaseDate():String
    public function set releaseDate(value:String):void
thumbnailproperty 
thumbnail:Thumbnail  [read-write]

The thumbnail.

Implementation
    public function get thumbnail():Thumbnail
    public function set thumbnail(value:Thumbnail):void
Constructor detail
Song()constructor
public function Song()

Construct a new Song instance.

Method detail
toString()method
public function toString():String

The label of the Song.

Returns
String