net.charlesames.music.ensemble
Class EnsembleMusicXmlData

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

public class EnsembleMusicXmlData
extends EnsembleEntity

XML I/O stuff for Ensemble data that is pertinent to MusicXML.

Author:
Charles Ames

Nested Class Summary
 
Nested classes/interfaces inherited from class net.charlesames.music.ensemble.EnsembleEntity
EnsembleEntity.AttributeTable
 
Constructor Summary
EnsembleMusicXmlData(Ensemble container)
          Constructor for EnsembleMusicXmlData instances.
 
Method Summary
static XmlSpec createXmlSpec()
          Create an XML specification for the EnsembleMusicXmlData class.
 Ensemble getContainer()
          Getter for the Container property.
 boolean hasData()
          Check if the containing choir has MusicXml 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

EnsembleMusicXmlData

public EnsembleMusicXmlData(Ensemble container)
Constructor for EnsembleMusicXmlData instances.

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

getContainer

public Ensemble 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 MusicXml data.

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

createXmlSpec

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

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