|
|
@ -22,6 +22,7 @@ public class Song |
|
|
|
|
|
|
|
|
|
|
|
private String requestedBy; |
|
|
|
private String requestedBy; |
|
|
|
private String requestedIn; |
|
|
|
private String requestedIn; |
|
|
|
|
|
|
|
private boolean kept = false; |
|
|
|
|
|
|
|
|
|
|
|
public Song(URL url) |
|
|
|
public Song(URL url) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -100,6 +101,16 @@ public class Song |
|
|
|
this.requestedIn = requestedIn; |
|
|
|
this.requestedIn = requestedIn; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isKept() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return kept; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setKept(boolean kept) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
this.kept = kept; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() |
|
|
|
public String toString() |
|
|
|
{ |
|
|
|
{ |
|
|
|