public class ScoreInstrument extends Object
Java class for score-instrument complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="score-instrument">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="instrument-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="instrument-abbreviation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="instrument-sound" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<choice minOccurs="0">
<element name="solo" type="{}empty"/>
<element name="ensemble" type="{}positive-integer-or-empty"/>
</choice>
<element name="virtual-instrument" type="{}virtual-instrument" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
ensemble |
protected String |
id |
protected String |
instrumentAbbreviation |
protected String |
instrumentName |
protected String |
instrumentSound |
protected Empty |
solo |
protected VirtualInstrument |
virtualInstrument |
| Constructor and Description |
|---|
ScoreInstrument() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEnsemble()
Gets the value of the ensemble property.
|
String |
getId()
Gets the value of the id property.
|
String |
getInstrumentAbbreviation()
Gets the value of the instrumentAbbreviation property.
|
String |
getInstrumentName()
Gets the value of the instrumentName property.
|
String |
getInstrumentSound()
Gets the value of the instrumentSound property.
|
Empty |
getSolo()
Gets the value of the solo property.
|
VirtualInstrument |
getVirtualInstrument()
Gets the value of the virtualInstrument property.
|
void |
setEnsemble(String value)
Sets the value of the ensemble property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInstrumentAbbreviation(String value)
Sets the value of the instrumentAbbreviation property.
|
void |
setInstrumentName(String value)
Sets the value of the instrumentName property.
|
void |
setInstrumentSound(String value)
Sets the value of the instrumentSound property.
|
void |
setSolo(Empty value)
Sets the value of the solo property.
|
void |
setVirtualInstrument(VirtualInstrument value)
Sets the value of the virtualInstrument property.
|
protected String instrumentName
protected String instrumentAbbreviation
protected String instrumentSound
protected Empty solo
protected String ensemble
protected VirtualInstrument virtualInstrument
protected String id
public String getInstrumentName()
Stringpublic void setInstrumentName(String value)
value - allowed object is
Stringpublic String getInstrumentAbbreviation()
Stringpublic void setInstrumentAbbreviation(String value)
value - allowed object is
Stringpublic String getInstrumentSound()
Stringpublic void setInstrumentSound(String value)
value - allowed object is
Stringpublic Empty getSolo()
Emptypublic void setSolo(Empty value)
value - allowed object is
Emptypublic String getEnsemble()
Stringpublic void setEnsemble(String value)
value - allowed object is
Stringpublic VirtualInstrument getVirtualInstrument()
VirtualInstrumentpublic void setVirtualInstrument(VirtualInstrument value)
value - allowed object is
VirtualInstrumentCopyright © 2016 Audiveris Ltd. All rights reserved.