| 1 | package Bio::Chado::Schema::Result::Mage::AcquisitionRelationshipscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/AcquisitionRelationship/; |
| 2 | BEGIN { |
| 3 | $Bio::Chado::Schema::Result::Mage::AcquisitionRelationship::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/AcquisitionRelationship/$AUTHORITY. = 'cpan:RBUELS'; |
| 4 | } |
| 5 | { |
| 6 | $Bio::Chado::Schema::Result::Mage::AcquisitionRelationship::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/AcquisitionRelationship/$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::Mage::AcquisitionRelationship |
| 21 | |
| 22 | =head1 DESCRIPTION |
| 23 | |
| 24 | Multiple monochrome images may be merged to form a multi-color image. Red-green images of 2-channel hybridizations are an example of this. |
| 25 | |
| 26 | =cut |
| 27 | |
| 28 | __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("acquisition_relationship"); |
| 29 | |
| 30 | =head1 ACCESSORS |
| 31 | |
| 32 | =head2 acquisition_relationship_id |
| 33 | |
| 34 | data_type: 'integer' |
| 35 | is_auto_increment: 1 |
| 36 | is_nullable: 0 |
| 37 | sequence: 'acquisition_relationship_acquisition_relationship_id_seq' |
| 38 | |
| 39 | =head2 subject_id |
| 40 | |
| 41 | data_type: 'integer' |
| 42 | is_foreign_key: 1 |
| 43 | is_nullable: 0 |
| 44 | |
| 45 | =head2 type_id |
| 46 | |
| 47 | data_type: 'integer' |
| 48 | is_foreign_key: 1 |
| 49 | is_nullable: 0 |
| 50 | |
| 51 | =head2 object_id |
| 52 | |
| 53 | data_type: 'integer' |
| 54 | is_foreign_key: 1 |
| 55 | is_nullable: 0 |
| 56 | |
| 57 | =head2 value |
| 58 | |
| 59 | data_type: 'text' |
| 60 | is_nullable: 1 |
| 61 | |
| 62 | =head2 rank |
| 63 | |
| 64 | data_type: 'integer' |
| 65 | default_value: 0 |
| 66 | is_nullable: 0 |
| 67 | |
| 68 | =cut |
| 69 | |
| 70 | __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().( |
| 71 | "acquisition_relationship_id", |
| 72 | { |
| 73 | data_type => "integer", |
| 74 | is_auto_increment => 1, |
| 75 | is_nullable => 0, |
| 76 | sequence => "acquisition_relationship_acquisition_relationship_id_seq", |
| 77 | }, |
| 78 | "subject_id", |
| 79 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 80 | "type_id", |
| 81 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 82 | "object_id", |
| 83 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 84 | "value", |
| 85 | { data_type => "text", is_nullable => 1 }, |
| 86 | "rank", |
| 87 | { data_type => "integer", default_value => 0, is_nullable => 0 }, |
| 88 | ); |
| 89 | __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("acquisition_relationship_id"); |
| 90 | __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().( |
| 91 | "acquisition_relationship_c1", |
| 92 | ["subject_id", "object_id", "type_id", "rank"], |
| 93 | ); |
| 94 | |
| 95 | =head1 RELATIONS |
| 96 | |
| 97 | =head2 subject |
| 98 | |
| 99 | Type: belongs_to |
| 100 | |
| 101 | Related object: L<Bio::Chado::Schema::Result::Mage::Acquisition> |
| 102 | |
| 103 | =cut |
| 104 | |
| 105 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 106 | "subject", |
| 107 | "Bio::Chado::Schema::Result::Mage::Acquisition", |
| 108 | { acquisition_id => "subject_id" }, |
| 109 | { |
| 110 | cascade_copy => 0, |
| 111 | cascade_delete => 0, |
| 112 | is_deferrable => 1, |
| 113 | on_delete => "CASCADE", |
| 114 | on_update => "CASCADE", |
| 115 | }, |
| 116 | ); |
| 117 | |
| 118 | =head2 type |
| 119 | |
| 120 | Type: belongs_to |
| 121 | |
| 122 | Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm> |
| 123 | |
| 124 | =cut |
| 125 | |
| 126 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 127 | "type", |
| 128 | "Bio::Chado::Schema::Result::Cv::Cvterm", |
| 129 | { cvterm_id => "type_id" }, |
| 130 | { |
| 131 | cascade_copy => 0, |
| 132 | cascade_delete => 0, |
| 133 | is_deferrable => 1, |
| 134 | on_delete => "CASCADE", |
| 135 | on_update => "CASCADE", |
| 136 | }, |
| 137 | ); |
| 138 | |
| 139 | =head2 object |
| 140 | |
| 141 | Type: belongs_to |
| 142 | |
| 143 | Related object: L<Bio::Chado::Schema::Result::Mage::Acquisition> |
| 144 | |
| 145 | =cut |
| 146 | |
| 147 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 148 | "object", |
| 149 | "Bio::Chado::Schema::Result::Mage::Acquisition", |
| 150 | { acquisition_id => "object_id" }, |
| 151 | { |
| 152 | cascade_copy => 0, |
| 153 | cascade_delete => 0, |
| 154 | is_deferrable => 1, |
| 155 | on_delete => "CASCADE", |
| 156 | on_update => "CASCADE", |
| 157 | }, |
| 158 | ); |
| 159 | |
| 160 | |
| 161 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:58 |
| 162 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fyt8rB1hmx0/OIaSPOMfoQ |
| 163 | |
| 164 | |
| 165 | # You can replace this text with custom content, and it will be preserved on regeneration |
| 166 | 1; |