NAME

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

type

Type: belongs_to

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

object

Type: belongs_to

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

stock_relationship_cvterms

Type: has_many

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

stock_relationship_pubs

Type: has_many

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