![]() |
Bridges-Python
3.2.0
Bridges(PythonAPI)
|
A Song object, used along with the Songs data source.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
Refer to tutorial examples to using this data source in data structure assignments.
Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | artist (self) |
| return artist of song More... | |
| def | artist (self, a) |
| Set artist of song. More... | |
| def | song_title (self) |
| return title of song More... | |
| def | song_title (self, s) |
| Set the song title. More... | |
| def | album_title (self) |
| return album title More... | |
| def | album_title (self, a) |
| Set title of song. More... | |
| def | lyrics (self) |
| return lyrics of song More... | |
| def | lyrics (self, l) |
| Set artist of song. More... | |
| def | release_date (self) |
| return release date of song More... | |
| def | release_date (self, r) |
| Set release date of song. More... | |
| def bridges.data_src_dependent.song.Song.__init__ | ( | self, | |
| artist | |||
| ) |
Constructor.
| artist | song artist |
| song | song title |
| album | song album |
| lyrics | lyrics of song |
| release_date | release date of song |
| def bridges.data_src_dependent.song.Song.album_title | ( | self | ) |
return album title
| def bridges.data_src_dependent.song.Song.album_title | ( | self, | |
| a | |||
| ) |
Set title of song.
| a | album title to set |
| def bridges.data_src_dependent.song.Song.artist | ( | self | ) |
return artist of song
| def bridges.data_src_dependent.song.Song.artist | ( | self, | |
| a | |||
| ) |
Set artist of song.
| a | artist name to set |
| def bridges.data_src_dependent.song.Song.lyrics | ( | self | ) |
return lyrics of song
| def bridges.data_src_dependent.song.Song.lyrics | ( | self, | |
| l | |||
| ) |
Set artist of song.
| l | lyrics data to set |
| def bridges.data_src_dependent.song.Song.release_date | ( | self | ) |
return release date of song
| def bridges.data_src_dependent.song.Song.release_date | ( | self, | |
| r | |||
| ) |
Set release date of song.
| r | release date to set |
| def bridges.data_src_dependent.song.Song.song_title | ( | self | ) |
return title of song
| def bridges.data_src_dependent.song.Song.song_title | ( | self, | |
| s | |||
| ) |
Set the song title.
| s | artist name to set |
1.8.13