File Coverage

blib/lib/Bio/Chado/Schema/Result/CellLine/CellLineCvtermprop.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::CellLine::CellLineCvtermprop;
2             BEGIN {
3 6     6   2702 $Bio::Chado::Schema::Result::CellLine::CellLineCvtermprop::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   103 $Bio::Chado::Schema::Result::CellLine::CellLineCvtermprop::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   51 use strict;
  6         16  
  6         100  
13 6     6   26 use warnings;
  6         19  
  6         128  
14              
15 6     6   29 use base 'DBIx::Class::Core';
  6         13  
  6         1106  
16              
17              
18              
19             __PACKAGE__->table("cell_line_cvtermprop");
20              
21              
22             __PACKAGE__->add_columns(
23             "cell_line_cvtermprop_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "cell_line_cvtermprop_cell_line_cvtermprop_id_seq",
29             },
30             "cell_line_cvterm_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "type_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             "value",
35             { data_type => "text", is_nullable => 1 },
36             "rank",
37             { data_type => "integer", default_value => 0, is_nullable => 0 },
38             );
39             __PACKAGE__->set_primary_key("cell_line_cvtermprop_id");
40             __PACKAGE__->add_unique_constraint(
41             "cell_line_cvtermprop_c1",
42             ["cell_line_cvterm_id", "type_id", "rank"],
43             );
44              
45              
46             __PACKAGE__->belongs_to(
47             "cell_line_cvterm",
48             "Bio::Chado::Schema::Result::CellLine::CellLineCvterm",
49             { cell_line_cvterm_id => "cell_line_cvterm_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             "type",
62             "Bio::Chado::Schema::Result::Cv::Cvterm",
63             { cvterm_id => "type_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             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
75             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:28aSlbpXroRV9VV1cpwm7A
76              
77              
78             # You can replace this text with custom content, and it will be preserved on regeneration
79             1;
80              
81             __END__