~ubuntu-branches/ubuntu/trusty/libbio-chado-schema-perl/trusty

« back to all changes in this revision

Viewing changes to lib/Bio/Chado/Schema/Result/Mage/Quantificationprop.pm

  • Committer: Package Import Robot
  • Author(s): Olivier Sallou
  • Date: 2011-11-02 15:20:02 UTC
  • Revision ID: package-import@ubuntu.com-20111102152002-5vye1vtqsyr5kkhl
Tags: upstream-0.09040
ImportĀ upstreamĀ versionĀ 0.09040

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package Bio::Chado::Schema::Result::Mage::Quantificationprop;
 
2
BEGIN {
 
3
  $Bio::Chado::Schema::Result::Mage::Quantificationprop::AUTHORITY = 'cpan:RBUELS';
 
4
}
 
5
BEGIN {
 
6
  $Bio::Chado::Schema::Result::Mage::Quantificationprop::VERSION = '0.09040';
 
7
}
 
8
 
 
9
# Created by DBIx::Class::Schema::Loader
 
10
# DO NOT MODIFY THE FIRST PART OF THIS FILE
 
11
 
 
12
use strict;
 
13
use warnings;
 
14
 
 
15
use base 'DBIx::Class::Core';
 
16
 
 
17
 
 
18
=head1 NAME
 
19
 
 
20
Bio::Chado::Schema::Result::Mage::Quantificationprop
 
21
 
 
22
=head1 DESCRIPTION
 
23
 
 
24
Extra quantification properties that are not accounted for in quantification.
 
25
 
 
26
=cut
 
27
 
 
28
__PACKAGE__->table("quantificationprop");
 
29
 
 
30
=head1 ACCESSORS
 
31
 
 
32
=head2 quantificationprop_id
 
33
 
 
34
  data_type: 'integer'
 
35
  is_auto_increment: 1
 
36
  is_nullable: 0
 
37
  sequence: 'quantificationprop_quantificationprop_id_seq'
 
38
 
 
39
=head2 quantification_id
 
40
 
 
41
  data_type: 'integer'
 
42
  is_foreign_key: 1
 
43
  is_nullable: 0
 
44
 
 
45
=head2 type_id
 
46
 
 
47
  data_type: 'integer'
 
48
  is_foreign_key: 1
 
49
  is_nullable: 0
 
50
 
 
51
=head2 value
 
52
 
 
53
  data_type: 'text'
 
54
  is_nullable: 1
 
55
 
 
56
=head2 rank
 
57
 
 
58
  data_type: 'integer'
 
59
  default_value: 0
 
60
  is_nullable: 0
 
61
 
 
62
=cut
 
63
 
 
64
__PACKAGE__->add_columns(
 
65
  "quantificationprop_id",
 
66
  {
 
67
    data_type         => "integer",
 
68
    is_auto_increment => 1,
 
69
    is_nullable       => 0,
 
70
    sequence          => "quantificationprop_quantificationprop_id_seq",
 
71
  },
 
72
  "quantification_id",
 
73
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
 
74
  "type_id",
 
75
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
 
76
  "value",
 
77
  { data_type => "text", is_nullable => 1 },
 
78
  "rank",
 
79
  { data_type => "integer", default_value => 0, is_nullable => 0 },
 
80
);
 
81
__PACKAGE__->set_primary_key("quantificationprop_id");
 
82
__PACKAGE__->add_unique_constraint(
 
83
  "quantificationprop_c1",
 
84
  ["quantification_id", "type_id", "rank"],
 
85
);
 
86
 
 
87
=head1 RELATIONS
 
88
 
 
89
=head2 type
 
90
 
 
91
Type: belongs_to
 
92
 
 
93
Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
 
94
 
 
95
=cut
 
96
 
 
97
__PACKAGE__->belongs_to(
 
98
  "type",
 
99
  "Bio::Chado::Schema::Result::Cv::Cvterm",
 
100
  { cvterm_id => "type_id" },
 
101
  {
 
102
    cascade_copy   => 0,
 
103
    cascade_delete => 0,
 
104
    is_deferrable  => 1,
 
105
    on_delete      => "CASCADE",
 
106
    on_update      => "CASCADE",
 
107
  },
 
108
);
 
109
 
 
110
=head2 quantification
 
111
 
 
112
Type: belongs_to
 
113
 
 
114
Related object: L<Bio::Chado::Schema::Result::Mage::Quantification>
 
115
 
 
116
=cut
 
117
 
 
118
__PACKAGE__->belongs_to(
 
119
  "quantification",
 
120
  "Bio::Chado::Schema::Result::Mage::Quantification",
 
121
  { quantification_id => "quantification_id" },
 
122
  {
 
123
    cascade_copy   => 0,
 
124
    cascade_delete => 0,
 
125
    is_deferrable  => 1,
 
126
    on_delete      => "CASCADE",
 
127
    on_update      => "CASCADE",
 
128
  },
 
129
);
 
130
 
 
131
 
 
132
# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
 
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:57aFjvRWcKByAMvprHJRVw
 
134
 
 
135
 
 
136
# You can replace this text with custom content, and it will be preserved on regeneration
 
137
1;