View Javadoc

1   package org.rpi.player.events;
2   
3   
4   public class EventUpdateTrackMetaText implements EventBase {
5   	
6   
7   	private String title = null;
8   	private String artist = null;
9   	private String metaData = "";
10  	private int id;
11  
12  //	public EventUpdateTrackMetaData(Object source) {
13  //		super(source);
14  //	}
15  	
16  	public EnumPlayerEvents getType()
17  	{
18  		return EnumPlayerEvents.EVENTUPDATETRACKMETATEXT;
19  	}
20  	
21  	/**
22  	 * @return the title
23  	 */
24  	public String getTitle() {
25  		return title;
26  	}
27  	/**
28  	 * @param title the title to set
29  	 */
30  	public void setTitle(String title) {
31  		this.title = title;
32  	}
33  
34  	/**
35  	 * @return the artist
36  	 */
37  	public String getArtist() {
38  		return artist;
39  	}
40  
41  	/**
42  	 * @param artist the artist to set
43  	 */
44  	public void setArtist(String artist) {
45  		this.artist = artist;
46  	}
47  
48  	public String getMetaText() {
49  		return metaData;
50  	}
51  
52  	public void setMetaText(String metaData) {
53  		this.metaData = metaData;
54  	}
55  
56  	public void setCurrentTrackId(int id) {
57  		this.id = id;	
58  	}
59  	
60  	public int getCurrentTrackId()
61  	{
62  		return id;
63  	}
64  
65  
66  }