File Coverage

blib/lib/Bio/Chado/Schema/Result/NaturalDiversity/NdExperimentProtocol.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::NaturalDiversity::NdExperimentProtocol;
2             BEGIN {
3 6     6   2578 $Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentProtocol::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   99 $Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentProtocol::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   36 use strict;
  6         15  
  6         98  
13 6     6   27 use warnings;
  6         12  
  6         144  
14              
15 6     6   26 use base 'DBIx::Class::Core';
  6         14  
  6         830  
16              
17              
18              
19             __PACKAGE__->table("nd_experiment_protocol");
20              
21              
22             __PACKAGE__->add_columns(
23             "nd_experiment_protocol_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "nd_experiment_protocol_nd_experiment_protocol_id_seq",
29             },
30             "nd_experiment_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "nd_protocol_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             );
35             __PACKAGE__->set_primary_key("nd_experiment_protocol_id");
36              
37              
38             __PACKAGE__->belongs_to(
39             "nd_protocol",
40             "Bio::Chado::Schema::Result::NaturalDiversity::NdProtocol",
41             { nd_protocol_id => "nd_protocol_id" },
42             {
43             cascade_copy => 0,
44             cascade_delete => 0,
45             is_deferrable => 1,
46             on_delete => "CASCADE",
47             on_update => "CASCADE",
48             },
49             );
50              
51              
52             __PACKAGE__->belongs_to(
53             "nd_experiment",
54             "Bio::Chado::Schema::Result::NaturalDiversity::NdExperiment",
55             { nd_experiment_id => "nd_experiment_id" },
56             {
57             cascade_copy => 0,
58             cascade_delete => 0,
59             is_deferrable => 1,
60             on_delete => "CASCADE",
61             on_update => "CASCADE",
62             },
63             );
64              
65              
66             # Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56
67             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DD8N/5HS4qognJEkAjT73g
68              
69              
70             # You can replace this text with custom content, and it will be preserved on regeneration
71             1;
72              
73             __END__