net.charlesames.music.ensemble
Class EnsembleInstrumentMusicXmlData

java.lang.Object
  extended by net.charlesames.utility.common.Disposable
      extended by net.charlesames.utility.entity.Entity
          extended by net.charlesames.utility.entity.WriteableEntity
              extended by net.charlesames.music.ensemble.EnsembleEntity
                  extended by net.charlesames.music.ensemble.EnsembleInstrumentMusicXmlData
All Implemented Interfaces:
EntityContainer

public class EnsembleInstrumentMusicXmlData
extends EnsembleEntity

XML I/O stuff for EnsembleInstrument data that is pertinent to Music-N note lists.

Author:
Charles Ames

Nested Class Summary
 
Nested classes/interfaces inherited from class net.charlesames.music.ensemble.EnsembleEntity
EnsembleEntity.AttributeTable
 
Constructor Summary
EnsembleInstrumentMusicXmlData(EnsembleInstrument container)
          Constructor for EnsembleInstrumentMusicXmlData instances.
 
Method Summary
static XmlSpec createXmlSpec()
          Create an XML specification for the EnsembleInstrumentMusicXmlData class.
 EnsembleInstrument getContainer()
          Getter for the Container property.
 boolean hasData()
          Check if the containing choir has note list data.
 
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, wipe
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnsembleInstrumentMusicXmlData

public EnsembleInstrumentMusicXmlData(EnsembleInstrument container)
Constructor for EnsembleInstrumentMusicXmlData instances.

Parameters:
container - The EnsembleInstrument that holds this instance.
Method Detail

getContainer

public EnsembleInstrument getContainer()
Description copied from class: Entity
Getter for the Container property.

Overrides:
getContainer in class EnsembleEntity
Returns:
The assigned Container value.

hasData

public boolean hasData()
Check if the containing choir has note list data.

Returns:
True if the containing choir has note list data; false otherwise.

createXmlSpec

public static XmlSpec createXmlSpec()
Create an XML specification for the EnsembleInstrumentMusicXmlData class.

Returns:
The newly created XmlSpec instance.
Throws:
java.lang.RuntimeException - when an XmlSpec instance already exists for the EnsembleInstrumentMusicXmlData class.