Package org.audiveris.proxymusic
Class TimeModification
java.lang.Object
org.audiveris.proxymusic.TimeModification
- Direct Known Subclasses:
MetronomeTuplet
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the actualNotes property.Gets the value of the normalDot property.Gets the value of the normalNotes property.Gets the value of the normalType property.voidsetActualNotes(BigInteger value) Sets the value of the actualNotes property.voidsetNormalNotes(BigInteger value) Sets the value of the normalNotes property.voidsetNormalType(String value) Sets the value of the normalType property.
-
Field Details
-
actualNotes
-
normalNotes
-
normalType
-
normalDot
-
-
Constructor Details
-
TimeModification
public TimeModification()
-
-
Method Details
-
getActualNotes
Gets the value of the actualNotes property.- Returns:
- possible object is
BigInteger
-
setActualNotes
Sets the value of the actualNotes property.- Parameters:
value- allowed object isBigInteger
-
getNormalNotes
Gets the value of the normalNotes property.- Returns:
- possible object is
BigInteger
-
setNormalNotes
Sets the value of the normalNotes property.- Parameters:
value- allowed object isBigInteger
-
getNormalType
Gets the value of the normalType property.- Returns:
- possible object is
String
-
setNormalType
Sets the value of the normalType property.- Parameters:
value- allowed object isString
-
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
setmethod 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
-