public class KeyOctave extends Object
Java class for key-octave complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="key-octave">
<simpleContent>
<extension base="<>octave">
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="cancel" type="{}yes-no" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected YesNo |
cancel |
protected BigInteger |
number |
protected int |
value |
| Constructor and Description |
|---|
KeyOctave() |
| Modifier and Type | Method and Description |
|---|---|
YesNo |
getCancel()
Gets the value of the cancel property.
|
BigInteger |
getNumber()
Gets the value of the number property.
|
int |
getValue()
Octaves are represented by the numbers 0 to 9, where 4 indicates the octave started by middle C.
|
void |
setCancel(YesNo value)
Sets the value of the cancel property.
|
void |
setNumber(BigInteger value)
Sets the value of the number property.
|
void |
setValue(int value)
Sets the value of the value property.
|
protected int value
protected BigInteger number
protected YesNo cancel
public int getValue()
public void setValue(int value)
public BigInteger getNumber()
BigIntegerpublic void setNumber(BigInteger value)
value - allowed object is
BigIntegerpublic YesNo getCancel()
YesNoCopyright © 2016 Audiveris Ltd. All rights reserved.