dguitar.adaptors.song.event
Class SongEventImpl

java.lang.Object
  extended bydguitar.adaptors.song.event.SongEventImpl
All Implemented Interfaces:
SongEvent

public class SongEventImpl
extends java.lang.Object
implements SongEvent

Author:
crnash

Field Summary
(package private)  SongMessage message
           
(package private)  int time
           
(package private)  SongVirtualTrack virtualTrack
           
 
Constructor Summary
SongEventImpl(int time, SongMessage message)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 SongMessage getMessage()
           
 int getTime()
           
 SongVirtualTrack getVirtualTrack()
           
 int hashCode()
           
 void setMessage(SongMessage message)
           
 void setTime(int time)
           
 void setVirtualTrack(SongVirtualTrack svt)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

virtualTrack

SongVirtualTrack virtualTrack

time

int time

message

SongMessage message
Constructor Detail

SongEventImpl

public SongEventImpl(int time,
                     SongMessage message)
Method Detail

getTime

public int getTime()
Specified by:
getTime in interface SongEvent
Returns:
Returns the time.

setTime

public void setTime(int time)
Specified by:
setTime in interface SongEvent
Parameters:
time - The time to set.

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface SongEvent

hashCode

public int hashCode()
Specified by:
hashCode in interface SongEvent

toString

public java.lang.String toString()
Specified by:
toString in interface SongEvent

getMessage

public SongMessage getMessage()
Specified by:
getMessage in interface SongEvent

setMessage

public void setMessage(SongMessage message)
Specified by:
setMessage in interface SongEvent

getVirtualTrack

public SongVirtualTrack getVirtualTrack()
Specified by:
getVirtualTrack in interface SongEvent
Returns:

setVirtualTrack

public void setVirtualTrack(SongVirtualTrack svt)
Specified by:
setVirtualTrack in interface SongEvent