View Javadoc

1   package org.musicontroller.songselection;
2   
3   /**
4    * Entry for the LastPlayedContainer.
5    * @author Varienaja
6    */
7   public class LastPlayedEntry {
8   	private boolean _playedEntirely;
9   	private long _songid;
10  	
11  	public LastPlayedEntry(long songid, boolean entirely) {
12  		_playedEntirely = entirely;
13  		_songid = songid;
14  	}
15  	
16  	public boolean isPlayedEntirely() {
17  		return _playedEntirely;
18  	}
19  
20  	public long getSongid() {
21  		return _songid;
22  	}
23  
24  	public void markSkipped() {
25  		_playedEntirely = false;
26  	}
27  	
28  }