00001 00009 package org.rosmultimedia.player.media.model; 00010 00016 public class Song extends Audio { 00017 private int songid; 00018 private int albumid; 00019 private int artistid; 00020 //private int[] genreid; 00021 //private int[] albumartistid; 00022 //private String albumartist; 00023 private String musicbrainztrackid; 00024 private String musicbrainzartistid; 00025 00026 00027 00028 00029 private String lyrics; 00030 private String comment; 00031 private int duration; 00032 00033 private int disc; 00034 private int track; 00035 00037 public static Song fromJson(String json) { 00038 return fromJson(json, Song.class); 00039 } 00040 00041 public int getSongid() { 00042 return songid; 00043 } 00044 public void setSongid(int songid) { 00045 this.songid = songid; 00046 } 00047 public int getAlbumid() { 00048 return albumid; 00049 } 00050 public void setAlbumid(int albumid) { 00051 this.albumid = albumid; 00052 } 00053 public int getArtistid() { 00054 return artistid; 00055 } 00056 public void setArtistid(int artistid) { 00057 this.artistid = artistid; 00058 } 00059 public String getMusicbrainztrackid() { 00060 return musicbrainztrackid; 00061 } 00062 public void setMusicbrainztrackid(String musicbrainztrackid) { 00063 this.musicbrainztrackid = musicbrainztrackid; 00064 } 00065 00066 public String getMusicbrainzartistid() { 00067 return musicbrainzartistid; 00068 } 00069 public void setMusicbrainzartistid(String musicbrainzartistid) { 00070 this.musicbrainzartistid = musicbrainzartistid; 00071 } 00072 00073 00074 00075 00076 public String getLyrics() { 00077 return lyrics; 00078 } 00079 public void setLyrics(String lyrics) { 00080 this.lyrics = lyrics; 00081 } 00082 public String getComment() { 00083 return comment; 00084 } 00085 public void setComment(String comment) { 00086 this.comment = comment; 00087 } 00088 public int getDuration() { 00089 return duration; 00090 } 00091 public void setDuration(int duration) { 00092 this.duration = duration; 00093 } 00094 00095 public int getDisc() { 00096 return disc; 00097 } 00098 public void setDisc(int disc) { 00099 this.disc = disc; 00100 } 00101 public int getTrack() { 00102 return track; 00103 } 00104 public void setTrack(int track) { 00105 this.track = track; 00106 } 00107 }