#include <AGSet.h>
Collaboration diagram for AGSet:

Public Methods | |
| AGSet (AGSetId id) | |
| A constructor. More... | |
| ~AGSet () | |
| A destructor. More... | |
| Id | getId () const |
| Get the id of the AGSet. More... | |
| TimelineId | createTimeline (Id id) throw (AGException) |
| void | deleteTimeline (TimelineId timelineId) throw (AGException) |
| Delete the specified timeline. More... | |
| AGId | createAG (Id id, Timeline *timeline=NULL) throw (AGException) |
| void | deleteAG (AGId agId) |
| Delete the specified AG. More... | |
| IdSet | getAGIds () |
| Get all AG ids. More... | |
| void | addFeatureName (FeatureName feature) |
| void | setFeature (FeatureName featureName, FeatureValue featureValue) |
| Set the value of a feature in the metadata. More... | |
| bool | existsFeature (FeatureName featureName) |
| Test if a feature exists in the metadata. More... | |
| void | deleteFeature (FeatureName featureName) |
| Delete the specified feature in the metadata. More... | |
| string | getFeature (FeatureName featureName) |
| Get the feature value of the specified feature in the metadata. More... | |
| StringSet | getFeatureNames () |
| Get all feature names in the metadata. More... | |
| void | getAnnotationFeatureNames (StringSet &S) |
| void | getAnnotationTypes (StringSet &S) |
| void | setFeatures (Features features) |
| Features | getFeatures () |
| void | unsetFeatures () |
| Unset all features in the metadata. More... | |
| string | toXML (AGId agId) |
| list<string> | storeSQLs () |
| Create list of SQLs used to save the AGSet to the DB server. More... | |
| string | toString () |
|
|
A constructor.
|
|
|
A destructor.
|
|
|
Add a feature name to the feature name set. When a database server is used, the current schema stores the annotation features of each AGSet in a separate table which stores all the features of an annotation in a single record and use the FeatureName as the column heading. In order to create such a table, an AGSet has to keep track of how many feature names are there and what they are. The strategy is to keep a set of feature names in the AGSet, and add a feature's name to the set everytime a SetFeature is called and its id is an AnnotationId. addFeatureName adds a feature name to the set. |
|
|
Create a new AG and add it to the AGSet.
|
|
|
Create a new timeline and add it to the AGSet.
|
|
|
Delete the specified AG.
|
|
|
Delete the specified feature in the metadata.
|
|
|
Delete the specified timeline.
|
|
|
Test if a feature exists in the metadata.
|
|
|
Get all AG ids.
|
|
|
Get all feature names of all annotations in this AGSet.
|
|
|
Get types of all annotations in this AGSet.
|
|
|
Get the feature value of the specified feature in the metadata.
|
|
|
Get all feature names in the metadata.
|
|
|
Get all the features in a single string. returns all features in a single string in Dublin Core Structured Values DCSV (Cox & Iannella) format. For example, "name=Stone Philips;phone=(215)555-8888;age=40"
|
|
|
Get the id of the AGSet.
|
|
|
Set the value of a feature in the metadata.
|
|
|
Set multiple features in a single string. Set multiple features in a single string in Dublin Core Structured Values DCSV (Cox & Iannella) format. For example, "name=Stone Philips;phone=(215)555-8888;age=40"
|
|
|
Create list of SQLs used to save the AGSet to the DB server.
|
|
|
dump the AGSet in ATLAS Level 0 form
|
|
|
dump the specified AG in ATLAS Level 0 form
|
|
|
Unset all features in the metadata.
|
1.2.7 written by Dimitri van Heesch,
© 1997-2001