Class Rest

java.lang.Object
org.audiveris.proxymusic.Rest

public class Rest extends Object
The rest element indicates notated rests or silences. Rest elements are usually empty, but placement on the staff can be specified using display-step and display-octave elements. If the measure attribute is set to yes, this indicates this is a complete measure rest.

Java class for rest complex type.

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

 <complexType name="rest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{}display-step-octave" minOccurs="0"/>
       </sequence>
       <attribute name="measure" type="{}yes-no" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • displayStep

      protected Step displayStep
    • displayOctave

      protected Integer displayOctave
    • measure

      protected YesNo measure
  • Constructor Details

    • Rest

      public Rest()
  • Method Details

    • getDisplayStep

      public Step getDisplayStep()
      Gets the value of the displayStep property.
      Returns:
      possible object is Step
    • setDisplayStep

      public void setDisplayStep(Step value)
      Sets the value of the displayStep property.
      Parameters:
      value - allowed object is Step
    • getDisplayOctave

      public Integer getDisplayOctave()
      Gets the value of the displayOctave property.
      Returns:
      possible object is Integer
    • setDisplayOctave

      public void setDisplayOctave(Integer value)
      Sets the value of the displayOctave property.
      Parameters:
      value - allowed object is Integer
    • getMeasure

      public YesNo getMeasure()
      Gets the value of the measure property.
      Returns:
      possible object is YesNo
    • setMeasure

      public void setMeasure(YesNo value)
      Sets the value of the measure property.
      Parameters:
      value - allowed object is YesNo