Class Instrument

java.lang.Object
org.audiveris.proxymusic.Instrument

public class Instrument extends Object
The instrument type distinguishes between score-instrument elements in a score-part. The id attribute is an IDREF back to the score-instrument ID. If multiple score-instruments are specified in a score-part, there should be an instrument element for each note in the part. Notes that are shared between multiple score-instruments can have more than one instrument element.

Java class for instrument complex type.

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

 <complexType name="instrument">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Instrument

      public Instrument()
  • Method Details

    • getId

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

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