Class TupletPortion

java.lang.Object
org.audiveris.proxymusic.TupletPortion

public class TupletPortion extends Object
The tuplet-portion type provides optional full control over tuplet specifications. It allows the number and note type (including dots) to be set for the actual and normal portions of a single tuplet. If any of these elements are absent, their values are based on the time-modification element.

Java class for tuplet-portion complex type.

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

 <complexType name="tuplet-portion">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tuplet-number" type="{}tuplet-number" minOccurs="0"/>
         <element name="tuplet-type" type="{}tuplet-type" minOccurs="0"/>
         <element name="tuplet-dot" type="{}tuplet-dot" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TupletPortion

      public TupletPortion()
  • Method Details

    • getTupletNumber

      public TupletNumber getTupletNumber()
      Gets the value of the tupletNumber property.
      Returns:
      possible object is TupletNumber
    • setTupletNumber

      public void setTupletNumber(TupletNumber value)
      Sets the value of the tupletNumber property.
      Parameters:
      value - allowed object is TupletNumber
    • getTupletType

      public TupletType getTupletType()
      Gets the value of the tupletType property.
      Returns:
      possible object is TupletType
    • setTupletType

      public void setTupletType(TupletType value)
      Sets the value of the tupletType property.
      Parameters:
      value - allowed object is TupletType
    • getTupletDot

      public List<TupletDot> getTupletDot()
      Gets the value of the tupletDot 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 tupletDot property.

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

          getTupletDot().add(newItem);
       

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