| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Mage::Element; |
|
2
|
|
|
|
|
|
|
BEGIN { |
|
3
|
6
|
|
|
6
|
|
2791
|
$Bio::Chado::Schema::Result::Mage::Element::AUTHORITY = 'cpan:RBUELS'; |
|
4
|
|
|
|
|
|
|
} |
|
5
|
|
|
|
|
|
|
BEGIN { |
|
6
|
6
|
|
|
6
|
|
103
|
$Bio::Chado::Schema::Result::Mage::Element::VERSION = '0.08001'; # TRIAL |
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader |
|
10
|
|
|
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
|
11
|
|
|
|
|
|
|
|
|
12
|
6
|
|
|
6
|
|
36
|
use strict; |
|
|
6
|
|
|
|
|
11
|
|
|
|
6
|
|
|
|
|
116
|
|
|
13
|
6
|
|
|
6
|
|
31
|
use warnings; |
|
|
6
|
|
|
|
|
12
|
|
|
|
6
|
|
|
|
|
131
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
28
|
use base 'DBIx::Class::Core'; |
|
|
6
|
|
|
|
|
14
|
|
|
|
6
|
|
|
|
|
1321
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("element"); |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
|
23
|
|
|
|
|
|
|
"element_id", |
|
24
|
|
|
|
|
|
|
{ |
|
25
|
|
|
|
|
|
|
data_type => "integer", |
|
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
|
27
|
|
|
|
|
|
|
is_nullable => 0, |
|
28
|
|
|
|
|
|
|
sequence => "element_element_id_seq", |
|
29
|
|
|
|
|
|
|
}, |
|
30
|
|
|
|
|
|
|
"feature_id", |
|
31
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
32
|
|
|
|
|
|
|
"arraydesign_id", |
|
33
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
|
34
|
|
|
|
|
|
|
"type_id", |
|
35
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
36
|
|
|
|
|
|
|
"dbxref_id", |
|
37
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
38
|
|
|
|
|
|
|
); |
|
39
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("element_id"); |
|
40
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("element_c1", ["feature_id", "arraydesign_id"]); |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
44
|
|
|
|
|
|
|
"feature", |
|
45
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::Feature", |
|
46
|
|
|
|
|
|
|
{ feature_id => "feature_id" }, |
|
47
|
|
|
|
|
|
|
{ |
|
48
|
|
|
|
|
|
|
cascade_copy => 0, |
|
49
|
|
|
|
|
|
|
cascade_delete => 0, |
|
50
|
|
|
|
|
|
|
is_deferrable => 1, |
|
51
|
|
|
|
|
|
|
join_type => "LEFT", |
|
52
|
|
|
|
|
|
|
on_delete => "CASCADE", |
|
53
|
|
|
|
|
|
|
on_update => "CASCADE", |
|
54
|
|
|
|
|
|
|
}, |
|
55
|
|
|
|
|
|
|
); |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
59
|
|
|
|
|
|
|
"type", |
|
60
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Cv::Cvterm", |
|
61
|
|
|
|
|
|
|
{ cvterm_id => "type_id" }, |
|
62
|
|
|
|
|
|
|
{ |
|
63
|
|
|
|
|
|
|
cascade_copy => 0, |
|
64
|
|
|
|
|
|
|
cascade_delete => 0, |
|
65
|
|
|
|
|
|
|
is_deferrable => 1, |
|
66
|
|
|
|
|
|
|
join_type => "LEFT", |
|
67
|
|
|
|
|
|
|
on_delete => "CASCADE", |
|
68
|
|
|
|
|
|
|
on_update => "CASCADE", |
|
69
|
|
|
|
|
|
|
}, |
|
70
|
|
|
|
|
|
|
); |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
74
|
|
|
|
|
|
|
"arraydesign", |
|
75
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Arraydesign", |
|
76
|
|
|
|
|
|
|
{ arraydesign_id => "arraydesign_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
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
88
|
|
|
|
|
|
|
"dbxref", |
|
89
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::General::Dbxref", |
|
90
|
|
|
|
|
|
|
{ dbxref_id => "dbxref_id" }, |
|
91
|
|
|
|
|
|
|
{ |
|
92
|
|
|
|
|
|
|
cascade_copy => 0, |
|
93
|
|
|
|
|
|
|
cascade_delete => 0, |
|
94
|
|
|
|
|
|
|
is_deferrable => 1, |
|
95
|
|
|
|
|
|
|
join_type => "LEFT", |
|
96
|
|
|
|
|
|
|
on_delete => "CASCADE", |
|
97
|
|
|
|
|
|
|
on_update => "CASCADE", |
|
98
|
|
|
|
|
|
|
}, |
|
99
|
|
|
|
|
|
|
); |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
103
|
|
|
|
|
|
|
"element_relationship_objects", |
|
104
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::ElementRelationship", |
|
105
|
|
|
|
|
|
|
{ "foreign.object_id" => "self.element_id" }, |
|
106
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
|
107
|
|
|
|
|
|
|
); |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
111
|
|
|
|
|
|
|
"element_relationship_subjects", |
|
112
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::ElementRelationship", |
|
113
|
|
|
|
|
|
|
{ "foreign.subject_id" => "self.element_id" }, |
|
114
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
|
115
|
|
|
|
|
|
|
); |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
119
|
|
|
|
|
|
|
"elementresults", |
|
120
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Elementresult", |
|
121
|
|
|
|
|
|
|
{ "foreign.element_id" => "self.element_id" }, |
|
122
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
|
123
|
|
|
|
|
|
|
); |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36 |
|
127
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QG6GZCRZqaI0TWecDtF23A |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
|
131
|
|
|
|
|
|
|
1; |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
__END__ |