| 1 | package Bio::Chado::Schema::Result::Phylogeny::PhylonodeDbxrefscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Phylogeny/PhylonodeDbxref/; |
| 2 | BEGIN { |
| 3 | $Bio::Chado::Schema::Result::Phylogeny::PhylonodeDbxref::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Phylogeny/PhylonodeDbxref/$AUTHORITY. = 'cpan:RBUELS'; |
| 4 | } |
| 5 | { |
| 6 | $Bio::Chado::Schema::Result::Phylogeny::PhylonodeDbxref::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Phylogeny/PhylonodeDbxref/$VERSION. = '0.20000'; |
| 7 | } |
| 8 | |
| 9 | # Created by DBIx::Class::Schema::Loader |
| 10 | # DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 11 | |
| 12 | use strictscip-perl cpan Bio-Chado-Schema 0.20000 strict/; |
| 13 | use warningsscip-perl cpan Bio-Chado-Schema 0.20000 warnings/; |
| 14 | |
| 15 | use basescip-perl cpan Bio-Chado-Schema 0.20000 base/ 'DBIx::Class::Core'; |
| 16 | |
| 17 | |
| 18 | =head1 NAME |
| 19 | |
| 20 | Bio::Chado::Schema::Result::Phylogeny::PhylonodeDbxref |
| 21 | |
| 22 | =head1 DESCRIPTION |
| 23 | |
| 24 | For example, for orthology, paralogy group identifiers; could also be used for NCBI taxonomy; for sequences, refer to phylonode_feature, feature associated dbxrefs. |
| 25 | |
| 26 | =cut |
| 27 | |
| 28 | __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("phylonode_dbxref"); |
| 29 | |
| 30 | =head1 ACCESSORS |
| 31 | |
| 32 | =head2 phylonode_dbxref_id |
| 33 | |
| 34 | data_type: 'integer' |
| 35 | is_auto_increment: 1 |
| 36 | is_nullable: 0 |
| 37 | sequence: 'phylonode_dbxref_phylonode_dbxref_id_seq' |
| 38 | |
| 39 | =head2 phylonode_id |
| 40 | |
| 41 | data_type: 'integer' |
| 42 | is_foreign_key: 1 |
| 43 | is_nullable: 0 |
| 44 | |
| 45 | =head2 dbxref_id |
| 46 | |
| 47 | data_type: 'integer' |
| 48 | is_foreign_key: 1 |
| 49 | is_nullable: 0 |
| 50 | |
| 51 | =cut |
| 52 | |
| 53 | __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().( |
| 54 | "phylonode_dbxref_id", |
| 55 | { |
| 56 | data_type => "integer", |
| 57 | is_auto_increment => 1, |
| 58 | is_nullable => 0, |
| 59 | sequence => "phylonode_dbxref_phylonode_dbxref_id_seq", |
| 60 | }, |
| 61 | "phylonode_id", |
| 62 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 63 | "dbxref_id", |
| 64 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 65 | ); |
| 66 | __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("phylonode_dbxref_id"); |
| 67 | __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().( |
| 68 | "phylonode_dbxref_phylonode_id_key", |
| 69 | ["phylonode_id", "dbxref_id"], |
| 70 | ); |
| 71 | |
| 72 | =head1 RELATIONS |
| 73 | |
| 74 | =head2 phylonode |
| 75 | |
| 76 | Type: belongs_to |
| 77 | |
| 78 | Related object: L<Bio::Chado::Schema::Result::Phylogeny::Phylonode> |
| 79 | |
| 80 | =cut |
| 81 | |
| 82 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 83 | "phylonode", |
| 84 | "Bio::Chado::Schema::Result::Phylogeny::Phylonode", |
| 85 | { phylonode_id => "phylonode_id" }, |
| 86 | { |
| 87 | cascade_copy => 0, |
| 88 | cascade_delete => 0, |
| 89 | is_deferrable => 1, |
| 90 | on_delete => "CASCADE", |
| 91 | on_update => "CASCADE", |
| 92 | }, |
| 93 | ); |
| 94 | |
| 95 | =head2 dbxref |
| 96 | |
| 97 | Type: belongs_to |
| 98 | |
| 99 | Related object: L<Bio::Chado::Schema::Result::General::Dbxref> |
| 100 | |
| 101 | =cut |
| 102 | |
| 103 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 104 | "dbxref", |
| 105 | "Bio::Chado::Schema::Result::General::Dbxref", |
| 106 | { dbxref_id => "dbxref_id" }, |
| 107 | { |
| 108 | cascade_copy => 0, |
| 109 | cascade_delete => 0, |
| 110 | is_deferrable => 1, |
| 111 | on_delete => "CASCADE", |
| 112 | on_update => "CASCADE", |
| 113 | }, |
| 114 | ); |
| 115 | |
| 116 | |
| 117 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59 |
| 118 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0dvIN4NxK3Ee8559ojEHCg |
| 119 | |
| 120 | |
| 121 | # You can replace this text with custom content, and it will be preserved on regeneration |
| 122 | 1; |