Robert Buels > Bio-Chado-Schema-0.20000 > Bio::Chado::Schema::Result::Stock::Stockprop

Download:
Bio-Chado-Schema-0.20000.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.20000   Source  

NAME ^

Bio::Chado::Schema::Result::Stock::Stockprop

DESCRIPTION ^

A stock can have any number of slot-value property tags attached to it. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible. There is a unique constraint, stockprop_c1, for the combination of stock_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.

ACCESSORS ^

stockprop_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0
  sequence: 'stockprop_stockprop_id_seq'

stock_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

type_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

value

  data_type: 'text'
  is_nullable: 1

rank

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

RELATIONS ^

stock

Type: belongs_to

Related object: Bio::Chado::Schema::Result::Stock::Stock

type

Type: belongs_to

Related object: Bio::Chado::Schema::Result::Cv::Cvterm

stockprop_pubs

Type: has_many

Related object: Bio::Chado::Schema::Result::Stock::StockpropPub

syntax highlighting: