From: <rv...@us...> - 2010-11-15 15:39:05
|
Revision: 759 http://treebase.svn.sourceforge.net/treebase/?rev=759&view=rev Author: rvos Date: 2010-11-15 15:38:56 +0000 (Mon, 15 Nov 2010) Log Message: ----------- Adding DBIx::Class/Bio::Phylo adaptor classes Added Paths: ----------- trunk/treebase-core/src/main/perl/lib/Bio/ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Algorithm.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysis.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysisstep.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analyzeddata.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancestralstate.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancstateset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Chargroup.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ChargroupColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charpartition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharsetColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweight.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharweightColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweightset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citation.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationAuthor.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationEditor.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citationstatus.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CoderecordColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Codonchar1Colrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Codonchar2Colrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Codonchar3Colrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CodonnoncodingColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Codonpositionset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Columnrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CompoundElement.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ContancstateValue.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Cstreenode.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Discretecharstate.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Distancematrixelement.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Gapmode.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Geneticcode.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Geneticcoderecord.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Geneticcodeset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Help.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Itemdefinition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Itemvalue.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/LeftchangesetCharstate.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrix.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/MatrixItemdefinition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrixcolumn.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/MatrixcolumnItemdefinition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrixdatatype.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrixelement.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrixkind.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Matrixrow.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Nodeattribute.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Person.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Phylochar.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Phylotree.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Phylotreenode.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Polytcount.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/RightchangesetCharstate.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Rowsegment.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Software.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Statechangeset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Stateformat.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Statemodifier.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Stateset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Stepmatrixelement.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Study.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/StudyNexusfile.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Studystatus.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/SubMatrix.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/SubTaxonlabel.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/SubTreeblock.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Submission.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxon.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonauthority.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlabel.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlabelgroup.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/TaxonlabelgroupTaxonlabel.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlabelpartition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlabelset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/TaxonlabelsetTaxonlabel.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlink.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/TaxonsetTaxon.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonvariant.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treeattribute.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treeblock.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treegroup.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/TreegroupPhylotree.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treekind.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treenodeedge.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treepartition.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treequality.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treeset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/TreesetPhylotree.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Treetype.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Typeset.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/User.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Userrole.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Usertype.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Usertyperecord.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/UsertyperrdColrange.pm trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE.pm Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Algorithm.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Algorithm.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Algorithm.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,188 @@ +package Bio::Phylo::TreeBASE::Result::Algorithm; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Algorithm + +=cut + +__PACKAGE__->table("algorithm"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 algorithm_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'algorithm_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 description + + data_type: 'varchar' + is_nullable: 1 + size: 2000 + +=head2 propertyname + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 propertyvalue + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 usertype_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 gapmode_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 polytcount_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "algorithm_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "algorithm_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "description", + { data_type => "varchar", is_nullable => 1, size => 2000 }, + "propertyname", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "propertyvalue", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "usertype_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "gapmode_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "polytcount_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("algorithm_id"); + +=head1 RELATIONS + +=head2 gapmode + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Gapmode> + +=cut + +__PACKAGE__->belongs_to( + "gapmode", + "Bio::Phylo::TreeBASE::Result::Gapmode", + { gapmode_id => "gapmode_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 polytcount + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Polytcount> + +=cut + +__PACKAGE__->belongs_to( + "polytcount", + "Bio::Phylo::TreeBASE::Result::Polytcount", + { polytcount_id => "polytcount_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 usertype + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Usertype> + +=cut + +__PACKAGE__->belongs_to( + "usertype", + "Bio::Phylo::TreeBASE::Result::Usertype", + { usertype_id => "usertype_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 analysissteps + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Analysisstep> + +=cut + +__PACKAGE__->has_many( + "analysissteps", + "Bio::Phylo::TreeBASE::Result::Analysisstep", + { "foreign.algorithm_id" => "self.algorithm_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wxKvAVkFQHMlQu7n/NcF/A + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysis.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysis.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysis.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,130 @@ +package Bio::Phylo::TreeBASE::Result::Analysis; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Analysis + +=cut + +__PACKAGE__->table("analysis"); + +=head1 ACCESSORS + +=head2 analysis_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'analysis_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 name + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 notes + + data_type: 'varchar' + is_nullable: 1 + size: 2000 + +=head2 validated + + data_type: 'boolean' + is_nullable: 1 + +=head2 study_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 analysis_order + + data_type: 'integer' + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "analysis_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "analysis_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "name", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "notes", + { data_type => "varchar", is_nullable => 1, size => 2000 }, + "validated", + { data_type => "boolean", is_nullable => 1 }, + "study_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "analysis_order", + { data_type => "integer", is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("analysis_id"); + +=head1 RELATIONS + +=head2 study + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Study> + +=cut + +__PACKAGE__->belongs_to( + "study", + "Bio::Phylo::TreeBASE::Result::Study", + { study_id => "study_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 analysissteps + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Analysisstep> + +=cut + +__PACKAGE__->has_many( + "analysissteps", + "Bio::Phylo::TreeBASE::Result::Analysisstep", + { "foreign.analysis_id" => "self.analysis_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tZ7CJ1RYuZPag7ntKKRKuA + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysisstep.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysisstep.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analysisstep.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,187 @@ +package Bio::Phylo::TreeBASE::Result::Analysisstep; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Analysisstep + +=cut + +__PACKAGE__->table("analysisstep"); + +=head1 ACCESSORS + +=head2 analysisstep_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'analysisstep_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 commands + + data_type: 'varchar' + is_nullable: 1 + size: 2000 + +=head2 name + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 notes + + data_type: 'varchar' + is_nullable: 1 + size: 2000 + +=head2 algorithm_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 analysis_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 software_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 step_order + + data_type: 'integer' + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "analysisstep_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "analysisstep_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "commands", + { data_type => "varchar", is_nullable => 1, size => 2000 }, + "name", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "notes", + { data_type => "varchar", is_nullable => 1, size => 2000 }, + "algorithm_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "analysis_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "software_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "step_order", + { data_type => "integer", is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("analysisstep_id"); + +=head1 RELATIONS + +=head2 algorithm + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Algorithm> + +=cut + +__PACKAGE__->belongs_to( + "algorithm", + "Bio::Phylo::TreeBASE::Result::Algorithm", + { algorithm_id => "algorithm_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 analysis + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Analysis> + +=cut + +__PACKAGE__->belongs_to( + "analysis", + "Bio::Phylo::TreeBASE::Result::Analysis", + { analysis_id => "analysis_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 software + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Software> + +=cut + +__PACKAGE__->belongs_to( + "software", + "Bio::Phylo::TreeBASE::Result::Software", + { software_id => "software_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 analyzeddatas + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Analyzeddata> + +=cut + +__PACKAGE__->has_many( + "analyzeddatas", + "Bio::Phylo::TreeBASE::Result::Analyzeddata", + { "foreign.analysisstep_id" => "self.analysisstep_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5AheD5cN0TdR+3kkdXGNzA + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analyzeddata.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analyzeddata.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Analyzeddata.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,166 @@ +package Bio::Phylo::TreeBASE::Result::Analyzeddata; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Analyzeddata + +=cut + +__PACKAGE__->table("analyzeddata"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 analyzeddata_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'analyzeddata_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 input + + data_type: 'boolean' + is_nullable: 1 + +=head2 notes + + data_type: 'varchar' + is_nullable: 1 + size: 2000 + +=head2 treelength + + data_type: 'integer' + is_nullable: 1 + +=head2 analysisstep_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 matrix_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 phylotree_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "analyzeddata_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "analyzeddata_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "input", + { data_type => "boolean", is_nullable => 1 }, + "notes", + { data_type => "varchar", is_nullable => 1, size => 2000 }, + "treelength", + { data_type => "integer", is_nullable => 1 }, + "analysisstep_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "matrix_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "phylotree_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("analyzeddata_id"); + +=head1 RELATIONS + +=head2 matrix + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->belongs_to( + "matrix", + "Bio::Phylo::TreeBASE::Result::Matrix", + { matrix_id => "matrix_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 phylotree + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Phylotree> + +=cut + +__PACKAGE__->belongs_to( + "phylotree", + "Bio::Phylo::TreeBASE::Result::Phylotree", + { phylotree_id => "phylotree_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 analysisstep + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Analysisstep> + +=cut + +__PACKAGE__->belongs_to( + "analysisstep", + "Bio::Phylo::TreeBASE::Result::Analysisstep", + { analysisstep_id => "analysisstep_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2JF1Q0rUjUer1dnLfetDRQ + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancestralstate.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancestralstate.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancestralstate.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,167 @@ +package Bio::Phylo::TreeBASE::Result::Ancestralstate; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Ancestralstate + +=cut + +__PACKAGE__->table("ancestralstate"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 ancestralstate_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'ancestralstate_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 ancvalue + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 discretecharstate_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=head2 ancstateset_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "ancestralstate_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "ancestralstate_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "ancvalue", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "discretecharstate_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, + "ancstateset_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("ancestralstate_id"); + +=head1 RELATIONS + +=head2 discretecharstate + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Discretecharstate> + +=cut + +__PACKAGE__->belongs_to( + "discretecharstate", + "Bio::Phylo::TreeBASE::Result::Discretecharstate", + { discretecharstate_id => "discretecharstate_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 ancstateset + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Ancstateset> + +=cut + +__PACKAGE__->belongs_to( + "ancstateset", + "Bio::Phylo::TreeBASE::Result::Ancstateset", + { ancstateset_id => "ancstateset_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 contancstate_values + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::ContancstateValue> + +=cut + +__PACKAGE__->has_many( + "contancstate_values", + "Bio::Phylo::TreeBASE::Result::ContancstateValue", + { "foreign.ancstate_id" => "self.ancestralstate_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 discretecharstates + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Discretecharstate> + +=cut + +__PACKAGE__->has_many( + "discretecharstates", + "Bio::Phylo::TreeBASE::Result::Discretecharstate", + { "foreign.ancestralstate_id" => "self.ancestralstate_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0O8yGH1q0Ln7F26g24sJnA + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancstateset.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancstateset.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Ancstateset.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,123 @@ +package Bio::Phylo::TreeBASE::Result::Ancstateset; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Ancstateset + +=cut + +__PACKAGE__->table("ancstateset"); + +=head1 ACCESSORS + +=head2 ancstateset_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'ancstateset_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 matrix_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "ancstateset_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "ancstateset_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "matrix_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("ancstateset_id"); + +=head1 RELATIONS + +=head2 ancestralstates + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Ancestralstate> + +=cut + +__PACKAGE__->has_many( + "ancestralstates", + "Bio::Phylo::TreeBASE::Result::Ancestralstate", + { "foreign.ancstateset_id" => "self.ancstateset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 matrix + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->belongs_to( + "matrix", + "Bio::Phylo::TreeBASE::Result::Matrix", + { matrix_id => "matrix_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 matrixes + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->has_many( + "matrixes", + "Bio::Phylo::TreeBASE::Result::Matrix", + { "foreign.ancstateset_id" => "self.ancstateset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rsUxLRGfJtShCHIB8eBgeg + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Chargroup.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Chargroup.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Chargroup.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,108 @@ +package Bio::Phylo::TreeBASE::Result::Chargroup; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Chargroup + +=cut + +__PACKAGE__->table("chargroup"); + +=head1 ACCESSORS + +=head2 chargroup_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'chargroup_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 charpartition_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "chargroup_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "chargroup_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "charpartition_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("chargroup_id"); + +=head1 RELATIONS + +=head2 charpartition + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Charpartition> + +=cut + +__PACKAGE__->belongs_to( + "charpartition", + "Bio::Phylo::TreeBASE::Result::Charpartition", + { charpartition_id => "charpartition_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 chargroup_colranges + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::ChargroupColrange> + +=cut + +__PACKAGE__->has_many( + "chargroup_colranges", + "Bio::Phylo::TreeBASE::Result::ChargroupColrange", + { "foreign.chargroup_id" => "self.chargroup_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K4U0nWHRs+OHlRRhkls9Hg + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ChargroupColrange.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ChargroupColrange.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/ChargroupColrange.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,82 @@ +package Bio::Phylo::TreeBASE::Result::ChargroupColrange; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::ChargroupColrange + +=cut + +__PACKAGE__->table("chargroup_colrange"); + +=head1 ACCESSORS + +=head2 chargroup_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 columnrange_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "chargroup_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "columnrange_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, +); +__PACKAGE__->add_unique_constraint("chargroup_colrange_columnrange_id_key", ["columnrange_id"]); + +=head1 RELATIONS + +=head2 columnrange + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Columnrange> + +=cut + +__PACKAGE__->belongs_to( + "columnrange", + "Bio::Phylo::TreeBASE::Result::Columnrange", + { columnrange_id => "columnrange_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 chargroup + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Chargroup> + +=cut + +__PACKAGE__->belongs_to( + "chargroup", + "Bio::Phylo::TreeBASE::Result::Chargroup", + { chargroup_id => "chargroup_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WiSPNuUGqOjPptjMQdNfiQ + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charpartition.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charpartition.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charpartition.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,108 @@ +package Bio::Phylo::TreeBASE::Result::Charpartition; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Charpartition + +=cut + +__PACKAGE__->table("charpartition"); + +=head1 ACCESSORS + +=head2 charpartition_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'charpartition_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 matrix_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "charpartition_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "charpartition_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "matrix_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("charpartition_id"); + +=head1 RELATIONS + +=head2 chargroups + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Chargroup> + +=cut + +__PACKAGE__->has_many( + "chargroups", + "Bio::Phylo::TreeBASE::Result::Chargroup", + { "foreign.charpartition_id" => "self.charpartition_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 matrix + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->belongs_to( + "matrix", + "Bio::Phylo::TreeBASE::Result::Matrix", + { matrix_id => "matrix_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jbtbS33AWrZksTMRUJ11QQ + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charset.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charset.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charset.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,131 @@ +package Bio::Phylo::TreeBASE::Result::Charset; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Charset + +=cut + +__PACKAGE__->table("charset"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 charset_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'charset_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 matrix_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "charset_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "charset_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "matrix_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("charset_id"); + +=head1 RELATIONS + +=head2 matrix + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->belongs_to( + "matrix", + "Bio::Phylo::TreeBASE::Result::Matrix", + { matrix_id => "matrix_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 charset_colranges + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::CharsetColrange> + +=cut + +__PACKAGE__->has_many( + "charset_colranges", + "Bio::Phylo::TreeBASE::Result::CharsetColrange", + { "foreign.charset_id" => "self.charset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 matrixes + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->has_many( + "matrixes", + "Bio::Phylo::TreeBASE::Result::Matrix", + { "foreign.charset_id" => "self.charset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U+TzYIJrXwUMX1B+DljwAQ + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharsetColrange.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharsetColrange.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharsetColrange.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,82 @@ +package Bio::Phylo::TreeBASE::Result::CharsetColrange; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::CharsetColrange + +=cut + +__PACKAGE__->table("charset_colrange"); + +=head1 ACCESSORS + +=head2 charset_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 columnrange_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "charset_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "columnrange_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, +); +__PACKAGE__->add_unique_constraint("charset_colrange_columnrange_id_key", ["columnrange_id"]); + +=head1 RELATIONS + +=head2 columnrange + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Columnrange> + +=cut + +__PACKAGE__->belongs_to( + "columnrange", + "Bio::Phylo::TreeBASE::Result::Columnrange", + { columnrange_id => "columnrange_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 charset + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Charset> + +=cut + +__PACKAGE__->belongs_to( + "charset", + "Bio::Phylo::TreeBASE::Result::Charset", + { charset_id => "charset_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WqXcFABK83Yw6t8mWN5rig + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweight.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweight.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweight.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,122 @@ +package Bio::Phylo::TreeBASE::Result::Charweight; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Charweight + +=cut + +__PACKAGE__->table("charweight"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 charweight_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'charweight_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 weight + + data_type: 'integer' + is_nullable: 1 + +=head2 realweight + + data_type: 'double precision' + is_nullable: 1 + +=head2 charweightset_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "charweight_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "charweight_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "weight", + { data_type => "integer", is_nullable => 1 }, + "realweight", + { data_type => "double precision", is_nullable => 1 }, + "charweightset_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("charweight_id"); + +=head1 RELATIONS + +=head2 charweightset + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Charweightset> + +=cut + +__PACKAGE__->belongs_to( + "charweightset", + "Bio::Phylo::TreeBASE::Result::Charweightset", + { charweightset_id => "charweightset_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 charweight_colranges + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::CharweightColrange> + +=cut + +__PACKAGE__->has_many( + "charweight_colranges", + "Bio::Phylo::TreeBASE::Result::CharweightColrange", + { "foreign.charweight_id" => "self.charweight_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zz3CjIbj/VAUeAqM9EKSQA + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharweightColrange.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharweightColrange.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CharweightColrange.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,82 @@ +package Bio::Phylo::TreeBASE::Result::CharweightColrange; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::CharweightColrange + +=cut + +__PACKAGE__->table("charweight_colrange"); + +=head1 ACCESSORS + +=head2 charweight_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 columnrange_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "charweight_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "columnrange_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, +); +__PACKAGE__->add_unique_constraint("charweight_colrange_columnrange_id_key", ["columnrange_id"]); + +=head1 RELATIONS + +=head2 columnrange + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Columnrange> + +=cut + +__PACKAGE__->belongs_to( + "columnrange", + "Bio::Phylo::TreeBASE::Result::Columnrange", + { columnrange_id => "columnrange_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 charweight + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Charweight> + +=cut + +__PACKAGE__->belongs_to( + "charweight", + "Bio::Phylo::TreeBASE::Result::Charweight", + { charweight_id => "charweight_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r6rX8xb3XGDWbPe4JjCiYw + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweightset.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweightset.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Charweightset.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,123 @@ +package Bio::Phylo::TreeBASE::Result::Charweightset; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Charweightset + +=cut + +__PACKAGE__->table("charweightset"); + +=head1 ACCESSORS + +=head2 charweightset_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'charweightset_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 matrix_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "charweightset_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "charweightset_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "matrix_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("charweightset_id"); + +=head1 RELATIONS + +=head2 charweights + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Charweight> + +=cut + +__PACKAGE__->has_many( + "charweights", + "Bio::Phylo::TreeBASE::Result::Charweight", + { "foreign.charweightset_id" => "self.charweightset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 matrix + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->belongs_to( + "matrix", + "Bio::Phylo::TreeBASE::Result::Matrix", + { matrix_id => "matrix_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 matrixes + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Matrix> + +=cut + +__PACKAGE__->has_many( + "matrixes", + "Bio::Phylo::TreeBASE::Result::Matrix", + { "foreign.charweightset_id" => "self.charweightset_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c7KqMIx7Y0mt/82fXyZv2Q + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citation.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citation.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citation.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,264 @@ +package Bio::Phylo::TreeBASE::Result::Citation; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::Citation + +=cut + +__PACKAGE__->table("citation"); + +=head1 ACCESSORS + +=head2 type + + data_type: 'char' + is_nullable: 0 + size: 1 + +=head2 citation_id + + data_type: 'bigint' + is_auto_increment: 1 + is_nullable: 0 + sequence: 'citation_id_sequence' + +=head2 version + + data_type: 'integer' + is_nullable: 1 + +=head2 pmid + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 url + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 abstract + + data_type: 'varchar' + is_nullable: 1 + size: 10000 + +=head2 doi + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 keywords + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 pages + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 publishyear + + data_type: 'integer' + is_nullable: 1 + +=head2 published + + data_type: 'boolean' + is_nullable: 1 + +=head2 title + + data_type: 'varchar' + is_nullable: 1 + size: 500 + +=head2 issue + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 journal + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 volume + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 isbn + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 booktitle + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 city + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 publisher + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=head2 citationstatus_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 1 + +=cut + +__PACKAGE__->add_columns( + "type", + { data_type => "char", is_nullable => 0, size => 1 }, + "citation_id", + { + data_type => "bigint", + is_auto_increment => 1, + is_nullable => 0, + sequence => "citation_id_sequence", + }, + "version", + { data_type => "integer", is_nullable => 1 }, + "pmid", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "url", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "abstract", + { data_type => "varchar", is_nullable => 1, size => 10000 }, + "doi", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "keywords", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "pages", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "publishyear", + { data_type => "integer", is_nullable => 1 }, + "published", + { data_type => "boolean", is_nullable => 1 }, + "title", + { data_type => "varchar", is_nullable => 1, size => 500 }, + "issue", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "journal", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "volume", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "isbn", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "booktitle", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "city", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "publisher", + { data_type => "varchar", is_nullable => 1, size => 255 }, + "citationstatus_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 }, +); +__PACKAGE__->set_primary_key("citation_id"); + +=head1 RELATIONS + +=head2 citationstatus + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Citationstatus> + +=cut + +__PACKAGE__->belongs_to( + "citationstatus", + "Bio::Phylo::TreeBASE::Result::Citationstatus", + { citationstatus_id => "citationstatus_id" }, + { + is_deferrable => 1, + join_type => "LEFT", + on_delete => "CASCADE", + on_update => "CASCADE", + }, +); + +=head2 citation_authors + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::CitationAuthor> + +=cut + +__PACKAGE__->has_many( + "citation_authors", + "Bio::Phylo::TreeBASE::Result::CitationAuthor", + { "foreign.citation_id" => "self.citation_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 citation_editors + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::CitationEditor> + +=cut + +__PACKAGE__->has_many( + "citation_editors", + "Bio::Phylo::TreeBASE::Result::CitationEditor", + { "foreign.citation_id" => "self.citation_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + +=head2 studies + +Type: has_many + +Related object: L<Bio::Phylo::TreeBASE::Result::Study> + +=cut + +__PACKAGE__->has_many( + "studies", + "Bio::Phylo::TreeBASE::Result::Study", + { "foreign.citation_id" => "self.citation_id" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qDcoG/xxDv4e0sgMznZgWw + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationAuthor.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationAuthor.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationAuthor.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,89 @@ +package Bio::Phylo::TreeBASE::Result::CitationAuthor; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::CitationAuthor + +=cut + +__PACKAGE__->table("citation_author"); + +=head1 ACCESSORS + +=head2 citation_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 authors_person_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 author_order + + data_type: 'integer' + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "citation_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "authors_person_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "author_order", + { data_type => "integer", is_nullable => 0 }, +); +__PACKAGE__->set_primary_key("citation_id", "author_order"); + +=head1 RELATIONS + +=head2 citation + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Citation> + +=cut + +__PACKAGE__->belongs_to( + "citation", + "Bio::Phylo::TreeBASE::Result::Citation", + { citation_id => "citation_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 authors_person + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Person> + +=cut + +__PACKAGE__->belongs_to( + "authors_person", + "Bio::Phylo::TreeBASE::Result::Person", + { person_id => "authors_person_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HFPvlcMUJ/i+CXW41Pqwrg + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationEditor.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationEditor.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/CitationEditor.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1,89 @@ +package Bio::Phylo::TreeBASE::Result::CitationEditor; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + + +=head1 NAME + +Bio::Phylo::TreeBASE::Result::CitationEditor + +=cut + +__PACKAGE__->table("citation_editor"); + +=head1 ACCESSORS + +=head2 citation_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 editors_person_id + + data_type: 'bigint' + is_foreign_key: 1 + is_nullable: 0 + +=head2 editor_order + + data_type: 'integer' + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "citation_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "editors_person_id", + { data_type => "bigint", is_foreign_key => 1, is_nullable => 0 }, + "editor_order", + { data_type => "integer", is_nullable => 0 }, +); +__PACKAGE__->set_primary_key("citation_id", "editor_order"); + +=head1 RELATIONS + +=head2 citation + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Citation> + +=cut + +__PACKAGE__->belongs_to( + "citation", + "Bio::Phylo::TreeBASE::Result::Citation", + { citation_id => "citation_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + +=head2 editors_person + +Type: belongs_to + +Related object: L<Bio::Phylo::TreeBASE::Result::Person> + +=cut + +__PACKAGE__->belongs_to( + "editors_person", + "Bio::Phylo::TreeBASE::Result::Person", + { person_id => "editors_person_id" }, + { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, +); + + +# Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-11-13 19:19:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Ok5pELGYykNKOX9IgEvJQ + + +# You can replace this text with custom content, and it will be preserved on regeneration +1; Added: trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citationstatus.pm =================================================================== --- trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citationstatus.pm (rev 0) +++ trunk/treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Citationstatus.pm 2010-11-15 15:38:56 UTC (rev 759) @@ -0,0 +1... [truncated message content] |