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



NAME

Bio::Chado::Schema::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.


NAME

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


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: the Bio::Chado::Schema::Stock::Stock manpage

type

Type: belongs_to

Related object: the Bio::Chado::Schema::Cv::Cvterm manpage

stockprop_pubs

Type: has_many

Related object: the Bio::Chado::Schema::Stock::StockpropPub manpage


AUTHOR

Robert Buels <rbuels@cpan.org>


COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Robert Buels.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

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