Package com.tagtraum.beatunes.library
Class Album
- java.lang.Object
-
- com.tagtraum.beatunes.library.Album
-
public class Album extends Object
Album.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlbum.KeyKey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AudioSong song)StringgetArtist()Album.KeygetKey()StringgetName()List<AudioSong>getSongs()booleanshouldContain(AudioSong song)Checks whether this album should contain a given song.StringtoString()
-
-
-
Method Detail
-
add
public void add(AudioSong song)
- Parameters:
song- song
-
shouldContain
public boolean shouldContain(AudioSong song)
Checks whether this album should contain a given song.- Parameters:
song- song- Returns:
- true or false
-
getName
public String getName()
-
getArtist
public String getArtist()
-
getKey
public Album.Key getKey()
-
-