dguitar.adaptors.song.event
Class SongNotationMessage

java.lang.Object
  extended bydguitar.adaptors.song.event.SongMessageImpl
      extended bydguitar.adaptors.song.event.SongNotationMessage
All Implemented Interfaces:
SongMessage
Direct Known Subclasses:
SongNoteOnMessage, SongTieMessage

public class SongNotationMessage
extends SongMessageImpl

Author:
Chris

Field Summary
private  int duration
           
 
Constructor Summary
SongNotationMessage(int duration)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getDuration()
           
 void setDuration(int duration)
           
 java.lang.String toString()
           
 
Methods inherited from class dguitar.adaptors.song.event.SongMessageImpl
hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

duration

private int duration
Constructor Detail

SongNotationMessage

public SongNotationMessage(int duration)
Method Detail

getDuration

public int getDuration()
Returns:
Returns the duration.

setDuration

public void setDuration(int duration)
Parameters:
duration - The duration to set.

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface SongMessage
Specified by:
equals in class SongMessageImpl

toString

public java.lang.String toString()
Specified by:
toString in interface SongMessage
Specified by:
toString in class SongMessageImpl