ritornello.core.performance
Class Staff

java.lang.Object
  |
  +--ritornello.core.performance.Staff
All Implemented Interfaces:
Collection, Serializable

public class Staff
extends java.lang.Object
implements Collection, Serializable


Constructor Summary
Staff()
           
 
Method Summary
 void addElement(java.lang.Object object)
           
 java.io.OutputStream exportTo()
           
 Clef getClef()
          Returns the clef data.
 java.util.Iterator getElements()
           
 Score getScore()
          Returns the actual score.
 void importFrom(java.io.InputStream in)
           
 void removeAllElements()
           
 boolean removeElement(java.lang.Object object)
           
 void setClef(Clef clef)
          Sets the clef data.
 void setScore(Score score)
          Sets the owner score.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Staff

public Staff()
Method Detail

getScore

public Score getScore()
Returns the actual score.

Returns:
DesignModel.mx.Score

removeAllElements

public void removeAllElements()
Specified by:
removeAllElements in interface Collection

removeElement

public boolean removeElement(java.lang.Object object)
Specified by:
removeElement in interface Collection
Parameters:
object -
Returns:
boolean

setScore

public void setScore(Score score)
Sets the owner score.

Parameters:
score - - The owner score.

addElement

public void addElement(java.lang.Object object)
                throws IncompatibleElementException,
                       ValidationException
Specified by:
addElement in interface Collection
Parameters:
object -
Throws:
IncompatibleElementException
ValidationException

getElements

public java.util.Iterator getElements()
Specified by:
getElements in interface Collection
Returns:
java.util.Iterator

importFrom

public void importFrom(java.io.InputStream in)
Specified by:
importFrom in interface Serializable
Parameters:
in -

exportTo

public java.io.OutputStream exportTo()
Specified by:
exportTo in interface Serializable
Returns:
java.io.OutputStream

getClef

public Clef getClef()
Returns the clef data.

Returns:
Clef

setClef

public void setClef(Clef clef)
Sets the clef data.

Parameters:
clef - The clef data.