File Coverage

blib/lib/Bio/Chado/Schema/Result/Companalysis/Analysisfeature.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::Companalysis::Analysisfeature;
2             BEGIN {
3 6     6   2643 $Bio::Chado::Schema::Result::Companalysis::Analysisfeature::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   101 $Bio::Chado::Schema::Result::Companalysis::Analysisfeature::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   35 use strict;
  6         14  
  6         100  
13 6     6   25 use warnings;
  6         14  
  6         124  
14              
15 6     6   25 use base 'DBIx::Class::Core';
  6         13  
  6         1092  
16              
17              
18              
19             __PACKAGE__->table("analysisfeature");
20              
21              
22             __PACKAGE__->add_columns(
23             "analysisfeature_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "analysisfeature_analysisfeature_id_seq",
29             },
30             "feature_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "analysis_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             "rawscore",
35             { data_type => "double precision", is_nullable => 1 },
36             "normscore",
37             { data_type => "double precision", is_nullable => 1 },
38             "significance",
39             { data_type => "double precision", is_nullable => 1 },
40             "identity",
41             { data_type => "double precision", is_nullable => 1 },
42             );
43             __PACKAGE__->set_primary_key("analysisfeature_id");
44             __PACKAGE__->add_unique_constraint("analysisfeature_c1", ["feature_id", "analysis_id"]);
45              
46              
47             __PACKAGE__->belongs_to(
48             "feature",
49             "Bio::Chado::Schema::Result::Sequence::Feature",
50             { feature_id => "feature_id" },
51             {
52             cascade_copy => 0,
53             cascade_delete => 0,
54             is_deferrable => 1,
55             on_delete => "CASCADE",
56             on_update => "CASCADE",
57             },
58             );
59              
60              
61             __PACKAGE__->belongs_to(
62             "analysis",
63             "Bio::Chado::Schema::Result::Companalysis::Analysis",
64             { analysis_id => "analysis_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__->has_many(
76             "analysisfeatureprops",
77             "Bio::Chado::Schema::Result::Companalysis::Analysisfeatureprop",
78             { "foreign.analysisfeature_id" => "self.analysisfeature_id" },
79             { cascade_copy => 0, cascade_delete => 0 },
80             );
81              
82              
83             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
84             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NFqlF+RwRLHn4yncFqD75w
85              
86              
87             # You can replace this text with custom content, and it will be preserved on regeneration
88             1;
89              
90             __END__