File Coverage

blib/lib/Bio/Chado/Schema/Result/Mage/Protocolparam.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Bio::Chado::Schema::Result::Mage::Protocolparam;
2             BEGIN {
3 6     6   2806 $Bio::Chado::Schema::Result::Mage::Protocolparam::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   139 $Bio::Chado::Schema::Result::Mage::Protocolparam::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   41 use strict;
  6         13  
  6         119  
13 6     6   28 use warnings;
  6         13  
  6         139  
14              
15 6     6   29 use base 'DBIx::Class::Core';
  6         12  
  6         1130  
16              
17              
18              
19             __PACKAGE__->table("protocolparam");
20              
21              
22             __PACKAGE__->add_columns(
23             "protocolparam_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "protocolparam_protocolparam_id_seq",
29             },
30             "protocol_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "name",
33             { data_type => "text", is_nullable => 0 },
34             "datatype_id",
35             { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
36             "unittype_id",
37             { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
38             "value",
39             { data_type => "text", is_nullable => 1 },
40             "rank",
41             { data_type => "integer", default_value => 0, is_nullable => 0 },
42             );
43             __PACKAGE__->set_primary_key("protocolparam_id");
44              
45              
46             __PACKAGE__->belongs_to(
47             "unittype",
48             "Bio::Chado::Schema::Result::Cv::Cvterm",
49             { cvterm_id => "unittype_id" },
50             {
51             cascade_copy => 0,
52             cascade_delete => 0,
53             is_deferrable => 1,
54             join_type => "LEFT",
55             on_delete => "CASCADE",
56             on_update => "CASCADE",
57             },
58             );
59              
60              
61             __PACKAGE__->belongs_to(
62             "protocol",
63             "Bio::Chado::Schema::Result::Mage::Protocol",
64             { protocol_id => "protocol_id" },
65             {
66             cascade_copy => 0,
67             cascade_delete => 0,
68             is_deferrable => 1,
69             on_delete => "CASCADE",
70             on_update => "CASCADE",
71             },
72             );
73              
74              
75             __PACKAGE__->belongs_to(
76             "datatype",
77             "Bio::Chado::Schema::Result::Cv::Cvterm",
78             { cvterm_id => "datatype_id" },
79             {
80             cascade_copy => 0,
81             cascade_delete => 0,
82             is_deferrable => 1,
83             join_type => "LEFT",
84             on_delete => "CASCADE",
85             on_update => "CASCADE",
86             },
87             );
88              
89              
90             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
91             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xbiUm/m9u0lm1awlqADtpQ
92              
93              
94             # You can replace this text with custom content, and it will be preserved on regeneration
95             1;
96              
97             __END__