Class Opus

java.lang.Object
org.audiveris.proxymusic.opus.Opus

public class Opus extends Object
The opus type is used for the root element of a MusicXML opus. Each opus is made up of a series of score, opus-link, and/or nested opus elements. The document-attributes attribute group includes the version attribute. Future versions may include more metadata elements. In this version, we just include the title of the opus.

Java class for opus complex type.

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

 <complexType name="opus">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="opus" type="{}opus"/>
           <element name="opus-link" type="{}opus-link"/>
           <element name="score" type="{}score"/>
         </choice>
       </sequence>
       <attGroup ref="{}document-attributes"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • title

      protected String title
    • opusOrOpusLinkOrScore

      protected List<Object> opusOrOpusLinkOrScore
    • version

      protected String version
  • Constructor Details

    • Opus

      public Opus()
  • Method Details

    • getTitle

      public String getTitle()
      Gets the value of the title property.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getOpusOrOpusLinkOrScore

      public List<Object> getOpusOrOpusLinkOrScore()
      Gets the value of the opusOrOpusLinkOrScore 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 opusOrOpusLinkOrScore property.

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

          getOpusOrOpusLinkOrScore().add(newItem);
       

      Objects of the following type(s) are allowed in the list Opus OpusLink Score

    • getVersion

      public String getVersion()
      Gets the value of the version property.
      Returns:
      possible object is String
    • setVersion

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