package com.ved.musicmapapp.Objects; import java.io.Serializable; public class LocalSong implements Serializable{ /** * */ private static final long serialVersionUID = -4327407136146768092L; public static int TYPE_DEL = 0; public static int TYPE_ADD = 1; private int ID; private String title; private String titleEdited; private String artist; private String artistEdited; private String album; private int type; private long lastListen; private boolean deleted; public String genre; public LocalSong() {} public LocalSong(int iD, String title, String titleEdited, String artist, String artistEdited, String album, int type, long lastListen,String genre) { ID = iD; this.title = title; this.titleEdited = titleEdited; this.artist = artist; this.artistEdited = artistEdited; this.album = album; this.type = type; this.lastListen = lastListen; this.genre = genre; } /** * @return the deleted */ public boolean isDeleted() { return deleted; } /** * @param deleted the deleted to set */ public void setDeleted(boolean deleted) { this.deleted = deleted; } /** * @return the tYPE_DEL */ public static int getTYPE_DEL() { return TYPE_DEL; } /** * @param tYPE_DEL the tYPE_DEL to set */ public static void setTYPE_DEL(int tYPE_DEL) { TYPE_DEL = tYPE_DEL; } /** * @return the tYPE_ADD */ public static int getTYPE_ADD() { return TYPE_ADD; } /** * @param tYPE_ADD the tYPE_ADD to set */ public static void setTYPE_ADD(int tYPE_ADD) { TYPE_ADD = tYPE_ADD; } /** * @return the iD */ public int getID() { return ID; } /** * @param iD the iD to set */ public void setID(int iD) { ID = iD; } /** * @return the title */ public String getTitle() { return title; } /** * @param title the title to set */ public void setTitle(String title) { this.title = title; } /** * @return the titleEdited */ public String getTitleEdited() { return titleEdited; } /** * @param titleEdited the titleEdited to set */ public void setTitleEdited(String titleEdited) { this.titleEdited = titleEdited; } /** * @return the artist */ public String getArtist() { return artist; } /** * @param artist the artist to set */ public void setArtist(String artist) { this.artist = artist; } /** * @return the artistEdited */ public String getArtistEdited() { return artistEdited; } /** * @param artistEdited the artistEdited to set */ public void setArtistEdited(String artistEdited) { this.artistEdited = artistEdited; } /** * @return the album */ public String getAlbum() { return album; } /** * @param album the album to set */ public void setAlbum(String album) { this.album = album; } /** * @return the type */ public int getType() { return type; } /** * @param type the type to set */ public void setType(int type) { this.type = type; } /** * @return the lastListen */ public long getLastListen() { return lastListen; } /** * @param lastListen the lastListen to set */ public void setLastListen(long lastListen) { this.lastListen = lastListen; } public void setGenre(String genre){ this.genre = genre; } public String getGenre(){ return this.genre; } }