Bio::Chado::Schema::Result::Genetic::Environment - The environmental component of a phenotype description.


Bio-Chado-Schema documentation Contained in the Bio-Chado-Schema distribution.

Index


Code Index:

NAME

Top

Bio::Chado::Schema::Result::Genetic::Environment

NAME

Top

Bio::Chado::Schema::Result::Genetic::Environment - The environmental component of a phenotype description.

ACCESSORS

Top

environment_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0
  sequence: 'environment_environment_id_seq'

uniquename

  data_type: 'text'
  is_nullable: 0

description

  data_type: 'text'
  is_nullable: 1

RELATIONS

Top

environment_cvterms

Type: has_many

Related object: Bio::Chado::Schema::Result::Genetic::EnvironmentCvterm

phendescs

Type: has_many

Related object: Bio::Chado::Schema::Result::Genetic::Phendesc

phenotype_comparison_environment2s

Type: has_many

Related object: Bio::Chado::Schema::Result::Genetic::PhenotypeComparison

phenotype_comparison_environment1s

Type: has_many

Related object: Bio::Chado::Schema::Result::Genetic::PhenotypeComparison

phenstatements

Type: has_many

Related object: Bio::Chado::Schema::Result::Genetic::Phenstatement

AUTHOR

Top

Robert Buels <rbuels@cpan.org>

COPYRIGHT AND LICENSE

Top


Bio-Chado-Schema documentation Contained in the Bio-Chado-Schema distribution.

package Bio::Chado::Schema::Result::Genetic::Environment;
BEGIN {
  $Bio::Chado::Schema::Result::Genetic::Environment::AUTHORITY = 'cpan:RBUELS';
}
BEGIN {
  $Bio::Chado::Schema::Result::Genetic::Environment::VERSION = '0.08100';
}

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

use strict;
use warnings;

use base 'DBIx::Class::Core';



__PACKAGE__->table("environment");


__PACKAGE__->add_columns(
  "environment_id",
  {
    data_type         => "integer",
    is_auto_increment => 1,
    is_nullable       => 0,
    sequence          => "environment_environment_id_seq",
  },
  "uniquename",
  { data_type => "text", is_nullable => 0 },
  "description",
  { data_type => "text", is_nullable => 1 },
);
__PACKAGE__->set_primary_key("environment_id");
__PACKAGE__->add_unique_constraint("environment_c1", ["uniquename"]);


__PACKAGE__->has_many(
  "environment_cvterms",
  "Bio::Chado::Schema::Result::Genetic::EnvironmentCvterm",
  { "foreign.environment_id" => "self.environment_id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


__PACKAGE__->has_many(
  "phendescs",
  "Bio::Chado::Schema::Result::Genetic::Phendesc",
  { "foreign.environment_id" => "self.environment_id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


__PACKAGE__->has_many(
  "phenotype_comparison_environment2s",
  "Bio::Chado::Schema::Result::Genetic::PhenotypeComparison",
  { "foreign.environment2_id" => "self.environment_id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


__PACKAGE__->has_many(
  "phenotype_comparison_environment1s",
  "Bio::Chado::Schema::Result::Genetic::PhenotypeComparison",
  { "foreign.environment1_id" => "self.environment_id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


__PACKAGE__->has_many(
  "phenstatements",
  "Bio::Chado::Schema::Result::Genetic::Phenstatement",
  { "foreign.environment_id" => "self.environment_id" },
  { cascade_copy => 0, cascade_delete => 0 },
);


# Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:58
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cQ92ZxqRaNYVs+kOW/RmSg


# You can replace this text with custom content, and it will be preserved on regeneration
1;

__END__