Class TimeModification

java.lang.Object
org.audiveris.proxymusic.TimeModification
Direct Known Subclasses:
MetronomeTuplet

public class TimeModification extends Object
Time modification indicates tuplets, double-note tremolos, and other durational changes. A time-modification element shows how the cumulative, sounding effect of tuplets and double-note tremolos compare to the written note type represented by the type and dot elements. Nested tuplets and other notations that use more detailed information need both the time-modification and tuplet elements to be represented accurately.

Java class for time-modification complex type.

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

 <complexType name="time-modification">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="actual-notes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
         <element name="normal-notes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
         <sequence minOccurs="0">
           <element name="normal-type" type="{}note-type-value"/>
           <element name="normal-dot" type="{}empty" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • actualNotes

      protected BigInteger actualNotes
    • normalNotes

      protected BigInteger normalNotes
    • normalType

      protected String normalType
    • normalDot

      protected List<Empty> normalDot
  • Constructor Details

    • TimeModification

      public TimeModification()
  • Method Details

    • getActualNotes

      public BigInteger getActualNotes()
      Gets the value of the actualNotes property.
      Returns:
      possible object is BigInteger
    • setActualNotes

      public void setActualNotes(BigInteger value)
      Sets the value of the actualNotes property.
      Parameters:
      value - allowed object is BigInteger
    • getNormalNotes

      public BigInteger getNormalNotes()
      Gets the value of the normalNotes property.
      Returns:
      possible object is BigInteger
    • setNormalNotes

      public void setNormalNotes(BigInteger value)
      Sets the value of the normalNotes property.
      Parameters:
      value - allowed object is BigInteger
    • getNormalType

      public String getNormalType()
      Gets the value of the normalType property.
      Returns:
      possible object is String
    • setNormalType

      public void setNormalType(String value)
      Sets the value of the normalType property.
      Parameters:
      value - allowed object is String
    • getNormalDot

      public List<Empty> getNormalDot()
      Gets the value of the normalDot 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 normalDot property.

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

          getNormalDot().add(newItem);
       

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