NAME
Bio::Chado::Schema::Stock::StockRelationship
NAME
Bio::Chado::Schema::Stock::StockRelationship
ACCESSORS
stock_relationship_id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'stock_relationship_stock_relationship_id_seq'
subject_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
stock_relationship.subject_id is the subject of the subj-predicate-obj sentence. This is typically the substock.
object_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
stock_relationship.object_id is the object of the subj-predicate-obj sentence. This is typically the container stock.
type_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
stock_relationship.type_id is relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed.
value
data_type: 'text'
is_nullable: 1
stock_relationship.value is for additional notes or comments.
rank
data_type: 'integer'
default_value: 0
is_nullable: 0
stock_relationship.rank is the ordering of subject stocks with respect to the object stock may be important where rank is used to order these; starts from zero.
RELATIONS
subject
Type: belongs_to
Related object: Bio::Chado::Schema::Stock::Stock
type
Type: belongs_to
Related object: Bio::Chado::Schema::Cv::Cvterm
object
Type: belongs_to
Related object: Bio::Chado::Schema::Stock::Stock
stock_relationship_pubs
Type: has_many
Related object: Bio::Chado::Schema::Stock::StockRelationshipPub
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.