Debian Codegraph @

lib/Bio/Chado/Schema/Result/Stock/Stockcollectionprop.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Stock::Stockcollectionpropscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/Stockcollectionprop/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Stock::Stockcollectionprop::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/Stockcollectionprop/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Stock::Stockcollectionprop::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/Stockcollectionprop/$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::Stock::Stockcollectionprop
21
22 =head1 DESCRIPTION
23
24 The table stockcollectionprop
25 contains the value of the stock collection such as website/email URLs;
26 the value of the stock collection order URLs.
27
28 =cut
29
30 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("stockcollectionprop");
31
32 =head1 ACCESSORS
33
34 =head2 stockcollectionprop_id
35
36 data_type: 'integer'
37 is_auto_increment: 1
38 is_nullable: 0
39 sequence: 'stockcollectionprop_stockcollectionprop_id_seq'
40
41 =head2 stockcollection_id
42
43 data_type: 'integer'
44 is_foreign_key: 1
45 is_nullable: 0
46
47 =head2 type_id
48
49 data_type: 'integer'
50 is_foreign_key: 1
51 is_nullable: 0
52
53 The cv for the type_id is "stockcollection property type".
54
55 =head2 value
56
57 data_type: 'text'
58 is_nullable: 1
59
60 =head2 rank
61
62 data_type: 'integer'
63 default_value: 0
64 is_nullable: 0
65
66 =cut
67
68 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
69 "stockcollectionprop_id",
70 {
71 data_type => "integer",
72 is_auto_increment => 1,
73 is_nullable => 0,
74 sequence => "stockcollectionprop_stockcollectionprop_id_seq",
75 },
76 "stockcollection_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().("stockcollectionprop_id");
86 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().(
87 "stockcollectionprop_c1",
88 ["stockcollection_id", "type_id", "rank"],
89 );
90
91 =head1 RELATIONS
92
93 =head2 stockcollection
94
95 Type: belongs_to
96
97 Related object: L<Bio::Chado::Schema::Result::Stock::Stockcollection>
98
99 =cut
100
101 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
102 "stockcollection",
103 "Bio::Chado::Schema::Result::Stock::Stockcollection",
104 { stockcollection_id => "stockcollection_id" },
105 {
106 cascade_copy => 0,
107 cascade_delete => 0,
108 is_deferrable => 1,
109 on_delete => "CASCADE",
110 on_update => "CASCADE",
111 },
112 );
113
114 =head2 type
115
116 Type: belongs_to
117
118 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
119
120 =cut
121
122 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
123 "type",
124 "Bio::Chado::Schema::Result::Cv::Cvterm",
125 { cvterm_id => "type_id" },
126 {
127 cascade_copy => 0,
128 cascade_delete => 0,
129 is_deferrable => 1,
130 on_delete => "CASCADE",
131 on_update => "CASCADE",
132 },
133 );
134
135
136 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
137 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ee4TAKRvLikp5Jtcm6ZcfA
138
139
140 # You can replace this text with custom content, and it will be preserved on regeneration
141 1;