net.charlesames.music.ensemble
Class EnsembleVoiceMusicXmlData

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.EnsembleVoiceMusicXmlData
All Implemented Interfaces:
EntityContainer

public class EnsembleVoiceMusicXmlData
extends EnsembleEntity

XML I/O stuff for EnsembleVoice 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
EnsembleVoiceMusicXmlData(EnsembleVoice container)
          Constructor for EnsembleVoiceMusicXmlData instances.
 
Method Summary
static XmlSpec createXmlSpec()
          Create an XML specification for the EnsembleVoiceMusicXmlData class.
 EnsembleVoice 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

EnsembleVoiceMusicXmlData

public EnsembleVoiceMusicXmlData(EnsembleVoice container)
Constructor for EnsembleVoiceMusicXmlData instances.

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

getContainer

public EnsembleVoice 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 EnsembleVoiceMusicXmlData class.

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