| Bio-Chado-Schema documentation | Contained in the Bio-Chado-Schema distribution. |
Bio::Chado::Schema::General::Dbxref
A unique, global, public, stable identifier. Not necessarily an external reference - can reference data items inside the particular chado instance being used. Typically a row in a table can be uniquely identified with a primary identifier (called dbxref_id); a table may also have secondary identifiers (in a linking table <T>_dbxref). A dbxref is generally written as <DB>:<ACCESSION> or as <DB>:<ACCESSION>:<VERSION>.
data_type: integer
default_value: nextval('dbxref_dbxref_id_seq'::regclass)
is_auto_increment: 1
is_nullable: 0
data_type: integer default_value: undef is_foreign_key: 1 is_nullable: 0
data_type: character varying default_value: undef is_nullable: 0 size: 255
The local part of the identifier. Guaranteed by the db authority to be unique for that db.
data_type: character varying default_value: (empty string) is_nullable: 0 size: 255
data_type: text default_value: undef is_nullable: 1
Type: has_many
Related object: Bio::Chado::Schema::Mage::Arraydesign
Type: has_many
Related object: Bio::Chado::Schema::Mage::Assay
Type: has_many
Related object: Bio::Chado::Schema::Mage::Biomaterial
Type: has_many
Related object: Bio::Chado::Schema::Mage::BiomaterialDbxref
Type: has_many
Related object: Bio::Chado::Schema::CellLine::CellLineDbxref
Type: might_have
Related object: Bio::Chado::Schema::Cv::Cvterm
Type: has_many
Related object: Bio::Chado::Schema::Cv::CvtermDbxref
Type: belongs_to
Related object: Bio::Chado::Schema::General::Db
Type: has_many
Related object: Bio::Chado::Schema::Cv::Dbxrefprop
Type: has_many
Related object: Bio::Chado::Schema::Mage::Element
Type: has_many
Related object: Bio::Chado::Schema::Sequence::Feature
Type: has_many
Related object: Bio::Chado::Schema::Sequence::FeatureCvtermDbxref
Type: has_many
Related object: Bio::Chado::Schema::Sequence::FeatureDbxref
Type: has_many
Related object: Bio::Chado::Schema::Library::LibraryDbxref
Type: has_many
Related object: Bio::Chado::Schema::Organism::OrganismDbxref
Type: has_many
Related object: Bio::Chado::Schema::Phylogeny::PhylonodeDbxref
Type: has_many
Related object: Bio::Chado::Schema::Phylogeny::Phylotree
Type: has_many
Related object: Bio::Chado::Schema::Mage::Protocol
Type: has_many
Related object: Bio::Chado::Schema::Pub::PubDbxref
Type: has_many
Related object: Bio::Chado::Schema::Stock::Stock
Type: has_many
Related object: Bio::Chado::Schema::Stock::StockDbxref
Type: has_many
Related object: Bio::Chado::Schema::Mage::Study
Relation to Bio::Chado::Schema::Mage::Biomaterial (i.e. biomaterial table)
via the organism_dbxrefs table.
Relation to Bio::Chado::Schema::CellLine::CellLine (i.e. cell_line table)
via the cell_line_dbxrefs table.
Relation to Bio::Chado::Schema::Cv::Cvterm (i.e. cvterm table)
via the cvterm_dbxrefs table.
Relation to Bio::Chado::Schema::Sequence::Feature (i.e. feature table)
via the feature_dbxrefs table.
Relation to Bio::Chado::Schema::Library::LibraryDbxref (i.e. library table)
via the library_dbxrefs table.
Relation to Bio::Chado::Schema::Organism::Organism (i.e. organism table)
via the organism_dbxrefs table.
Relation to Bio::Chado::Schema::Phylogeny::Phylonode (i.e. phylonode table)
via the phylonode_dbxrefs table.
Relation to Bio::Chado::Schema::Pub::Pub (i.e. pub table)
via the pub_dbxrefs table.
Relation to Bio::Chado::Schema::Stock::Stock (i.e. stock table)
via the stock_dbxrefs table.
| Bio-Chado-Schema documentation | Contained in the Bio-Chado-Schema distribution. |
package Bio::Chado::Schema::General::Dbxref; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE use strict; use warnings; use base 'DBIx::Class::Core';
__PACKAGE__->table("dbxref");
__PACKAGE__->add_columns( "dbxref_id", { data_type => "integer", default_value => \"nextval('dbxref_dbxref_id_seq'::regclass)", is_auto_increment => 1, is_nullable => 0, }, "db_id", { data_type => "integer", default_value => undef, is_foreign_key => 1, is_nullable => 0, }, "accession", { data_type => "character varying", default_value => undef, is_nullable => 0, size => 255, }, "version", { data_type => "character varying", default_value => "", is_nullable => 0, size => 255, }, "description", { data_type => "text", default_value => undef, is_nullable => 1 }, ); __PACKAGE__->set_primary_key("dbxref_id"); __PACKAGE__->add_unique_constraint("dbxref_c1", ["db_id", "accession", "version"]);
__PACKAGE__->has_many( "arraydesigns", "Bio::Chado::Schema::Mage::Arraydesign", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "assays", "Bio::Chado::Schema::Mage::Assay", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "biomaterials", "Bio::Chado::Schema::Mage::Biomaterial", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "biomaterial_dbxrefs", "Bio::Chado::Schema::Mage::BiomaterialDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "cell_line_dbxrefs", "Bio::Chado::Schema::CellLine::CellLineDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->might_have( "cvterm", "Bio::Chado::Schema::Cv::Cvterm", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "cvterm_dbxrefs", "Bio::Chado::Schema::Cv::CvtermDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->belongs_to( "db", "Bio::Chado::Schema::General::Db", { db_id => "db_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "dbxrefprops", "Bio::Chado::Schema::Cv::Dbxrefprop", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "elements", "Bio::Chado::Schema::Mage::Element", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "features", "Bio::Chado::Schema::Sequence::Feature", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "feature_cvterm_dbxrefs", "Bio::Chado::Schema::Sequence::FeatureCvtermDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "feature_dbxrefs", "Bio::Chado::Schema::Sequence::FeatureDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "library_dbxrefs", "Bio::Chado::Schema::Library::LibraryDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "organism_dbxrefs", "Bio::Chado::Schema::Organism::OrganismDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "phylonode_dbxrefs", "Bio::Chado::Schema::Phylogeny::PhylonodeDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "phylotrees", "Bio::Chado::Schema::Phylogeny::Phylotree", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "protocols", "Bio::Chado::Schema::Mage::Protocol", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "pub_dbxrefs", "Bio::Chado::Schema::Pub::PubDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "stocks", "Bio::Chado::Schema::Stock::Stock", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "stock_dbxrefs", "Bio::Chado::Schema::Stock::StockDbxref", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, );
__PACKAGE__->has_many( "studies", "Bio::Chado::Schema::Mage::Study", { "foreign.dbxref_id" => "self.dbxref_id" }, { cascade_copy => 0, cascade_delete => 0 }, ); # Created by DBIx::Class::Schema::Loader v0.05002 @ 2010-02-18 11:30:28 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:G0B4CSfFmiZA3aBDkWyb4g
__PACKAGE__->many_to_many ( 'biomaterials_mm', 'biomaterial_dbxrefs' => 'biomaterial', );
__PACKAGE__->many_to_many ( 'cell_lines_mm', 'cell_line_dbxrefs' => 'cell_line', );
__PACKAGE__->many_to_many ( 'cvterms_mm', 'cvterm_dbxrefs' => 'cvterm', );
__PACKAGE__->many_to_many ( 'features_mm', 'feature_dbxrefs' => 'feature', );
__PACKAGE__->many_to_many ( 'libraries_mm', 'library_dbxrefs' => 'library', );
__PACKAGE__->many_to_many ( 'organisms_mm', 'organism_dbxrefs' => 'organism', );
__PACKAGE__->many_to_many ( 'phylonodes_mm', 'phylonode_dbxrefs' => 'phylonode', );
__PACKAGE__->many_to_many ( 'pubs_mm', 'pub_dbxrefs' => 'pub', );
__PACKAGE__->many_to_many ( 'stocks_mm', 'stock_dbxrefs' => 'stock', ); # You can replace this text with custom content, and it will be preserved on regeneration 1;