NAME
Bio::Chado::Schema::Stock::StockRelationship
ACCESSORS
stock_relationship_id
data_type: integer
default_value: nextval('stock_relationship_stock_relationship_id_seq'::regclass)
is_auto_increment: 1
is_nullable: 0
size: 4
subject_id
data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4
stock_relationship.subject_id is the subject of the subj-predicate-obj sentence. This is typically the substock.
object_id
data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4
stock_relationship.object_id is the object of the subj-predicate-obj sentence. This is typically the container stock.
type_id
data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4
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
default_value: undef
is_nullable: 1
size: undef
stock_relationship.value is for additional notes or comments.
rank
data_type: integer
default_value: 0
is_nullable: 0
size: 4
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