File Coverage

blib/lib/Bio/Chado/Schema/Result/Map/Featurepos.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::Map::Featurepos;
2             BEGIN {
3 6     6   2520 $Bio::Chado::Schema::Result::Map::Featurepos::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   98 $Bio::Chado::Schema::Result::Map::Featurepos::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   37 use strict;
  6         13  
  6         97  
13 6     6   28 use warnings;
  6         14  
  6         126  
14              
15 6     6   26 use base 'DBIx::Class::Core';
  6         14  
  6         1030  
16              
17              
18              
19             __PACKAGE__->table("featurepos");
20              
21              
22             __PACKAGE__->add_columns(
23             "featurepos_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "featurepos_featurepos_id_seq",
29             },
30             "featuremap_id",
31             {
32             data_type => "integer",
33             is_auto_increment => 1,
34             is_foreign_key => 1,
35             is_nullable => 0,
36             sequence => "featurepos_featuremap_id_seq",
37             },
38             "feature_id",
39             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
40             "map_feature_id",
41             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
42             "mappos",
43             { data_type => "double precision", is_nullable => 0 },
44             );
45             __PACKAGE__->set_primary_key("featurepos_id");
46              
47              
48             __PACKAGE__->belongs_to(
49             "feature",
50             "Bio::Chado::Schema::Result::Sequence::Feature",
51             { feature_id => "feature_id" },
52             {
53             cascade_copy => 0,
54             cascade_delete => 0,
55             is_deferrable => 1,
56             on_delete => "CASCADE",
57             on_update => "CASCADE",
58             },
59             );
60              
61              
62             __PACKAGE__->belongs_to(
63             "map_feature",
64             "Bio::Chado::Schema::Result::Sequence::Feature",
65             { feature_id => "map_feature_id" },
66             {
67             cascade_copy => 0,
68             cascade_delete => 0,
69             is_deferrable => 1,
70             on_delete => "CASCADE",
71             on_update => "CASCADE",
72             },
73             );
74              
75              
76             __PACKAGE__->belongs_to(
77             "featuremap",
78             "Bio::Chado::Schema::Result::Map::Featuremap",
79             { featuremap_id => "featuremap_id" },
80             {
81             cascade_copy => 0,
82             cascade_delete => 0,
83             is_deferrable => 1,
84             on_delete => "CASCADE",
85             on_update => "CASCADE",
86             },
87             );
88              
89              
90             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
91             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3/lR2HPHQ8lZKGkuvjjDLQ
92              
93              
94             # You can replace this text with custom content, and it will be preserved on regeneration
95             1;
96              
97             __END__