File Coverage

blib/lib/Bio/Chado/Schema/Result/Genetic/PhenotypeComparisonCvterm.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::Genetic::PhenotypeComparisonCvterm;
2             BEGIN {
3 6     6   2664 $Bio::Chado::Schema::Result::Genetic::PhenotypeComparisonCvterm::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   100 $Bio::Chado::Schema::Result::Genetic::PhenotypeComparisonCvterm::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   38 use strict;
  6         13  
  6         100  
13 6     6   27 use warnings;
  6         14  
  6         158  
14              
15 6     6   34 use base 'DBIx::Class::Core';
  6         14  
  6         1144  
16              
17              
18              
19             __PACKAGE__->table("phenotype_comparison_cvterm");
20              
21              
22             __PACKAGE__->add_columns(
23             "phenotype_comparison_cvterm_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "phenotype_comparison_cvterm_phenotype_comparison_cvterm_id_seq",
29             },
30             "phenotype_comparison_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "cvterm_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             "pub_id",
35             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
36             "rank",
37             { data_type => "integer", default_value => 0, is_nullable => 0 },
38             );
39             __PACKAGE__->set_primary_key("phenotype_comparison_cvterm_id");
40             __PACKAGE__->add_unique_constraint(
41             "phenotype_comparison_cvterm_c1",
42             ["phenotype_comparison_id", "cvterm_id"],
43             );
44              
45              
46             __PACKAGE__->belongs_to(
47             "phenotype_comparison",
48             "Bio::Chado::Schema::Result::Genetic::PhenotypeComparison",
49             { "phenotype_comparison_id" => "phenotype_comparison_id" },
50             {
51             cascade_copy => 0,
52             cascade_delete => 0,
53             is_deferrable => 1,
54             on_delete => "CASCADE",
55             on_update => "CASCADE",
56             },
57             );
58              
59              
60             __PACKAGE__->belongs_to(
61             "pub",
62             "Bio::Chado::Schema::Result::Pub::Pub",
63             { pub_id => "pub_id" },
64             {
65             cascade_copy => 0,
66             cascade_delete => 0,
67             is_deferrable => 1,
68             on_delete => "CASCADE",
69             on_update => "CASCADE",
70             },
71             );
72              
73              
74             __PACKAGE__->belongs_to(
75             "cvterm",
76             "Bio::Chado::Schema::Result::Cv::Cvterm",
77             { cvterm_id => "cvterm_id" },
78             {
79             cascade_copy => 0,
80             cascade_delete => 0,
81             is_deferrable => 1,
82             on_delete => "CASCADE",
83             on_update => "CASCADE",
84             },
85             );
86              
87              
88             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
89             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0r9j2WljLJfmuirPZpS+XA
90              
91              
92             # You can replace this text with custom content, and it will be preserved on regeneration
93             1;
94              
95             __END__