Class Interchangeable

java.lang.Object
org.audiveris.proxymusic.Interchangeable

public class Interchangeable extends Object
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 Details

  • Constructor Details

    • Interchangeable

      public Interchangeable()
  • Method Details

    • getTimeRelation

      public TimeRelation getTimeRelation()
      Gets the value of the timeRelation property.
      Returns:
      possible object is TimeRelation
    • setTimeRelation

      public void setTimeRelation(TimeRelation value)
      Sets the value of the timeRelation property.
      Parameters:
      value - allowed object is TimeRelation
    • getTimeSignature

      public List<javax.xml.bind.JAXBElement<String>> 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 set method 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

      public TimeSymbol getSymbol()
      Gets the value of the symbol property.
      Returns:
      possible object is TimeSymbol
    • setSymbol

      public void setSymbol(TimeSymbol value)
      Sets the value of the symbol property.
      Parameters:
      value - allowed object is TimeSymbol
    • getSeparator

      public TimeSeparator getSeparator()
      Gets the value of the separator property.
      Returns:
      possible object is TimeSeparator
    • setSeparator

      public void setSeparator(TimeSeparator value)
      Sets the value of the separator property.
      Parameters:
      value - allowed object is TimeSeparator