1
package Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStockprop;
3
$Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStockprop::AUTHORITY = 'cpan:RBUELS';
6
$Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStockprop::VERSION = '0.09040';
9
# Created by DBIx::Class::Schema::Loader
10
# DO NOT MODIFY THE FIRST PART OF THIS FILE
15
use base 'DBIx::Class::Core';
20
Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStockprop
24
Property/value associations for experiment_stocks. This table can store the properties such as treatment
28
__PACKAGE__->table("nd_experiment_stockprop");
32
=head2 nd_experiment_stockprop_id
37
sequence: 'nd_experiment_stockprop_nd_experiment_stockprop_id_seq'
39
=head2 nd_experiment_stock_id
45
The experiment_stock to which the property applies.
53
The name of the property as a reference to a controlled vocabulary term.
60
The value of the property.
68
The rank of the property value, if the property has an array of values.
72
__PACKAGE__->add_columns(
73
"nd_experiment_stockprop_id",
75
data_type => "integer",
76
is_auto_increment => 1,
78
sequence => "nd_experiment_stockprop_nd_experiment_stockprop_id_seq",
80
"nd_experiment_stock_id",
81
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
83
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
85
{ data_type => "text", is_nullable => 1 },
87
{ data_type => "integer", default_value => 0, is_nullable => 0 },
89
__PACKAGE__->set_primary_key("nd_experiment_stockprop_id");
90
__PACKAGE__->add_unique_constraint(
91
"nd_experiment_stockprop_c1",
92
["nd_experiment_stock_id", "type_id", "rank"],
101
Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
105
__PACKAGE__->belongs_to(
107
"Bio::Chado::Schema::Result::Cv::Cvterm",
108
{ cvterm_id => "type_id" },
113
on_delete => "CASCADE",
114
on_update => "CASCADE",
118
=head2 nd_experiment_stock
122
Related object: L<Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStock>
126
__PACKAGE__->belongs_to(
127
"nd_experiment_stock",
128
"Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStock",
129
{ nd_experiment_stock_id => "nd_experiment_stock_id" },
134
on_delete => "CASCADE",
135
on_update => "CASCADE",
140
# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-09-22 08:45:24
141
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eN9VG/OU31AabGa+MWvv5w
144
# You can replace this text with custom content, and it will be preserved on regeneration