File Coverage

blib/lib/Bio/Chado/Schema/Result/Genetic/Environment.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::Environment;
2             BEGIN {
3 6     6   2625 $Bio::Chado::Schema::Result::Genetic::Environment::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   114 $Bio::Chado::Schema::Result::Genetic::Environment::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   50 use strict;
  6         14  
  6         118  
13 6     6   26 use warnings;
  6         11  
  6         131  
14              
15 6     6   28 use base 'DBIx::Class::Core';
  6         13  
  6         1104  
16              
17              
18              
19             __PACKAGE__->table("environment");
20              
21              
22             __PACKAGE__->add_columns(
23             "environment_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "environment_environment_id_seq",
29             },
30             "uniquename",
31             { data_type => "text", is_nullable => 0 },
32             "description",
33             { data_type => "text", is_nullable => 1 },
34             );
35             __PACKAGE__->set_primary_key("environment_id");
36             __PACKAGE__->add_unique_constraint("environment_c1", ["uniquename"]);
37              
38              
39             __PACKAGE__->has_many(
40             "environment_cvterms",
41             "Bio::Chado::Schema::Result::Genetic::EnvironmentCvterm",
42             { "foreign.environment_id" => "self.environment_id" },
43             { cascade_copy => 0, cascade_delete => 0 },
44             );
45              
46              
47             __PACKAGE__->has_many(
48             "phendescs",
49             "Bio::Chado::Schema::Result::Genetic::Phendesc",
50             { "foreign.environment_id" => "self.environment_id" },
51             { cascade_copy => 0, cascade_delete => 0 },
52             );
53              
54              
55             __PACKAGE__->has_many(
56             "phenotype_comparison_environment2s",
57             "Bio::Chado::Schema::Result::Genetic::PhenotypeComparison",
58             { "foreign.environment2_id" => "self.environment_id" },
59             { cascade_copy => 0, cascade_delete => 0 },
60             );
61              
62              
63             __PACKAGE__->has_many(
64             "phenotype_comparison_environment1s",
65             "Bio::Chado::Schema::Result::Genetic::PhenotypeComparison",
66             { "foreign.environment1_id" => "self.environment_id" },
67             { cascade_copy => 0, cascade_delete => 0 },
68             );
69              
70              
71             __PACKAGE__->has_many(
72             "phenstatements",
73             "Bio::Chado::Schema::Result::Genetic::Phenstatement",
74             { "foreign.environment_id" => "self.environment_id" },
75             { cascade_copy => 0, cascade_delete => 0 },
76             );
77              
78              
79             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
80             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HmGhZv7Wdg4gMkPB9cQKzg
81              
82              
83             # You can replace this text with custom content, and it will be preserved on regeneration
84             1;
85              
86             __END__