jazz.core
Class Note

java.lang.Object
  |
  +--jazz.core.Note
All Implemented Interfaces:
Countable, java.io.Serializable

public class Note
extends java.lang.Object
implements Countable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Note()
           
Note(Duration d)
           
Note(Pitch p)
           
Note(Pitch p, Duration d)
           
 
Method Summary
 java.lang.Object clone()
           
 Duration getDuration()
           
 Pitch getPitch()
           
 void setDuration(Duration d)
           
 void setPitch(Pitch p)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Note

public Note()

Note

public Note(Pitch p)

Note

public Note(Duration d)

Note

public Note(Pitch p,
            Duration d)
Method Detail

getDuration

public Duration getDuration()
Specified by:
getDuration in interface Countable

setDuration

public void setDuration(Duration d)
Specified by:
setDuration in interface Countable

getPitch

public Pitch getPitch()

setPitch

public void setPitch(Pitch p)

clone

public java.lang.Object clone()
Specified by:
clone in interface Countable
Overrides:
clone in class java.lang.Object