Class PartList

java.lang.Object
org.audiveris.proxymusic.PartList

public class PartList extends Object
[JAXB: simplified definition]
The part-list identifies the different musical parts in this document. Each part has an ID that is used later within the musical data. Since parts may be encoded separately and combined later, identification elements are present at both the score and score-part levels. There must be at least one score-part, combined as desired with part-group elements that indicate braces and brackets. Parts are ordered from top to bottom in a score based on the order in which they appear in the part-list.

Java class for part-list complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="part-list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <choice>
           <group ref="{}part-group"/>
           <group ref="{}score-part"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • partGroupOrScorePart

      protected List<Object> partGroupOrScorePart
  • Constructor Details

    • PartList

      public PartList()
  • Method Details

    • getPartGroupOrScorePart

      public List<Object> getPartGroupOrScorePart()
      Gets the value of the partGroupOrScorePart property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the partGroupOrScorePart property.

      For example, to add a new item, do as follows:

          getPartGroupOrScorePart().add(newItem);
       

      Objects of the following type(s) are allowed in the list PartGroup ScorePart