|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.rmp.Tracklist
public class Tracklist
The list of tracks in a Real Metadata Package.
Constructor Summary | |
---|---|
Tracklist()
|
Method Summary | |
---|---|
void |
addTrack(Track track)
Adds a track to this package. |
String |
getId()
Returns the track list identifier. |
Package |
getParent()
Returns the parent package, if any. |
List<Track> |
getTracks()
Returns the list of tracks defined in this package. |
void |
setId(String id)
Initializes the identifier of this track list. |
(package private) void |
setParent(Package parent)
Initializes the parent package. |
void |
setTracks(List<Track> tracks)
Initializes the list of tracks defined in this package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tracklist()
Method Detail |
---|
void setParent(Package parent)
parent
- the parent package. May be null
.getParent()
public Package getParent()
null
.public String getId()
null
.setId(java.lang.String)
public void setId(String id)
id
- an identifier. May be null
.getId()
public void addTrack(Track track)
track
- a track. Shall not be null
NullPointerException
- if track
is null
.getTracks()
,
setTracks(java.util.List)
public List<Track> getTracks()
null
.setTracks(java.util.List)
,
addTrack(christophedelory.playlist.rmp.Track)
public void setTracks(List<Track> tracks)
tracks
- a list of tracks. May be empty but not null
.
NullPointerException
- if tracks
is null
.getTracks()
,
addTrack(christophedelory.playlist.rmp.Track)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |