YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
de.yaacc.upnp.model.YaaccMusicTrack Class Reference

Lightweight MusicTrack wrapper that avoids Cling Property overhead. More...

Inheritance diagram for de.yaacc.upnp.model.YaaccMusicTrack:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.model.YaaccMusicTrack:
Collaboration graph

Public Member Functions

 YaaccMusicTrack (String id, String parentId, String title, String creator, boolean restricted)
 
void setAlbum (String album)
 
void setArtist (String artist)
 
void setTrackNumber (Integer trackNumber)
 
void setDate (String date)
 
void setGenres (String[] genres)
 
void setAlbumArtUri (URI albumArtUri)
 
String getAlbum ()
 
String getArtist ()
 
Integer getTrackNumber ()
 
String getDate ()
 
String[] getGenres ()
 
URI getAlbumArtUri ()
 
MusicTrack toClingItem ()
 Convert to Cling MusicTrack for UPnP serialization.
 
- Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem
 YaaccItem (String id, String parentId, String title, String creator, boolean restricted, String clazz)
 
String getId ()
 
String getParentId ()
 
String getTitle ()
 
String getCreator ()
 
boolean isRestricted ()
 
String getClazz ()
 
List< YaaccResgetResources ()
 
void addResource (YaaccRes res)
 

Static Public Member Functions

static YaaccMusicTrack fromClingMusicTrack (MusicTrack track)
 Create from Cling MusicTrack.
 
- Static Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem
static YaaccItem fromClingItem (Item item)
 Create from Cling Item.
 

Additional Inherited Members

- Protected Attributes inherited from de.yaacc.upnp.model.YaaccItem
List< YaaccResresources = new ArrayList<>()
 

Detailed Description

Lightweight MusicTrack wrapper that avoids Cling Property overhead.

Supports: artist, album, track number, genre, date, album art URI.

Member Function Documentation

◆ toClingItem()

MusicTrack de.yaacc.upnp.model.YaaccMusicTrack.toClingItem ( )

Convert to Cling MusicTrack for UPnP serialization.

Reimplemented from de.yaacc.upnp.model.YaaccItem.


The documentation for this class was generated from the following file: