Debian Codegraph @

lib/Bio/Chado/Schema/Result/Mage/Studydesign.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Mage::Studydesignscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Studydesign/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Mage::Studydesign::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Studydesign/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Mage::Studydesign::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Mage/Studydesign/$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::Studydesign
21
22 =cut
23
24 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("studydesign");
25
26 =head1 ACCESSORS
27
28 =head2 studydesign_id
29
30 data_type: 'integer'
31 is_auto_increment: 1
32 is_nullable: 0
33 sequence: 'studydesign_studydesign_id_seq'
34
35 =head2 study_id
36
37 data_type: 'integer'
38 is_foreign_key: 1
39 is_nullable: 0
40
41 =head2 description
42
43 data_type: 'text'
44 is_nullable: 1
45
46 =cut
47
48 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
49 "studydesign_id",
50 {
51 data_type => "integer",
52 is_auto_increment => 1,
53 is_nullable => 0,
54 sequence => "studydesign_studydesign_id_seq",
55 },
56 "study_id",
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
58 "description",
59 { data_type => "text", is_nullable => 1 },
60 );
61 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("studydesign_id");
62
63 =head1 RELATIONS
64
65 =head2 study
66
67 Type: belongs_to
68
69 Related object: L<Bio::Chado::Schema::Result::Mage::Study>
70
71 =cut
72
73 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
74 "study",
75 "Bio::Chado::Schema::Result::Mage::Study",
76 { study_id => "study_id" },
77 {
78 cascade_copy => 0,
79 cascade_delete => 0,
80 is_deferrable => 1,
81 on_delete => "CASCADE",
82 on_update => "CASCADE",
83 },
84 );
85
86 =head2 studydesignprops
87
88 Type: has_many
89
90 Related object: L<Bio::Chado::Schema::Result::Mage::Studydesignprop>
91
92 =cut
93
94 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
95 "studydesignprops",
96 "Bio::Chado::Schema::Result::Mage::Studydesignprop",
97 { "foreign.studydesign_id" => "self.studydesign_id" },
98 { cascade_copy => 0, cascade_delete => 0 },
99 );
100
101 =head2 studyfactors
102
103 Type: has_many
104
105 Related object: L<Bio::Chado::Schema::Result::Mage::Studyfactor>
106
107 =cut
108
109 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
110 "studyfactors",
111 "Bio::Chado::Schema::Result::Mage::Studyfactor",
112 { "foreign.studydesign_id" => "self.studydesign_id" },
113 { cascade_copy => 0, cascade_delete => 0 },
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:vD7ojU0ZWCDAyP+EZDi8Mw
119
120
121 # You can replace this text with custom content, and it will be preserved on regeneration
122 1;