|
||||||||||
| 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.EnsembleCredit
public class EnsembleCredit
The EnsembleCredit class documents information such as the composer name and copyright date.
The parent of a EnsembleCredit instance is always an Ensemble.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
EnsembleEntity.AttributeTable |
| Method Summary | |
|---|---|
EnsembleCredit |
copy(Ensemble ensemble,
int id,
java.lang.String name)
Create a new Credit instance and copy the attributes of the present Credit instance into the new instance. |
static XmlSpec |
createXmlSpec()
Create an XML specification for the EnsembleCredit class. |
boolean |
equals(EnsembleEntity other)
Test if this Credit instance has the same attributes as another credit instance. |
static EnsembleCredit |
fromXmlNode(org.w3c.dom.Element element,
Ensemble ensemble)
Create a new Credit instance and fill it with loaded data. |
java.lang.String |
getContent()
|
java.lang.String |
getPath()
Return a description of this entity and its containers. |
void |
getXmlData(org.w3c.dom.Element element)
Read data from an XML Element. |
void |
setContent(java.lang.String content)
|
void |
wipe()
Clear all data in this Entity instance. |
| Methods inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
buildDescription, copyToClipboard, createIndentCell, createXmlSpec, describeFeature, getContainer, getEnsemble, logError, predecessor, toString |
| Methods inherited from class net.charlesames.utility.entity.WriteableEntity |
|---|
check, clearXmlSpecs, createXmlSpec, getTagName, 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, 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 |
| Method Detail |
|---|
public EnsembleCredit copy(Ensemble ensemble,
int id,
java.lang.String name)
ensemble - The Ensemble within which the new Credit will be created.id - The new credit id. Must be unique for credits within the ensemble.name - The new credit name. Must be unique for credits within the ensemble.
public java.lang.String getContent()
public void setContent(java.lang.String content)
content - The desired credit text.public java.lang.String getPath()
Entity
getPath in interface EntityContainergetPath in class Entitypublic void getXmlData(org.w3c.dom.Element element)
WriteableEntityElement.
getXmlData in class WriteableEntityelement - The source Element.public boolean equals(EnsembleEntity other)
equals in class EnsembleEntityother - The other Credit instance.
public void wipe()
EntityEntity instance.
wipe in class Entity
public static EnsembleCredit fromXmlNode(org.w3c.dom.Element element,
Ensemble ensemble)
element - The XML element that provides the Credit dataensemble - The Ensemble which will contain the new Credit.
public static XmlSpec createXmlSpec()
EnsembleCredit class.
XmlSpec instance.
java.lang.RuntimeException - when an XmlSpec instance already exists for the EnsembleCredit class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||