OME::DataTable::Column - a column in a data table
The DataTable interface describes the database tables used to store
OME semantic types.
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::Column)The following methods are available to DataTable::Column in addition to
those defined by the OME::DBObject manpage.
my $tn = $column->tn();
$column->tn($tn);
Returns or sets the data table that this column belongs to.
my $column_name = $column->column_name();
$column->column_name($column_name);
Returns or sets the name of the underlying database column.
my $description = $column->description();
$column->description($description);
Returns or sets the description of the data column.
my $sql_type = $column->sql_type();
$column->sql_type($sql_type);
Returns or sets the storage type of this data column.
my $reference_type = $column->reference_type();
$column->reference_type($reference_type);
Returns or sets the semantic type that this data column refers to, assuming that the storage type is "reference".
Douglas Creager <dcreager@alum.mit.edu>, Open Microscopy Environment, MIT