Package org.audiveris.proxymusic.opus
Class Opus
java.lang.Object
org.audiveris.proxymusic.opus.Opus
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the opusOrOpusLinkOrScore property.getTitle()Gets the value of the title property.Gets the value of the version property.voidSets the value of the title property.voidsetVersion(String value) Sets the value of the version property.
-
Field Details
-
title
-
opusOrOpusLinkOrScore
-
version
-
-
Constructor Details
-
Opus
public Opus()
-
-
Method Details
-
getTitle
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value- allowed object isString
-
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
setmethod 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
OpusOpusLinkScore -
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-