NAME

OME::DataTable::Column - a column in a data table

Back to Top


DESCRIPTION

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.

Back to Top


METHODS (DataTable::Column)

The following methods are available to DataTable::Column in addition to those defined by the OME::DBObject manpage.

data_table

        my $tn = $column->tn();
        $column->tn($tn);

Returns or sets the data table that this column belongs to.

column_name

        my $column_name = $column->column_name();
        $column->column_name($column_name);

Returns or sets the name of the underlying database column.

description

        my $description = $column->description();
        $column->description($description);

Returns or sets the description of the data column.

sql_type

        my $sql_type = $column->sql_type();
        $column->sql_type($sql_type);

Returns or sets the storage type of this data column.

reference_type

        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".

Back to Top


AUTHOR

Douglas Creager <dcreager@alum.mit.edu>, Open Microscopy Environment, MIT

Back to Top