Class Direction

java.lang.Object
org.audiveris.proxymusic.Direction

public class Direction extends Object
A direction is a musical indication that is not necessarily attached to a specific note. Two or more may be combined to indicate words followed by the start of a dashed line, the end of a wedge followed by dynamics, etc. For applications where a specific direction is indeed attached to a specific note, the direction element can be associated with the first note element that follows it in score order that is not in a different voice. By default, a series of direction-type elements and a series of child elements of a direction-type within a single direction element follow one another in sequence visually. For a series of direction-type children, non-positional formatting attributes are carried over from the previous element by default.

Java class for direction complex type.

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

 <complexType name="direction">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="direction-type" type="{}direction-type" maxOccurs="unbounded"/>
         <element name="offset" type="{}offset" minOccurs="0"/>
         <group ref="{}editorial-voice-direction"/>
         <group ref="{}staff" minOccurs="0"/>
         <element name="sound" type="{}sound" minOccurs="0"/>
         <element name="listening" type="{}listening" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}directive"/>
       <attGroup ref="{}optional-unique-id"/>
       <attGroup ref="{}placement"/>
       <attGroup ref="{}system-relation"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Direction

      public Direction()
  • Method Details

    • getDirectionType

      public List<DirectionType> getDirectionType()
      Gets the value of the directionType 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 directionType property.

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

          getDirectionType().add(newItem);
       

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

    • getOffset

      public Offset getOffset()
      Gets the value of the offset property.
      Returns:
      possible object is Offset
    • setOffset

      public void setOffset(Offset value)
      Sets the value of the offset property.
      Parameters:
      value - allowed object is Offset
    • getFootnote

      public FormattedText getFootnote()
      Gets the value of the footnote property.
      Returns:
      possible object is FormattedText
    • setFootnote

      public void setFootnote(FormattedText value)
      Sets the value of the footnote property.
      Parameters:
      value - allowed object is FormattedText
    • getLevel

      public Level getLevel()
      Gets the value of the level property.
      Returns:
      possible object is Level
    • setLevel

      public void setLevel(Level value)
      Sets the value of the level property.
      Parameters:
      value - allowed object is Level
    • getVoice

      public String getVoice()
      Gets the value of the voice property.
      Returns:
      possible object is String
    • setVoice

      public void setVoice(String value)
      Sets the value of the voice property.
      Parameters:
      value - allowed object is String
    • getStaff

      public BigInteger getStaff()
      Gets the value of the staff property.
      Returns:
      possible object is BigInteger
    • setStaff

      public void setStaff(BigInteger value)
      Sets the value of the staff property.
      Parameters:
      value - allowed object is BigInteger
    • getSound

      public Sound getSound()
      Gets the value of the sound property.
      Returns:
      possible object is Sound
    • setSound

      public void setSound(Sound value)
      Sets the value of the sound property.
      Parameters:
      value - allowed object is Sound
    • getListening

      public Listening getListening()
      Gets the value of the listening property.
      Returns:
      possible object is Listening
    • setListening

      public void setListening(Listening value)
      Sets the value of the listening property.
      Parameters:
      value - allowed object is Listening
    • getDirective

      public YesNo getDirective()
      Gets the value of the directive property.
      Returns:
      possible object is YesNo
    • setDirective

      public void setDirective(YesNo value)
      Sets the value of the directive property.
      Parameters:
      value - allowed object is YesNo
    • 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
    • getPlacement

      public AboveBelow getPlacement()
      Gets the value of the placement property.
      Returns:
      possible object is AboveBelow
    • setPlacement

      public void setPlacement(AboveBelow value)
      Sets the value of the placement property.
      Parameters:
      value - allowed object is AboveBelow
    • getSystem

      public SystemRelation getSystem()
      Gets the value of the system property.
      Returns:
      possible object is SystemRelation
    • setSystem

      public void setSystem(SystemRelation value)
      Sets the value of the system property.
      Parameters:
      value - allowed object is SystemRelation