net.charlesames.music.score
Class ScoreGroupData

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.score.ScoreEntity
                  extended by net.charlesames.music.score.ScoreGroupData
All Implemented Interfaces:
EntityContainer

public class ScoreGroupData
extends ScoreEntity

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

Author:
Charles Ames

Constructor Summary
ScoreGroupData(Score container)
          Constructor for ScoreGroupData instances.
 
Method Summary
static XmlSpec createXmlSpec()
          Create an XML specification for the ScoreGroupData class.
 Score getContainer()
          Getter for the Container property.
 boolean hasData()
          Check if the containing choir has note list data.
 
Methods inherited from class net.charlesames.music.score.ScoreEntity
copyToClipboard, createXmlSpec, equals, getScore, 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

ScoreGroupData

public ScoreGroupData(Score container)
Constructor for ScoreGroupData instances.

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

getContainer

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

Overrides:
getContainer in class ScoreEntity
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 ScoreGroupData class.

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