java.lang.Object
com.virtuosotechnologies.lib.base.LinkedObject
com.virtuosotechnologies.asaph.standardmodel.BaseSongMember
com.virtuosotechnologies.asaph.standardmodel.BaseString
com.virtuosotechnologies.asaph.standardmodel.StdStringField
- All Implemented Interfaces:
- com.virtuosotechnologies.asaph.model.Field, com.virtuosotechnologies.asaph.model.SimpleString, com.virtuosotechnologies.asaph.model.SongMember, com.virtuosotechnologies.asaph.model.StringField
- class StdStringField
- extends BaseString
- implements com.virtuosotechnologies.asaph.model.StringField
Standard implementation of StringField
| Fields inherited from class com.virtuosotechnologies.lib.base.LinkedObject |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name_
private java.lang.String name_
StdStringField
StdStringField(BaseSongMember parent,
java.lang.String name,
java.lang.String value)
unparse
void unparse(com.virtuosotechnologies.lib.xml.XMLUnparser unparser)
throws java.io.IOException
getFieldName
public java.lang.String getFieldName()
- Get the name of the field.
- Specified by:
getFieldName in interface com.virtuosotechnologies.asaph.model.Field
getString
public java.lang.String getString()
- Get the string value. The value could be the empty string but will
never be null.
- Specified by:
getString in interface com.virtuosotechnologies.asaph.model.SimpleString
setString
public void setString(java.lang.String str,
javax.swing.event.UndoableEditListener undoListener)
- Set the string value. You may not set the value to null.
- Specified by:
setString in interface com.virtuosotechnologies.asaph.model.SimpleString
internalSetDefunct
void internalSetDefunct()
internalClearDefunct
void internalClearDefunct()
internalReportUndoableEdit
void internalReportUndoableEdit(javax.swing.event.UndoableEditListener undoListener,
javax.swing.undo.UndoableEdit edit)
internalGetParent
BaseSongMember internalGetParent()
isDefunct
public boolean isDefunct()
- Returns true if this object is defunct-- that is, if it or any of its
ancestors has been removed. If this returns true, the behavior of any
other methods on this object is undefined.
- Specified by:
isDefunct in interface com.virtuosotechnologies.asaph.model.SongMember
getSong
public com.virtuosotechnologies.asaph.model.Song getSong()
- Returns the Song containing this SongMember. If this member is defunct,
this will return the song that contained this member before the member
was defuncted.
- Specified by:
getSong in interface com.virtuosotechnologies.asaph.model.SongMember