| Home >> All >> com >> virtuosotechnologies >> asaph |
Package Samples:
com.virtuosotechnologies.asaph.modelutils.impl: Model utility routines.
com.virtuosotechnologies.asaph.model.opsemantics: Main model interfaces.
com.virtuosotechnologies.asaph.launch
com.virtuosotechnologies.asaph.maingui
com.virtuosotechnologies.asaph.model.notation
com.virtuosotechnologies.asaph.model
com.virtuosotechnologies.asaph.modelutils
com.virtuosotechnologies.asaph.notationmanager
com.virtuosotechnologies.asaph.samplegui
com.virtuosotechnologies.asaph.standardgui
com.virtuosotechnologies.asaph.standardmodel
com.virtuosotechnologies.asaph.xmldatabase
Classes:
SongDatabase: This interface represents a database of songs. It provides facilities for simple searches by keyword and title, and allows clients to check out copies of songs, and check in changes. This interface also specifies that all operations are atomic. That is, every mutation operation is atomic-- simultaneous mutations are serialized so they will not conflict. In addition, any query operation will always return information about a self-consistent state that the database was or could have been in at some point in the past. In-memory representations such as DOMImpl can implement this trivially by synchronizing ...
PredicateFilterSemantics: An opsemantics that runs a PredicateSemantics and filters on Boolean.TRUE. Note that this does not extend ValueFilterSemantics because it does not follow the contract of ValueFilterSemantics, which states that the values are already present in the original result set. Instead, this copies the result set, runs the given PredicateSemantics, and then filters the original result set according to the result values in the copy. Note that as a result, any values in the original resultset remain untouched.
SongID: A Song ID. This object identifies a Song in a SongDatabase and can be used to quickly check out a copy of the Song. SongID also contains a unique and immutable String representation that may be used to serialize and deserialize the SongID. The string is guaranteed to be unique within a particular database, and will remain the same for same song across different executions of the tool. However, two songs from different databases may have the same string representation.
SongOperation: An operation to perform on SongIDResultSets. This interface merely specifies that this object implements an operation. Most operation also implement a particular OpSemantics interface to indicate to the database implementation the kind of operation, so the database can substitute an optimized implementation if it so chooses.
GetFieldAsStringArraySemantics: An OpSemantics that sets the data to the value of a field. SongOperations that implement this interface guarantee that perform() sets the data field of each entry in the result set to the field value String[] of the corresponding Song as would be set by SongUtils.getFieldValueAsStringArray(), or to null if an error occurs.
GetFieldAsStringSemantics: An OpSemantics that sets the data to the value of a field. SongOperations that implement this interface guarantee that perform() sets the data field of each entry in the result set to the field value String of the corresponding Song as would be set by SongUtils.getFieldValueAsString(), or to null if an error occurs.
Song: This is the primary interface to a Song. Songs are obtained from a SongDatabase. However, Song objects are always "checked-out" copies of the actual Song data. This lets clients manipulate the Song without worry about concurrent access. To commit changes, use the commit method of SongDatabase.
DatabaseIdentifier: An identifier for a SongDatabase. This is essentially a parsed URI that specifies a particular database by the connector used to open it, and a connector-specific locator for the database.
SongBlock: This interface represents a block of lines in a song. A Song consists of an ordered list of blocks, and each block consists of an ordered list of lines. Blocks also have an indent level.
SongLine: This interface represents a line in a song. A line is made up of a sequence of SongLineMembers, which are strings, comments or chord annotations. Lines are contained within SongBlocks.
VariationListEditor: Editor swing components for variation list. Much of this is currently duplicate code from StringListEditor, so it may make sense to try to combine forces at some point.
StringList: This is the string list interface in an Asaph model. It is used in various places to represent an ordered list of strings, each represented by a SimpleString.
PredicateSemantics: Base opsemantics interface that indicates this operation sets each data value to Boolean.TRUE or Boolean.FALSE according to some predicate.
ChordSet: A set of chords for a song. Most songs will only have one ChordSet, but some may have multiple, especially if there are alternate tunes.
ValueFilterSemantics: An opsemantics that filters a SongIDResultSet based on the value. It retains those songs whose value equals the given target value.
NopSemantics: An OpSemantics that leaves well enough alone. SongOperations that implement this interface guarantee that perform() is a NOP.
Variation: A variation on the verses for a song. Variations handle alternate versions that have extra verses or missing verses.
DatabaseConnector: This interface is implemented by plugins that know how to connect to a database identified by a DatabaseIdentifier
DatabaseController: An interface for a database connection to use to notify the system of explicit changes to the database attributes.
NotPredicateSemantics: A PredicateSemantics that runs the child PredicateSemantics, and then sets the values to their boolean opposites.
StandardSongBlock: This interface represents a SongBlock that is normally present in a song, but may be omitted in some variations.
OrPredicateSemantics: A PredicateSemantics that runs all children and sets values to true if at least one child set to true.
AndPredicateSemantics: A PredicateSemantics that runs all children and sets values to true only if all children set to true.
AddedSongBlock: This interface represents a SongBlock that is added to the song only for a particular Variation.
| Home | Contact Us | Privacy Policy | Terms of Service |