Debian Codegraph @

lib/Bio/Chado/Schema/Result/NaturalDiversity/NdReagent.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::NaturalDiversity::NdReagentscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagent/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::NaturalDiversity::NdReagent::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagent/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::NaturalDiversity::NdReagent::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagent/$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::NaturalDiversity::NdReagent
21
22 =head1 DESCRIPTION
23
24 A reagent such as a primer, an enzyme, an adapter oligo, a linker oligo. Reagents are used in genotyping experiments, or in any other kind of experiment.
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("nd_reagent");
29
30 =head1 ACCESSORS
31
32 =head2 nd_reagent_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'nd_reagent_nd_reagent_id_seq'
38
39 =head2 name
40
41 data_type: 'varchar'
42 is_nullable: 0
43 size: 80
44
45 The name of the reagent. The name should be unique for a given type.
46
47 =head2 type_id
48
49 data_type: 'integer'
50 is_foreign_key: 1
51 is_nullable: 0
52
53 The type of the reagent, for example linker oligomer, or forward primer.
54
55 =head2 feature_id
56
57 data_type: 'integer'
58 is_nullable: 1
59
60 If the reagent is a primer, the feature that it corresponds to. More generally, the corresponding feature for any reagent that has a sequence that maps to another sequence.
61
62 =cut
63
64 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
65 "nd_reagent_id",
66 {
67 data_type => "integer",
68 is_auto_increment => 1,
69 is_nullable => 0,
70 sequence => "nd_reagent_nd_reagent_id_seq",
71 },
72 "name",
73 { data_type => "varchar", is_nullable => 0, size => 80 },
74 "type_id",
75 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76 "feature_id",
77 { data_type => "integer", is_nullable => 1 },
78 );
79 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("nd_reagent_id");
80
81 =head1 RELATIONS
82
83 =head2 nd_protocol_reagents
84
85 Type: has_many
86
87 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdProtocolReagent>
88
89 =cut
90
91 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
92 "nd_protocol_reagents",
93 "Bio::Chado::Schema::Result::NaturalDiversity::NdProtocolReagent",
94 { "foreign.reagent_id" => "self.nd_reagent_id" },
95 { cascade_copy => 0, cascade_delete => 0 },
96 );
97
98 =head2 type
99
100 Type: belongs_to
101
102 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
103
104 =cut
105
106 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
107 "type",
108 "Bio::Chado::Schema::Result::Cv::Cvterm",
109 { cvterm_id => "type_id" },
110 {
111 cascade_copy => 0,
112 cascade_delete => 0,
113 is_deferrable => 1,
114 on_delete => "CASCADE",
115 on_update => "CASCADE",
116 },
117 );
118
119 =head2 nd_reagentprops
120
121 Type: has_many
122
123 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdReagentprop>
124
125 =cut
126
127 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
128 "nd_reagentprops",
129 "Bio::Chado::Schema::Result::NaturalDiversity::NdReagentprop",
130 { "foreign.nd_reagent_id" => "self.nd_reagent_id" },
131 { cascade_copy => 0, cascade_delete => 0 },
132 );
133
134 =head2 nd_reagent_relationship_subject_reagents
135
136 Type: has_many
137
138 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship>
139
140 =cut
141
142 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
143 "nd_reagent_relationship_subject_reagents",
144 "Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship",
145 { "foreign.subject_reagent_id" => "self.nd_reagent_id" },
146 { cascade_copy => 0, cascade_delete => 0 },
147 );
148
149 =head2 nd_reagent_relationship_object_reagents
150
151 Type: has_many
152
153 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship>
154
155 =cut
156
157 __PACKAGE__->has_manyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/has_many().(
158 "nd_reagent_relationship_object_reagents",
159 "Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship",
160 { "foreign.object_reagent_id" => "self.nd_reagent_id" },
161 { cascade_copy => 0, cascade_delete => 0 },
162 );
163
164
165 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
166 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PMHkXnl3T1E1JzdmDsWTOw
167
168
169 # You can replace this text with custom content, and it will be preserved on regeneration
170 1;