Class SongMeta
java.lang.Object
de.pottgames.tuningfork.jukebox.song.SongMeta
A class that holds basic meta data to a
Song like title and artist. If you need custom attributes of arbitrary types, use
addAttribute(Object, Object) and getAttribute(Object). It is a regular map of key-value pairs.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(Object key, Object value) Adds a custom attribute.getAlbum()Returns the album.Returns the artist.getAttribute(Object key) Returns the value that is connected to the given key.getTitle()Returns the title.Sets the album.Sets the artist.Sets the title.toString()
-
Field Details
-
artist
-
title
-
album
-
-
Constructor Details
-
SongMeta
public SongMeta()
-
-
Method Details
-
setArtist
-
setTitle
-
setAlbum
-
getArtist
-
getTitle
-
getAlbum
-
addAttribute
-
getAttribute
-
toString
-