| 1 | package Bio::Chado::Schema::Result::Mage::Acquisitionscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Acquisition/; |
| 2 | BEGIN { |
| 3 | $Bio::Chado::Schema::Result::Mage::Acquisition::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Acquisition/$AUTHORITY. = 'cpan:RBUELS'; |
| 4 | } |
| 5 | { |
| 6 | $Bio::Chado::Schema::Result::Mage::Acquisition::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Acquisition/$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::Acquisition |
| 21 | |
| 22 | =head1 DESCRIPTION |
| 23 | |
| 24 | This represents the scanning of hybridized material. The output of this process is typically a digital image of an array. |
| 25 | |
| 26 | =cut |
| 27 | |
| 28 | __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("acquisition"); |
| 29 | |
| 30 | =head1 ACCESSORS |
| 31 | |
| 32 | =head2 acquisition_id |
| 33 | |
| 34 | data_type: 'integer' |
| 35 | is_auto_increment: 1 |
| 36 | is_nullable: 0 |
| 37 | sequence: 'acquisition_acquisition_id_seq' |
| 38 | |
| 39 | =head2 assay_id |
| 40 | |
| 41 | data_type: 'integer' |
| 42 | is_foreign_key: 1 |
| 43 | is_nullable: 0 |
| 44 | |
| 45 | =head2 protocol_id |
| 46 | |
| 47 | data_type: 'integer' |
| 48 | is_foreign_key: 1 |
| 49 | is_nullable: 1 |
| 50 | |
| 51 | =head2 channel_id |
| 52 | |
| 53 | data_type: 'integer' |
| 54 | is_foreign_key: 1 |
| 55 | is_nullable: 1 |
| 56 | |
| 57 | =head2 acquisitiondate |
| 58 | |
| 59 | data_type: 'timestamp' |
| 60 | default_value: current_timestamp |
| 61 | is_nullable: 1 |
| 62 | original: {default_value => \"now()"} |
| 63 | |
| 64 | =head2 name |
| 65 | |
| 66 | data_type: 'text' |
| 67 | is_nullable: 1 |
| 68 | |
| 69 | =head2 uri |
| 70 | |
| 71 | data_type: 'text' |
| 72 | is_nullable: 1 |
| 73 | |
| 74 | =cut |
| 75 | |
| 76 | __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().( |
| 77 | "acquisition_id", |
| 78 | { |
| 79 | data_type => "integer", |
| 80 | is_auto_increment => 1, |
| 81 | is_nullable => 0, |
| 82 | sequence => "acquisition_acquisition_id_seq", |
| 83 | }, |
| 84 | "assay_id", |
| 85 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 86 | "protocol_id", |
| 87 | { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 88 | "channel_id", |
| 89 | { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 90 | "acquisitiondate", |
| 91 | { |
| 92 | data_type => "timestamp", |
| 93 | default_value => \"current_timestamp", |
| 94 | is_nullable => 1, |
| 95 | original => { default_value => \"now()" }, |
| 96 | }, |
| 97 | "name", |
| 98 | { data_type => "text", is_nullable => 1 }, |
| 99 | "uri", |
| 100 | { data_type => "text", is_nullable => 1 }, |
| 101 | ); |
| 102 | __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("acquisition_id"); |
| 103 | __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("acquisition_c1", ["name"]); |
| 104 | |
| 105 | =head1 RELATIONS |
| 106 | |
| 107 | =head2 protocol |
| 108 | |
| 109 | Type: belongs_to |
| 110 | |
| 111 | Related object: L<Bio::Chado::Schema::Result::Mage::Protocol> |
| 112 | |
| 113 | =cut |
| 114 | |
| 115 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 116 | "protocol", |
| 117 | "Bio::Chado::Schema::Result::Mage::Protocol", |
| 118 | { protocol_id => "protocol_id" }, |
| 119 | { |
| 120 | cascade_copy => 0, |
| 121 | cascade_delete => 0, |
| 122 | is_deferrable => 1, |
| 123 | join_type => "LEFT", |
| 124 | on_delete => "CASCADE", |
| 125 | on_update => "CASCADE", |
| 126 | }, |
| 127 | ); |
| 128 | |
| 129 | =head2 assay |
| 130 | |
| 131 | Type: belongs_to |
| 132 | |
| 133 | Related object: L<Bio::Chado::Schema::Result::Mage::Assay> |
| 134 | |
| 135 | =cut |
| 136 | |
| 137 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 138 | "assay", |
| 139 | "Bio::Chado::Schema::Result::Mage::Assay", |
| 140 | { assay_id => "assay_id" }, |
| 141 | { |
| 142 | cascade_copy => 0, |
| 143 | cascade_delete => 0, |
| 144 | is_deferrable => 1, |
| 145 | on_delete => "CASCADE", |
| 146 | on_update => "CASCADE", |
| 147 | }, |
| 148 | ); |
| 149 | |
| 150 | =head2 channel |
| 151 | |
| 152 | Type: belongs_to |
| 153 | |
| 154 | Related object: L<Bio::Chado::Schema::Result::Mage::Channel> |
| 155 | |
| 156 | =cut |
| 157 | |
| 158 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 159 | "channel", |
| 160 | "Bio::Chado::Schema::Result::Mage::Channel", |
| 161 | { channel_id => "channel_id" }, |
| 162 | { |
| 163 | cascade_copy => 0, |
| 164 | cascade_delete => 0, |
| 165 | is_deferrable => 1, |
| 166 | join_type => "LEFT", |
| 167 | on_delete => "CASCADE", |
| 168 | on_update => "CASCADE", |
| 169 | }, |
| 170 | ); |
| 171 | |
| 172 | =head2 acquisitionprops |
| 173 | |
| 174 | Type: has_many |
| 175 | |
| 176 | Related object: L<Bio::Chado::Schema::Result::Mage::Acquisitionprop> |
| 177 | |
| 178 | =cut |
| 179 | |
| 180 | __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().( |
| 181 | "acquisitionprops", |
| 182 | "Bio::Chado::Schema::Result::Mage::Acquisitionprop", |
| 183 | { "foreign.acquisition_id" => "self.acquisition_id" }, |
| 184 | { cascade_copy => 0, cascade_delete => 0 }, |
| 185 | ); |
| 186 | |
| 187 | =head2 acquisition_relationship_subjects |
| 188 | |
| 189 | Type: has_many |
| 190 | |
| 191 | Related object: L<Bio::Chado::Schema::Result::Mage::AcquisitionRelationship> |
| 192 | |
| 193 | =cut |
| 194 | |
| 195 | __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().( |
| 196 | "acquisition_relationship_subjects", |
| 197 | "Bio::Chado::Schema::Result::Mage::AcquisitionRelationship", |
| 198 | { "foreign.subject_id" => "self.acquisition_id" }, |
| 199 | { cascade_copy => 0, cascade_delete => 0 }, |
| 200 | ); |
| 201 | |
| 202 | =head2 acquisition_relationship_objects |
| 203 | |
| 204 | Type: has_many |
| 205 | |
| 206 | Related object: L<Bio::Chado::Schema::Result::Mage::AcquisitionRelationship> |
| 207 | |
| 208 | =cut |
| 209 | |
| 210 | __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().( |
| 211 | "acquisition_relationship_objects", |
| 212 | "Bio::Chado::Schema::Result::Mage::AcquisitionRelationship", |
| 213 | { "foreign.object_id" => "self.acquisition_id" }, |
| 214 | { cascade_copy => 0, cascade_delete => 0 }, |
| 215 | ); |
| 216 | |
| 217 | =head2 quantifications |
| 218 | |
| 219 | Type: has_many |
| 220 | |
| 221 | Related object: L<Bio::Chado::Schema::Result::Mage::Quantification> |
| 222 | |
| 223 | =cut |
| 224 | |
| 225 | __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().( |
| 226 | "quantifications", |
| 227 | "Bio::Chado::Schema::Result::Mage::Quantification", |
| 228 | { "foreign.acquisition_id" => "self.acquisition_id" }, |
| 229 | { cascade_copy => 0, cascade_delete => 0 }, |
| 230 | ); |
| 231 | |
| 232 | |
| 233 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:58 |
| 234 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wSZSVJSO4MuPvrYhuZD0/g |
| 235 | |
| 236 | |
| 237 | # You can replace this text with custom content, and it will be preserved on regeneration |
| 238 | 1; |