Package org.audiveris.proxymusic
Class Interchangeable
java.lang.Object
org.audiveris.proxymusic.Interchangeable
The interchangeable type is used to represent the second in a pair of interchangeable dual time signatures, such as the 6/8 in 3/4 (6/8). A separate symbol attribute value is available compared to the time element's symbol attribute, which applies to the first of the dual time signatures.
Java class for interchangeable complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="interchangeable">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="time-relation" type="{}time-relation" minOccurs="0"/>
<group ref="{}time-signature" maxOccurs="unbounded"/>
</sequence>
<attribute name="symbol" type="{}time-symbol" />
<attribute name="separator" type="{}time-separator" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TimeSeparatorprotected TimeSymbolprotected TimeRelation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the separator property.Gets the value of the symbol property.Gets the value of the timeRelation property.Gets the value of the timeSignature property.voidsetSeparator(TimeSeparator value) Sets the value of the separator property.voidsetSymbol(TimeSymbol value) Sets the value of the symbol property.voidsetTimeRelation(TimeRelation value) Sets the value of the timeRelation property.
-
Field Details
-
timeRelation
-
timeSignature
-
symbol
-
separator
-
-
Constructor Details
-
Interchangeable
public Interchangeable()
-
-
Method Details
-
getTimeRelation
Gets the value of the timeRelation property.- Returns:
- possible object is
TimeRelation
-
setTimeRelation
Sets the value of the timeRelation property.- Parameters:
value- allowed object isTimeRelation
-
getTimeSignature
Gets the value of the timeSignature 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 timeSignature property.For example, to add a new item, do as follows:
getTimeSignature().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>JAXBElement<String> -
getSymbol
Gets the value of the symbol property.- Returns:
- possible object is
TimeSymbol
-
setSymbol
Sets the value of the symbol property.- Parameters:
value- allowed object isTimeSymbol
-
getSeparator
Gets the value of the separator property.- Returns:
- possible object is
TimeSeparator
-
setSeparator
Sets the value of the separator property.- Parameters:
value- allowed object isTimeSeparator
-