Debian Codegraph @

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

raw symbols SCIP
1 package Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationshipscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagentRelationship/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagentRelationship/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::NaturalDiversity::NdReagentRelationship::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdReagentRelationship/$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::NdReagentRelationship
21
22 =head1 DESCRIPTION
23
24 Relationships between reagents. Some reagents form a group. i.e., they are used all together or not at all. Examples are adapter/linker/enzyme experiment reagents.
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("nd_reagent_relationship");
29
30 =head1 ACCESSORS
31
32 =head2 nd_reagent_relationship_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'nd_reagent_relationship_nd_reagent_relationship_id_seq'
38
39 =head2 subject_reagent_id
40
41 data_type: 'integer'
42 is_foreign_key: 1
43 is_nullable: 0
44
45 The subject reagent in the relationship. In parent/child terminology, the subject is the child. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.
46
47 =head2 object_reagent_id
48
49 data_type: 'integer'
50 is_foreign_key: 1
51 is_nullable: 0
52
53 The object reagent in the relationship. In parent/child terminology, the object is the parent. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.
54
55 =head2 type_id
56
57 data_type: 'integer'
58 is_foreign_key: 1
59 is_nullable: 0
60
61 The type (or predicate) of the relationship. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.
62
63 =cut
64
65 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
66 "nd_reagent_relationship_id",
67 {
68 data_type => "integer",
69 is_auto_increment => 1,
70 is_nullable => 0,
71 sequence => "nd_reagent_relationship_nd_reagent_relationship_id_seq",
72 },
73 "subject_reagent_id",
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
75 "object_reagent_id",
76 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
77 "type_id",
78 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
79 );
80 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("nd_reagent_relationship_id");
81
82 =head1 RELATIONS
83
84 =head2 type
85
86 Type: belongs_to
87
88 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
89
90 =cut
91
92 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
93 "type",
94 "Bio::Chado::Schema::Result::Cv::Cvterm",
95 { cvterm_id => "type_id" },
96 {
97 cascade_copy => 0,
98 cascade_delete => 0,
99 is_deferrable => 1,
100 on_delete => "CASCADE",
101 on_update => "CASCADE",
102 },
103 );
104
105 =head2 subject_reagent
106
107 Type: belongs_to
108
109 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdReagent>
110
111 =cut
112
113 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
114 "subject_reagent",
115 "Bio::Chado::Schema::Result::NaturalDiversity::NdReagent",
116 { nd_reagent_id => "subject_reagent_id" },
117 {
118 cascade_copy => 0,
119 cascade_delete => 0,
120 is_deferrable => 1,
121 on_delete => "CASCADE",
122 on_update => "CASCADE",
123 },
124 );
125
126 =head2 object_reagent
127
128 Type: belongs_to
129
130 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdReagent>
131
132 =cut
133
134 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
135 "object_reagent",
136 "Bio::Chado::Schema::Result::NaturalDiversity::NdReagent",
137 { nd_reagent_id => "object_reagent_id" },
138 {
139 cascade_copy => 0,
140 cascade_delete => 0,
141 is_deferrable => 1,
142 on_delete => "CASCADE",
143 on_update => "CASCADE",
144 },
145 );
146
147
148 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
149 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I+jy84SjM8ko34ZISwtW2Q
150
151
152 # You can replace this text with custom content, and it will be preserved on regeneration
153 1;