OME::DataTable - a database table to store attributes
the OME::DataTable::Column manpage - a column in a data table
The DataTable interface describes the database tables used to store
OME semantic types. Note that there is a one-to-one relationship between
semantic types and data tables. Each semantic type is stored in a single
table and each table can only store a single semantic type.
The actual mapping between semantic types and data tables occurs as a
link between semantic type columns and data table columns. This link
can be accessed via the AttributeType->data_columb method.
DataTable)The following methods are available to DataTable in addition to
those defined by the OME::DBObject manpage.
my $granularity = $table->granularity();
$table->granularity($granularity);
Returns or sets the granularity of the data table. This granuarity must match the granularity of any semantic types which store elements in it.
my $table_name = $table->table_name();
$table->table_name($table_name);
Returns or sets the name of the underlying database table.
my $description = $table->description();
$table->description($description);
Returns or sets the description of this data table.
my @data_columns = $table->data_columns();
my $data_column_iterator = $table->data_columns();
Returns or iterates, depending on context, the list of columns in this data table.
Douglas Creager <dcreager@alum.mit.edu>, Open Microscopy Environment, MIT