Class ScorePart

java.lang.Object
org.audiveris.proxymusic.ScorePart

public class ScorePart extends Object
The score-part type collects part-wide information for each part in a score. Often, each MusicXML part corresponds to a track in a Standard MIDI Format 1 file. In this case, the midi-device element is used to make a MIDI device or port assignment for the given track or specific MIDI instruments. Initial midi-instrument assignments may be made here as well. The score-instrument elements are used when there are multiple instruments per track.

Java class for score-part complex type.

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

 <complexType name="score-part">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="identification" type="{}identification" minOccurs="0"/>
         <element name="part-link" type="{}part-link" maxOccurs="unbounded" minOccurs="0"/>
         <element name="part-name" type="{}part-name"/>
         <element name="part-name-display" type="{}name-display" minOccurs="0"/>
         <element name="part-abbreviation" type="{}part-name" minOccurs="0"/>
         <element name="part-abbreviation-display" type="{}name-display" minOccurs="0"/>
         <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="score-instrument" type="{}score-instrument" maxOccurs="unbounded" minOccurs="0"/>
         <element name="player" type="{}player" maxOccurs="unbounded" minOccurs="0"/>
         <sequence maxOccurs="unbounded" minOccurs="0">
           <element name="midi-device" type="{}midi-device" minOccurs="0"/>
           <element name="midi-instrument" type="{}midi-instrument" minOccurs="0"/>
         </sequence>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ScorePart

      public ScorePart()
  • Method Details

    • getIdentification

      public Identification getIdentification()
      Gets the value of the identification property.
      Returns:
      possible object is Identification
    • setIdentification

      public void setIdentification(Identification value)
      Sets the value of the identification property.
      Parameters:
      value - allowed object is Identification
    • getPartLink

      public List<PartLink> getPartLink()
      Gets the value of the partLink 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 partLink property.

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

          getPartLink().add(newItem);
       

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

    • getPartName

      public PartName getPartName()
      Gets the value of the partName property.
      Returns:
      possible object is PartName
    • setPartName

      public void setPartName(PartName value)
      Sets the value of the partName property.
      Parameters:
      value - allowed object is PartName
    • getPartNameDisplay

      public NameDisplay getPartNameDisplay()
      Gets the value of the partNameDisplay property.
      Returns:
      possible object is NameDisplay
    • setPartNameDisplay

      public void setPartNameDisplay(NameDisplay value)
      Sets the value of the partNameDisplay property.
      Parameters:
      value - allowed object is NameDisplay
    • getPartAbbreviation

      public PartName getPartAbbreviation()
      Gets the value of the partAbbreviation property.
      Returns:
      possible object is PartName
    • setPartAbbreviation

      public void setPartAbbreviation(PartName value)
      Sets the value of the partAbbreviation property.
      Parameters:
      value - allowed object is PartName
    • getPartAbbreviationDisplay

      public NameDisplay getPartAbbreviationDisplay()
      Gets the value of the partAbbreviationDisplay property.
      Returns:
      possible object is NameDisplay
    • setPartAbbreviationDisplay

      public void setPartAbbreviationDisplay(NameDisplay value)
      Sets the value of the partAbbreviationDisplay property.
      Parameters:
      value - allowed object is NameDisplay
    • getGroup

      public List<String> getGroup()
      Gets the value of the group 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 group property.

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

          getGroup().add(newItem);
       

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

    • getScoreInstrument

      public List<ScoreInstrument> getScoreInstrument()
      Gets the value of the scoreInstrument 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 scoreInstrument property.

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

          getScoreInstrument().add(newItem);
       

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

    • getPlayer

      public List<Player> getPlayer()
      Gets the value of the player 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 player property.

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

          getPlayer().add(newItem);
       

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

    • getMidiDeviceAndMidiInstrument

      public List<Object> getMidiDeviceAndMidiInstrument()
      Gets the value of the midiDeviceAndMidiInstrument 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 midiDeviceAndMidiInstrument property.

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

          getMidiDeviceAndMidiInstrument().add(newItem);
       

      Objects of the following type(s) are allowed in the list MidiDevice MidiInstrument

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String