line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Pub::Pub; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
6
|
|
|
6
|
|
2913
|
$Bio::Chado::Schema::Result::Pub::Pub::AUTHORITY = 'cpan:RBUELS'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
6
|
|
|
6
|
|
101
|
$Bio::Chado::Schema::Result::Pub::Pub::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
|
|
38
|
use strict; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
100
|
|
13
|
6
|
|
|
6
|
|
25
|
use warnings; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
128
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
26
|
use base 'DBIx::Class::Core'; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
4178
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("pub"); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
23
|
|
|
|
|
|
|
"pub_id", |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
data_type => "integer", |
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
sequence => "pub_pub_id_seq", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
"title", |
31
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
32
|
|
|
|
|
|
|
"volumetitle", |
33
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
34
|
|
|
|
|
|
|
"volume", |
35
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
36
|
|
|
|
|
|
|
"series_name", |
37
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
38
|
|
|
|
|
|
|
"issue", |
39
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
40
|
|
|
|
|
|
|
"pyear", |
41
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
42
|
|
|
|
|
|
|
"pages", |
43
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
44
|
|
|
|
|
|
|
"miniref", |
45
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
46
|
|
|
|
|
|
|
"uniquename", |
47
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 0 }, |
48
|
|
|
|
|
|
|
"type_id", |
49
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
50
|
|
|
|
|
|
|
"is_obsolete", |
51
|
|
|
|
|
|
|
{ data_type => "boolean", default_value => \"false", is_nullable => 1 }, |
52
|
|
|
|
|
|
|
"publisher", |
53
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
54
|
|
|
|
|
|
|
"pubplace", |
55
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("pub_id"); |
58
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("pub_c1", ["uniquename"]); |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
62
|
|
|
|
|
|
|
"cell_line_cvterms", |
63
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineCvterm", |
64
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
65
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
66
|
|
|
|
|
|
|
); |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
70
|
|
|
|
|
|
|
"cell_line_features", |
71
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineFeature", |
72
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
73
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
74
|
|
|
|
|
|
|
); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
78
|
|
|
|
|
|
|
"cell_line_libraries", |
79
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineLibrary", |
80
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
81
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
82
|
|
|
|
|
|
|
); |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
86
|
|
|
|
|
|
|
"cell_lineprop_pubs", |
87
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLinepropPub", |
88
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
89
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
90
|
|
|
|
|
|
|
); |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
94
|
|
|
|
|
|
|
"cell_line_pubs", |
95
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLinePub", |
96
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
97
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
98
|
|
|
|
|
|
|
); |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
102
|
|
|
|
|
|
|
"cell_line_synonyms", |
103
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineSynonym", |
104
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
105
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
106
|
|
|
|
|
|
|
); |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
110
|
|
|
|
|
|
|
"expression_pubs", |
111
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Expression::ExpressionPub", |
112
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
113
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
114
|
|
|
|
|
|
|
); |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
118
|
|
|
|
|
|
|
"feature_cvterms", |
119
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeatureCvterm", |
120
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
121
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
122
|
|
|
|
|
|
|
); |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
126
|
|
|
|
|
|
|
"feature_cvterm_pubs", |
127
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeatureCvtermPub", |
128
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
129
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
130
|
|
|
|
|
|
|
); |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
134
|
|
|
|
|
|
|
"feature_expressions", |
135
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Expression::FeatureExpression", |
136
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
137
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
138
|
|
|
|
|
|
|
); |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
142
|
|
|
|
|
|
|
"featureloc_pubs", |
143
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeaturelocPub", |
144
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
145
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
146
|
|
|
|
|
|
|
); |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
150
|
|
|
|
|
|
|
"featuremap_pubs", |
151
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Map::FeaturemapPub", |
152
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
153
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
154
|
|
|
|
|
|
|
); |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
158
|
|
|
|
|
|
|
"featureprop_pubs", |
159
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeaturepropPub", |
160
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
161
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
162
|
|
|
|
|
|
|
); |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
166
|
|
|
|
|
|
|
"feature_pubs", |
167
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeaturePub", |
168
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
169
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
170
|
|
|
|
|
|
|
); |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
174
|
|
|
|
|
|
|
"feature_relationshipprop_pubs", |
175
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeatureRelationshippropPub", |
176
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
177
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
178
|
|
|
|
|
|
|
); |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
182
|
|
|
|
|
|
|
"feature_relationship_pubs", |
183
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeatureRelationshipPub", |
184
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
185
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
186
|
|
|
|
|
|
|
); |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
190
|
|
|
|
|
|
|
"feature_synonyms", |
191
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeatureSynonym", |
192
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
193
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
194
|
|
|
|
|
|
|
); |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
198
|
|
|
|
|
|
|
"library_cvterms", |
199
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Library::LibraryCvterm", |
200
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
201
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
202
|
|
|
|
|
|
|
); |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
206
|
|
|
|
|
|
|
"libraryprop_pubs", |
207
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Library::LibrarypropPub", |
208
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
209
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
210
|
|
|
|
|
|
|
); |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
214
|
|
|
|
|
|
|
"library_pubs", |
215
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Library::LibraryPub", |
216
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
217
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
218
|
|
|
|
|
|
|
); |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
222
|
|
|
|
|
|
|
"library_synonyms", |
223
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Library::LibrarySynonym", |
224
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
225
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
226
|
|
|
|
|
|
|
); |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
230
|
|
|
|
|
|
|
"nd_experiment_pubs", |
231
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentPub", |
232
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
233
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
234
|
|
|
|
|
|
|
); |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
238
|
|
|
|
|
|
|
"phendescs", |
239
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Genetic::Phendesc", |
240
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
241
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
242
|
|
|
|
|
|
|
); |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
246
|
|
|
|
|
|
|
"phenotype_comparisons", |
247
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Genetic::PhenotypeComparison", |
248
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
249
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
250
|
|
|
|
|
|
|
); |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
254
|
|
|
|
|
|
|
"phenotype_comparison_cvterms", |
255
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Genetic::PhenotypeComparisonCvterm", |
256
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
257
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
258
|
|
|
|
|
|
|
); |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
262
|
|
|
|
|
|
|
"phenstatements", |
263
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Genetic::Phenstatement", |
264
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
265
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
266
|
|
|
|
|
|
|
); |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
270
|
|
|
|
|
|
|
"phylonode_pubs", |
271
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Phylogeny::PhylonodePub", |
272
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
273
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
274
|
|
|
|
|
|
|
); |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
278
|
|
|
|
|
|
|
"phylotree_pubs", |
279
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Phylogeny::PhylotreePub", |
280
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
281
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
282
|
|
|
|
|
|
|
); |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
286
|
|
|
|
|
|
|
"project_pubs", |
287
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Project::ProjectPub", |
288
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
289
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
290
|
|
|
|
|
|
|
); |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
294
|
|
|
|
|
|
|
"protocols", |
295
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Protocol", |
296
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
297
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
298
|
|
|
|
|
|
|
); |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
302
|
|
|
|
|
|
|
"type", |
303
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Cv::Cvterm", |
304
|
|
|
|
|
|
|
{ cvterm_id => "type_id" }, |
305
|
|
|
|
|
|
|
{ |
306
|
|
|
|
|
|
|
cascade_copy => 0, |
307
|
|
|
|
|
|
|
cascade_delete => 0, |
308
|
|
|
|
|
|
|
is_deferrable => 1, |
309
|
|
|
|
|
|
|
on_delete => "CASCADE", |
310
|
|
|
|
|
|
|
on_update => "CASCADE", |
311
|
|
|
|
|
|
|
}, |
312
|
|
|
|
|
|
|
); |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
316
|
|
|
|
|
|
|
"pubauthors", |
317
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Pub::Pubauthor", |
318
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
319
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
320
|
|
|
|
|
|
|
); |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
324
|
|
|
|
|
|
|
"pub_dbxrefs", |
325
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Pub::PubDbxref", |
326
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
327
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
328
|
|
|
|
|
|
|
); |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
332
|
|
|
|
|
|
|
"pubprops", |
333
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Pub::Pubprop", |
334
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
335
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
336
|
|
|
|
|
|
|
); |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
340
|
|
|
|
|
|
|
"pub_relationship_objects", |
341
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Pub::PubRelationship", |
342
|
|
|
|
|
|
|
{ "foreign.object_id" => "self.pub_id" }, |
343
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
344
|
|
|
|
|
|
|
); |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
348
|
|
|
|
|
|
|
"pub_relationship_subjects", |
349
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Pub::PubRelationship", |
350
|
|
|
|
|
|
|
{ "foreign.subject_id" => "self.pub_id" }, |
351
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
352
|
|
|
|
|
|
|
); |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
356
|
|
|
|
|
|
|
"stock_cvterms", |
357
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockCvterm", |
358
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
359
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
360
|
|
|
|
|
|
|
); |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
364
|
|
|
|
|
|
|
"stockprop_pubs", |
365
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockpropPub", |
366
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
367
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
368
|
|
|
|
|
|
|
); |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
372
|
|
|
|
|
|
|
"stock_pubs", |
373
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockPub", |
374
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
375
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
376
|
|
|
|
|
|
|
); |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
380
|
|
|
|
|
|
|
"stock_relationship_cvterms", |
381
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockRelationshipCvterm", |
382
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
383
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
384
|
|
|
|
|
|
|
); |
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
388
|
|
|
|
|
|
|
"stock_relationship_pubs", |
389
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockRelationshipPub", |
390
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
391
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
392
|
|
|
|
|
|
|
); |
393
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
396
|
|
|
|
|
|
|
"studies", |
397
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Study", |
398
|
|
|
|
|
|
|
{ "foreign.pub_id" => "self.pub_id" }, |
399
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
400
|
|
|
|
|
|
|
); |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56 |
404
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uhp5cphKIeJXfkyTo9X3FQ |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
sub create_pubprops { |
408
|
0
|
|
|
0
|
1
|
|
my ($self, $props, $opts) = @_; |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
# process opts |
411
|
|
|
|
|
|
|
$opts->{cv_name} = 'pub_property' |
412
|
0
|
0
|
|
|
|
|
unless defined $opts->{cv_name}; |
413
|
0
|
|
|
|
|
|
return Bio::Chado::Schema::Util->create_properties |
414
|
|
|
|
|
|
|
( properties => $props, |
415
|
|
|
|
|
|
|
options => $opts, |
416
|
|
|
|
|
|
|
row => $self, |
417
|
|
|
|
|
|
|
prop_relation_name => 'pubprops', |
418
|
|
|
|
|
|
|
); |
419
|
|
|
|
|
|
|
} |
420
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
422
|
|
|
|
|
|
|
1; |
423
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
__END__ |