|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.utility.entity.Entity
net.charlesames.utility.entity.WriteableEntity
net.charlesames.music.ensemble.EnsembleEntity
net.charlesames.music.ensemble.EnsembleInstrumentVoice
public class EnsembleInstrumentVoice
The EnsembleInstrumentVoice class implements a cross reference between an EnsembleInstrument
and an EnsembleVoice which is capable of using the instrument.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
EnsembleEntity.AttributeTable |
| Constructor Summary | |
|---|---|
EnsembleInstrumentVoice(EnsembleInstrument container,
int id)
Constructor for EnsembleInstrumentVoice instances. |
|
| Method Summary | |
|---|---|
static XmlSpec |
createXmlSpec()
Create an XML specification for the EnsembleInstrumentVoice class. |
static EnsembleInstrumentVoice |
fromXmlNode(org.w3c.dom.Element element,
EnsembleInstrument instrument)
Create a new EnsembleInstrumentVoice instance and fill it with loaded data. |
EnsembleInstrument |
getContainer()
Getter for the Container property. |
EnsembleVoice |
getVoice()
Get the EnsembleVoice identified by this cross-reference object. |
void |
wipe()
Clear all data in this Entity instance. |
| Methods inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
buildDescription, copyToClipboard, createIndentCell, createXmlSpec, describeFeature, equals, getEnsemble, logError, predecessor, toString |
| Methods inherited from class net.charlesames.utility.entity.WriteableEntity |
|---|
check, clearXmlSpecs, createXmlSpec, getTagName, getXmlData, getXmlSpec, getXmlSpec, initializeXsd, isPersistent, logError, logError, makeDirty, putXmlData, save, setID, setName, setPersistent, setStatus, toXmlNode |
| Methods inherited from class net.charlesames.utility.entity.Entity |
|---|
decrementReferenceCount, dereferenceHandle, dispose, equals, getHandle, getID, getName, getPath, getReferenceCount, getStatus, getText, hasContainer, incrementReferenceCount, isModifiable, methodHasOverride, predecessor, resequenceEntities, setContainer, setModifiable, shiftEntitiesDown, shiftEntityDown, shiftEntityUp, successor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnsembleInstrumentVoice(EnsembleInstrument container,
int id)
EnsembleInstrumentVoice instances.
container - The EnsembleInstrument which contains this voice.id - The voice id.| Method Detail |
|---|
public EnsembleInstrument getContainer()
EntityContainer property.
getContainer in class EnsembleEntityContainer value.public EnsembleVoice getVoice()
EnsembleVoice identified by this cross-reference object.
EnsembleVoice identified by this cross-reference object.public void wipe()
EntityEntity instance.
wipe in class Entity
public static EnsembleInstrumentVoice fromXmlNode(org.w3c.dom.Element element,
EnsembleInstrument instrument)
EnsembleInstrumentVoice instance and fill it with loaded data.
element - The XML element that provides the EnsembleInstrumentVoice datainstrument - The EnsembleInstrument which will contain the new EnsembleInstrumentVoice.
EnsembleInstrumentVoice instance.public static XmlSpec createXmlSpec()
EnsembleInstrumentVoice class.
XmlSpec instance.
java.lang.RuntimeException - when an XmlSpec instance already exists for the EnsembleInstrumentVoice class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||