public class Note extends Object
Java class for note complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="note">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence>
<element name="grace" type="{}grace" minOccurs="0"/>
<element name="cue" type="{}empty" minOccurs="0"/>
<group ref="{}full-note"/>
<group ref="{}duration" minOccurs="0"/>
<element name="tie" type="{}tie" maxOccurs="2" minOccurs="0"/>
</sequence>
<element name="instrument" type="{}instrument" minOccurs="0"/>
<group ref="{}editorial-voice"/>
<element name="type" type="{}note-type" minOccurs="0"/>
<element name="dot" type="{}empty-placement" maxOccurs="unbounded" minOccurs="0"/>
<element name="accidental" type="{}accidental" minOccurs="0"/>
<element name="time-modification" type="{}time-modification" minOccurs="0"/>
<element name="stem" type="{}stem" minOccurs="0"/>
<element name="notehead" type="{}notehead" minOccurs="0"/>
<element name="notehead-text" type="{}notehead-text" minOccurs="0"/>
<group ref="{}staff" minOccurs="0"/>
<element name="beam" type="{}beam" maxOccurs="8" minOccurs="0"/>
<element name="notations" type="{}notations" maxOccurs="unbounded" minOccurs="0"/>
<element name="lyric" type="{}lyric" maxOccurs="unbounded" minOccurs="0"/>
<element name="play" type="{}play" minOccurs="0"/>
</sequence>
<attGroup ref="{}font"/>
<attGroup ref="{}color"/>
<attGroup ref="{}x-position"/>
<attGroup ref="{}printout"/>
<attribute name="dynamics" type="{}non-negative-decimal" />
<attribute name="end-dynamics" type="{}non-negative-decimal" />
<attribute name="attack" type="{}divisions" />
<attribute name="release" type="{}divisions" />
<attribute name="time-only" type="{}time-only" />
<attribute name="pizzicato" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Note() |
| Modifier and Type | Method and Description |
|---|---|
Accidental |
getAccidental()
Gets the value of the accidental property.
|
BigDecimal |
getAttack()
Gets the value of the attack property.
|
List<Beam> |
getBeam()
Gets the value of the beam property.
|
Empty |
getChord()
Gets the value of the chord property.
|
String |
getColor()
Gets the value of the color property.
|
Empty |
getCue()
Gets the value of the cue property.
|
BigDecimal |
getDefaultX()
Gets the value of the defaultX property.
|
BigDecimal |
getDefaultY()
Gets the value of the defaultY property.
|
List<EmptyPlacement> |
getDot()
Gets the value of the dot property.
|
BigDecimal |
getDuration()
Gets the value of the duration property.
|
BigDecimal |
getDynamics()
Gets the value of the dynamics property.
|
BigDecimal |
getEndDynamics()
Gets the value of the endDynamics property.
|
String |
getFontFamily()
Gets the value of the fontFamily property.
|
String |
getFontSize()
Gets the value of the fontSize property.
|
FontStyle |
getFontStyle()
Gets the value of the fontStyle property.
|
FontWeight |
getFontWeight()
Gets the value of the fontWeight property.
|
FormattedText |
getFootnote()
Gets the value of the footnote property.
|
Grace |
getGrace()
Gets the value of the grace property.
|
Instrument |
getInstrument()
Gets the value of the instrument property.
|
Level |
getLevel()
Gets the value of the level property.
|
List<Lyric> |
getLyric()
Gets the value of the lyric property.
|
List<Notations> |
getNotations()
Gets the value of the notations property.
|
Notehead |
getNotehead()
Gets the value of the notehead property.
|
NoteheadText |
getNoteheadText()
Gets the value of the noteheadText property.
|
Pitch |
getPitch()
Gets the value of the pitch property.
|
YesNo |
getPizzicato()
Gets the value of the pizzicato property.
|
Play |
getPlay()
Gets the value of the play property.
|
YesNo |
getPrintDot()
Gets the value of the printDot property.
|
YesNo |
getPrintLyric()
Gets the value of the printLyric property.
|
YesNo |
getPrintObject()
Gets the value of the printObject property.
|
YesNo |
getPrintSpacing()
Gets the value of the printSpacing property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
BigDecimal |
getRelease()
Gets the value of the release property.
|
Rest |
getRest()
Gets the value of the rest property.
|
BigInteger |
getStaff()
Gets the value of the staff property.
|
Stem |
getStem()
Gets the value of the stem property.
|
List<Tie> |
getTie()
Gets the value of the tie property.
|
TimeModification |
getTimeModification()
Gets the value of the timeModification property.
|
String |
getTimeOnly()
Gets the value of the timeOnly property.
|
NoteType |
getType()
Gets the value of the type property.
|
Unpitched |
getUnpitched()
Gets the value of the unpitched property.
|
String |
getVoice()
Gets the value of the voice property.
|
void |
setAccidental(Accidental value)
Sets the value of the accidental property.
|
void |
setAttack(BigDecimal value)
Sets the value of the attack property.
|
void |
setChord(Empty value)
Sets the value of the chord property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setCue(Empty value)
Sets the value of the cue property.
|
void |
setDefaultX(BigDecimal value)
Sets the value of the defaultX property.
|
void |
setDefaultY(BigDecimal value)
Sets the value of the defaultY property.
|
void |
setDuration(BigDecimal value)
Sets the value of the duration property.
|
void |
setDynamics(BigDecimal value)
Sets the value of the dynamics property.
|
void |
setEndDynamics(BigDecimal value)
Sets the value of the endDynamics property.
|
void |
setFontFamily(String value)
Sets the value of the fontFamily property.
|
void |
setFontSize(String value)
Sets the value of the fontSize property.
|
void |
setFontStyle(FontStyle value)
Sets the value of the fontStyle property.
|
void |
setFontWeight(FontWeight value)
Sets the value of the fontWeight property.
|
void |
setFootnote(FormattedText value)
Sets the value of the footnote property.
|
void |
setGrace(Grace value)
Sets the value of the grace property.
|
void |
setInstrument(Instrument value)
Sets the value of the instrument property.
|
void |
setLevel(Level value)
Sets the value of the level property.
|
void |
setNotehead(Notehead value)
Sets the value of the notehead property.
|
void |
setNoteheadText(NoteheadText value)
Sets the value of the noteheadText property.
|
void |
setPitch(Pitch value)
Sets the value of the pitch property.
|
void |
setPizzicato(YesNo value)
Sets the value of the pizzicato property.
|
void |
setPlay(Play value)
Sets the value of the play property.
|
void |
setPrintDot(YesNo value)
Sets the value of the printDot property.
|
void |
setPrintLyric(YesNo value)
Sets the value of the printLyric property.
|
void |
setPrintObject(YesNo value)
Sets the value of the printObject property.
|
void |
setPrintSpacing(YesNo value)
Sets the value of the printSpacing property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setRelease(BigDecimal value)
Sets the value of the release property.
|
void |
setRest(Rest value)
Sets the value of the rest property.
|
void |
setStaff(BigInteger value)
Sets the value of the staff property.
|
void |
setStem(Stem value)
Sets the value of the stem property.
|
void |
setTimeModification(TimeModification value)
Sets the value of the timeModification property.
|
void |
setTimeOnly(String value)
Sets the value of the timeOnly property.
|
void |
setType(NoteType value)
Sets the value of the type property.
|
void |
setUnpitched(Unpitched value)
Sets the value of the unpitched property.
|
void |
setVoice(String value)
Sets the value of the voice property.
|
protected Grace grace
protected Empty cue
protected Empty chord
protected Pitch pitch
protected Unpitched unpitched
protected Rest rest
protected BigDecimal duration
protected Instrument instrument
protected FormattedText footnote
protected Level level
protected String voice
protected NoteType type
protected List<EmptyPlacement> dot
protected Accidental accidental
protected TimeModification timeModification
protected Stem stem
protected Notehead notehead
protected NoteheadText noteheadText
protected BigInteger staff
protected Play play
protected BigDecimal dynamics
protected BigDecimal endDynamics
protected BigDecimal attack
protected BigDecimal release
protected String timeOnly
protected YesNo pizzicato
protected String fontFamily
protected FontStyle fontStyle
protected String fontSize
protected FontWeight fontWeight
protected String color
protected BigDecimal defaultX
protected BigDecimal defaultY
protected BigDecimal relativeX
protected BigDecimal relativeY
protected YesNo printDot
protected YesNo printLyric
protected YesNo printSpacing
protected YesNo printObject
public Grace getGrace()
Gracepublic void setGrace(Grace value)
value - allowed object is
Gracepublic void setCue(Empty value)
value - allowed object is
Emptypublic Empty getChord()
Emptypublic void setChord(Empty value)
value - allowed object is
Emptypublic Pitch getPitch()
Pitchpublic void setPitch(Pitch value)
value - allowed object is
Pitchpublic Unpitched getUnpitched()
Unpitchedpublic void setUnpitched(Unpitched value)
value - allowed object is
Unpitchedpublic void setRest(Rest value)
value - allowed object is
Restpublic BigDecimal getDuration()
BigDecimalpublic void setDuration(BigDecimal value)
value - allowed object is
BigDecimalpublic List<Tie> getTie()
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 tie property.
For example, to add a new item, do as follows:
getTie().add(newItem);
Objects of the following type(s) are allowed in the list
Tie
public Instrument getInstrument()
Instrumentpublic void setInstrument(Instrument value)
value - allowed object is
Instrumentpublic FormattedText getFootnote()
FormattedTextpublic void setFootnote(FormattedText value)
value - allowed object is
FormattedTextpublic Level getLevel()
Levelpublic void setLevel(Level value)
value - allowed object is
Levelpublic String getVoice()
Stringpublic void setVoice(String value)
value - allowed object is
Stringpublic NoteType getType()
NoteTypepublic void setType(NoteType value)
value - allowed object is
NoteTypepublic List<EmptyPlacement> getDot()
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 dot property.
For example, to add a new item, do as follows:
getDot().add(newItem);
Objects of the following type(s) are allowed in the list
EmptyPlacement
public Accidental getAccidental()
Accidentalpublic void setAccidental(Accidental value)
value - allowed object is
Accidentalpublic TimeModification getTimeModification()
TimeModificationpublic void setTimeModification(TimeModification value)
value - allowed object is
TimeModificationpublic void setStem(Stem value)
value - allowed object is
Stempublic Notehead getNotehead()
Noteheadpublic void setNotehead(Notehead value)
value - allowed object is
Noteheadpublic NoteheadText getNoteheadText()
NoteheadTextpublic void setNoteheadText(NoteheadText value)
value - allowed object is
NoteheadTextpublic BigInteger getStaff()
BigIntegerpublic void setStaff(BigInteger value)
value - allowed object is
BigIntegerpublic List<Beam> getBeam()
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 beam property.
For example, to add a new item, do as follows:
getBeam().add(newItem);
Objects of the following type(s) are allowed in the list
Beam
public List<Notations> getNotations()
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 notations property.
For example, to add a new item, do as follows:
getNotations().add(newItem);
Objects of the following type(s) are allowed in the list
Notations
public List<Lyric> getLyric()
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 lyric property.
For example, to add a new item, do as follows:
getLyric().add(newItem);
Objects of the following type(s) are allowed in the list
Lyric
public void setPlay(Play value)
value - allowed object is
Playpublic BigDecimal getDynamics()
BigDecimalpublic void setDynamics(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getEndDynamics()
BigDecimalpublic void setEndDynamics(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getAttack()
BigDecimalpublic void setAttack(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelease()
BigDecimalpublic void setRelease(BigDecimal value)
value - allowed object is
BigDecimalpublic String getTimeOnly()
Stringpublic void setTimeOnly(String value)
value - allowed object is
Stringpublic YesNo getPizzicato()
YesNopublic void setPizzicato(YesNo value)
value - allowed object is
YesNopublic String getFontFamily()
Stringpublic void setFontFamily(String value)
value - allowed object is
Stringpublic FontStyle getFontStyle()
FontStylepublic void setFontStyle(FontStyle value)
value - allowed object is
FontStylepublic String getFontSize()
Stringpublic void setFontSize(String value)
value - allowed object is
Stringpublic FontWeight getFontWeight()
FontWeightpublic void setFontWeight(FontWeight value)
value - allowed object is
FontWeightpublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic BigDecimal getDefaultX()
BigDecimalpublic void setDefaultX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDefaultY()
BigDecimalpublic void setDefaultY(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeX()
BigDecimalpublic void setRelativeX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeY()
BigDecimalpublic void setRelativeY(BigDecimal value)
value - allowed object is
BigDecimalpublic YesNo getPrintDot()
YesNopublic void setPrintDot(YesNo value)
value - allowed object is
YesNopublic YesNo getPrintLyric()
YesNopublic void setPrintLyric(YesNo value)
value - allowed object is
YesNopublic YesNo getPrintSpacing()
YesNopublic void setPrintSpacing(YesNo value)
value - allowed object is
YesNopublic YesNo getPrintObject()
YesNoCopyright © 2016 Audiveris Ltd. All rights reserved.