Package org.audiveris.proxymusic
Class ForPart
java.lang.Object
org.audiveris.proxymusic.ForPart
The for-part type is used in a concert score to indicate the transposition for a transposed part created from that score. It is only used in score files that contain a concert-score element in the defaults. This allows concert scores with transposed parts to be represented in a single uncompressed MusicXML file.
The optional number attribute refers to staff numbers, from top to bottom on the system. If absent, the child elements apply to all staves in the created part.
Java class for for-part complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="for-part">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="part-clef" type="{}part-clef" minOccurs="0"/>
<element name="part-transpose" type="{}part-transpose"/>
</sequence>
<attGroup ref="{}optional-unique-id"/>
<attribute name="number" type="{}staff-number" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigIntegerprotected PartClefprotected PartTranspose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.Gets the value of the number property.Gets the value of the partClef property.Gets the value of the partTranspose property.voidSets the value of the id property.voidsetNumber(BigInteger value) Sets the value of the number property.voidsetPartClef(PartClef value) Sets the value of the partClef property.voidsetPartTranspose(PartTranspose value) Sets the value of the partTranspose property.
-
Field Details
-
partClef
-
partTranspose
-
number
-
id
-
-
Constructor Details
-
ForPart
public ForPart()
-
-
Method Details
-
getPartClef
Gets the value of the partClef property.- Returns:
- possible object is
PartClef
-
setPartClef
Sets the value of the partClef property.- Parameters:
value- allowed object isPartClef
-
getPartTranspose
Gets the value of the partTranspose property.- Returns:
- possible object is
PartTranspose
-
setPartTranspose
Sets the value of the partTranspose property.- Parameters:
value- allowed object isPartTranspose
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-