1 package org.rpi.player.events; 2 3 4 public class EventDurationUpdate implements EventBase { 5 6 7 public EnumPlayerEvents getType() 8 { 9 return EnumPlayerEvents.EVENTDURATIONUPDATE; 10 } 11 12 /** 13 * @return the time 14 */ 15 public long getDuration() { 16 return duration; 17 } 18 19 /** 20 * @param time the time to set 21 */ 22 public void setDuration(long time) { 23 this.duration = time; 24 } 25 26 private long duration = 0; 27 28 }