Class Time

java.lang.Object
org.audiveris.proxymusic.Time

public class Time extends Object
Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator. The symbol attribute is used to indicate common and cut time symbols as well as a single number display. Multiple pairs of beat and beat-type elements are used for composite time signatures with multiple denominators, such as 2/4 + 3/8. A composite such as 3+2/8 requires only one beat/beat-type pair. The print-object attribute allows a time signature to be specified but not printed, as is the case for excerpts from the middle of a score. The value is "yes" if not present. The optional number attribute refers to staff numbers within the part. If absent, the time signature applies to all staves in the part.

Java class for time complex type.

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

 <complexType name="time">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <sequence>
           <group ref="{}time-signature" maxOccurs="unbounded"/>
           <element name="interchangeable" type="{}interchangeable" minOccurs="0"/>
         </sequence>
         <element name="senza-misura" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </choice>
       <attGroup ref="{}print-object"/>
       <attGroup ref="{}print-style-align"/>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="number" type="{}staff-number" />
       <attribute name="symbol" type="{}time-symbol" />
       <attribute name="separator" type="{}time-separator" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Time

      public Time()
  • Method Details

    • 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>

    • getInterchangeable

      public Interchangeable getInterchangeable()
      Gets the value of the interchangeable property.
      Returns:
      possible object is Interchangeable
    • setInterchangeable

      public void setInterchangeable(Interchangeable value)
      Sets the value of the interchangeable property.
      Parameters:
      value - allowed object is Interchangeable
    • getSenzaMisura

      public String getSenzaMisura()
      Gets the value of the senzaMisura property.
      Returns:
      possible object is String
    • setSenzaMisura

      public void setSenzaMisura(String value)
      Sets the value of the senzaMisura property.
      Parameters:
      value - allowed object is String
    • getNumber

      public BigInteger getNumber()
      Gets the value of the number property.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
    • 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
    • getPrintObject

      public YesNo getPrintObject()
      Gets the value of the printObject property.
      Returns:
      possible object is YesNo
    • setPrintObject

      public void setPrintObject(YesNo value)
      Sets the value of the printObject property.
      Parameters:
      value - allowed object is YesNo
    • getValign

      public Valign getValign()
      Gets the value of the valign property.
      Returns:
      possible object is Valign
    • setValign

      public void setValign(Valign value)
      Sets the value of the valign property.
      Parameters:
      value - allowed object is Valign
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getHalign

      public LeftCenterRight getHalign()
      Gets the value of the halign property.
      Returns:
      possible object is LeftCenterRight
    • setHalign

      public void setHalign(LeftCenterRight value)
      Sets the value of the halign property.
      Parameters:
      value - allowed object is LeftCenterRight
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String