public class PlaylistInfo extends FolderInfo implements java.lang.Cloneable
Constructor and Description |
---|
PlaylistInfo()
Constructs a new PlaylistInfo object with default values
|
Modifier and Type | Method and Description |
---|---|
PlaylistInfo |
addEntry(ChildInfo entry) |
PlaylistInfo |
clone() |
java.lang.String |
getComment() |
java.lang.String |
getCreationDate() |
int |
getDuration() |
java.util.List<ChildInfo> |
getEntriesArray() |
java.lang.String |
getOwner() |
int |
getSongCount() |
boolean |
isPublic() |
PlaylistInfo |
setComment(java.lang.String comment) |
PlaylistInfo |
setCreationDate(java.lang.String created) |
PlaylistInfo |
setDuration(int duration) |
PlaylistInfo |
setEntriesArray(java.util.List<ChildInfo> entriesArray) |
PlaylistInfo |
setOwner(java.lang.String owner) |
PlaylistInfo |
setPublic(boolean isPublic) |
PlaylistInfo |
setSongCount(int songCount) |
java.lang.String |
toString()
The string representation of this playlist is its title
|
getId, getName, setId, setName
public PlaylistInfo()
{ id : "-1", duration : 0, songCount : 0, created : "", name : "-", owner : "", comment : "", isPublic : false, entriesArray : [] }
public int getDuration()
public int getSongCount()
public java.lang.String getCreationDate()
public java.lang.String getOwner()
public java.lang.String getComment()
public boolean isPublic()
public java.util.List<ChildInfo> getEntriesArray()
public PlaylistInfo setDuration(int duration)
public PlaylistInfo setSongCount(int songCount)
public PlaylistInfo setCreationDate(java.lang.String created)
public PlaylistInfo setOwner(java.lang.String owner)
public PlaylistInfo setComment(java.lang.String comment)
public PlaylistInfo setPublic(boolean isPublic)
public PlaylistInfo setEntriesArray(java.util.List<ChildInfo> entriesArray)
public PlaylistInfo addEntry(ChildInfo entry)
public java.lang.String toString()
toString
in class FolderInfo
public PlaylistInfo clone()
clone
in class FolderInfo