Debian Codegraph @

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

raw symbols SCIP
1 package Bio::Chado::Schema::Result::NaturalDiversity::NdProtocolpropscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdProtocolprop/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::NaturalDiversity::NdProtocolprop::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdProtocolprop/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::NaturalDiversity::NdProtocolprop::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/NaturalDiversity/NdProtocolprop/$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::NdProtocolprop - Property/value associations for protocol.
21
22 =cut
23
24 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("nd_protocolprop");
25
26 =head1 ACCESSORS
27
28 =head2 nd_protocolprop_id
29
30 data_type: 'integer'
31 is_auto_increment: 1
32 is_nullable: 0
33 sequence: 'nd_protocolprop_nd_protocolprop_id_seq'
34
35 =head2 nd_protocol_id
36
37 data_type: 'integer'
38 is_foreign_key: 1
39 is_nullable: 0
40
41 The protocol to which the property applies.
42
43 =head2 type_id
44
45 data_type: 'integer'
46 is_foreign_key: 1
47 is_nullable: 0
48
49 The name of the property as a reference to a controlled vocabulary term.
50
51 =head2 value
52
53 data_type: 'text'
54 is_nullable: 1
55
56 The value of the property.
57
58 =head2 rank
59
60 data_type: 'integer'
61 default_value: 0
62 is_nullable: 0
63
64 The rank of the property value, if the property has an array of values.
65
66 =cut
67
68 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
69 "nd_protocolprop_id",
70 {
71 data_type => "integer",
72 is_auto_increment => 1,
73 is_nullable => 0,
74 sequence => "nd_protocolprop_nd_protocolprop_id_seq",
75 },
76 "nd_protocol_id",
77 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
78 "type_id",
79 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
80 "value",
81 { data_type => "text", is_nullable => 1 },
82 "rank",
83 { data_type => "integer", default_value => 0, is_nullable => 0 },
84 );
85 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("nd_protocolprop_id");
86 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("nd_protocolprop_c1", ["nd_protocol_id", "type_id", "rank"]);
87
88 =head1 RELATIONS
89
90 =head2 nd_protocol
91
92 Type: belongs_to
93
94 Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdProtocol>
95
96 =cut
97
98 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
99 "nd_protocol",
100 "Bio::Chado::Schema::Result::NaturalDiversity::NdProtocol",
101 { nd_protocol_id => "nd_protocol_id" },
102 {
103 cascade_copy => 0,
104 cascade_delete => 0,
105 is_deferrable => 1,
106 on_delete => "CASCADE",
107 on_update => "CASCADE",
108 },
109 );
110
111 =head2 type
112
113 Type: belongs_to
114
115 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
116
117 =cut
118
119 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
120 "type",
121 "Bio::Chado::Schema::Result::Cv::Cvterm",
122 { cvterm_id => "type_id" },
123 {
124 cascade_copy => 0,
125 cascade_delete => 0,
126 is_deferrable => 1,
127 on_delete => "CASCADE",
128 on_update => "CASCADE",
129 },
130 );
131
132
133 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-09-22 08:45:24
134 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Y2ptHXBsPiEcHfrNrGUCTA
135
136
137 # You can replace this text with custom content, and it will be preserved on regeneration
138 1;