File Coverage

blib/lib/Bio/Chado/Schema/Result/Expression/FeatureExpression.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::Expression::FeatureExpression;
2             BEGIN {
3 6     6   2765 $Bio::Chado::Schema::Result::Expression::FeatureExpression::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   108 $Bio::Chado::Schema::Result::Expression::FeatureExpression::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         99  
13 6     6   27 use warnings;
  6         14  
  6         126  
14              
15 6     6   27 use base 'DBIx::Class::Core';
  6         15  
  6         1065  
16              
17              
18              
19             __PACKAGE__->table("feature_expression");
20              
21              
22             __PACKAGE__->add_columns(
23             "feature_expression_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "feature_expression_feature_expression_id_seq",
29             },
30             "expression_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "feature_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             );
37             __PACKAGE__->set_primary_key("feature_expression_id");
38             __PACKAGE__->add_unique_constraint(
39             "feature_expression_c1",
40             ["expression_id", "feature_id", "pub_id"],
41             );
42              
43              
44             __PACKAGE__->belongs_to(
45             "pub",
46             "Bio::Chado::Schema::Result::Pub::Pub",
47             { pub_id => "pub_id" },
48             {
49             cascade_copy => 0,
50             cascade_delete => 0,
51             is_deferrable => 1,
52             on_delete => "CASCADE",
53             on_update => "CASCADE",
54             },
55             );
56              
57              
58             __PACKAGE__->belongs_to(
59             "feature",
60             "Bio::Chado::Schema::Result::Sequence::Feature",
61             { feature_id => "feature_id" },
62             {
63             cascade_copy => 0,
64             cascade_delete => 0,
65             is_deferrable => 1,
66             on_delete => "CASCADE",
67             on_update => "CASCADE",
68             },
69             );
70              
71              
72             __PACKAGE__->belongs_to(
73             "expression",
74             "Bio::Chado::Schema::Result::Expression::Expression",
75             { expression_id => "expression_id" },
76             {
77             cascade_copy => 0,
78             cascade_delete => 0,
79             is_deferrable => 1,
80             on_delete => "CASCADE",
81             on_update => "CASCADE",
82             },
83             );
84              
85              
86             __PACKAGE__->has_many(
87             "feature_expressionprops",
88             "Bio::Chado::Schema::Result::Expression::FeatureExpressionprop",
89             { "foreign.feature_expression_id" => "self.feature_expression_id" },
90             { cascade_copy => 0, cascade_delete => 0 },
91             );
92              
93              
94             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
95             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:00BrIk/RgyPYIhH9+0Skaw
96              
97              
98             # You can replace this text with custom content, and it will be preserved on regeneration
99             1;
100              
101             __END__