4 # Created by SQL::Translator::Producer::TTSchema
5 # Template used: dbi.tt2
9 no warnings
'redefine';
10 use base
qw(Class::DBI::Pg);
12 # This is how you normally connect with Class DBI's connection pooling but
13 # its very fragile for me on FC2. I'm replacing it with the db_Main method below
14 #Chado::DBI->set_db('Main', 'dbi:Pg:dbname=fake_chado_db_name;host=fake_chado_db_host;port=fake_chado_db_port', 'fake_chado_db_username', 'fake_chado_db_password');
16 my $db_options = { __PACKAGE__
->_default_attributes };
17 __PACKAGE__
->_remember_handle('Main'); # so dbi_commit works
18 $db_options->{AutoCommit
} = 0;
22 $dbh = DBI
->connect_cached( 'dbi:Pg:dbname=fake_chado_db_name;host=fake_chado_db_host;port=fake_chado_db_port', 'fake_chado_db_username', 'fake_chado_db_password', $db_options );
23 # clear the connection cache if can't ping
24 if ($dbh->ping() < 1) {
25 my $CachedKids_hashref = $dbh->{Driver
}->{CachedKids
};
26 %$CachedKids_hashref = () if $CachedKids_hashref;
27 $dbh = DBI
->connect_cached( 'dbi:Pg:dbname=fake_chado_db_name;host=fake_chado_db_host;port=fake_chado_db_port', 'fake_chado_db_username', 'fake_chado_db_password', $db_options );
28 warn("Database handle reset!: ".$dbh." ping: ".$dbh->ping());
33 sub search_ilike
{ shift->_do_search(ILIKE
=> @_ ) }
38 foreach my $k (keys %q){
39 $t{"lower($k)"} = lc($q{$k});
41 $c->_do_search(LIKE
=> %t);
48 my %arg = %{shift @_};
51 $Data::Dumper
::Maxdepth
= $arg{'depth'} if defined $arg{'depth'};
52 $Data::Dumper
::Indent
= $arg{'indent'} if defined $arg{'indent'};
53 return(Dumper
($arg{'object'}));
58 # NOT PART OF THE API, but useful function which returns a single row
59 # and throws an error if more than one is returned
61 # Added as a utility function for modware
64 my ($proto, @args) = @_;
65 my $class = ref $proto || $proto;
67 my @rows = $class->search( @args );
70 die "only one row expected, @rows returned" if @rows > 1;
79 ########Chado::Expression_Pub########
81 package Chado
::Expression_Pub
;
82 use base
'Chado::DBI';
83 use Class
::DBI
::Pager
;
84 no warnings
qw(redefine);
86 Chado
::Expression_Pub
->set_up_table('expression_pub');
89 # Primary key accessors
92 sub id
{ shift->expression_pub_id }
93 sub expression_pub
{ shift->expression_pub_id }
102 Chado
::Expression_Pub
->has_a(expression_id
=> 'Chado::Expression');
104 sub Chado
::Expression_Pub
::expression
{ return shift->expression_id }
107 Chado
::Expression_Pub
->has_a(pub_id
=> 'Chado::Pub');
109 sub Chado
::Expression_Pub
::pub
{ return shift->pub_id }
120 # one to many to many
124 #many to many to many
130 ########Chado::Assay########
132 package Chado
::Assay
;
133 use base
'Chado::DBI';
134 use Class
::DBI
::Pager
;
135 no warnings
qw(redefine);
137 Chado
::Assay
->set_up_table('assay');
140 # Primary key accessors
143 sub id
{ shift->assay_id }
144 sub assay
{ shift->assay_id }
153 Chado
::Assay
->has_a(arraydesign_id
=> 'Chado::Arraydesign');
155 sub Chado
::Assay
::arraydesign
{ return shift->arraydesign_id }
158 Chado
::Assay
->has_a(protocol_id
=> 'Chado::Protocol');
160 sub Chado
::Assay
::protocol
{ return shift->protocol_id }
163 Chado
::Assay
->has_a(operator_id
=> 'Chado::Contact');
165 sub Chado
::Assay
::contact
{ return shift->operator_id }
168 Chado
::Assay
->has_a(dbxref_id
=> 'Chado::Dbxref');
170 sub Chado
::Assay
::dbxref
{ return shift->dbxref_id }
184 Chado
::Assay
->has_many('study_assay_assay_id', 'Chado::Study_Assay' => 'assay_id');
186 Chado
::Assay
->has_many('acquisition_assay_id', 'Chado::Acquisition' => 'assay_id');
189 sub acquisitions
{ return shift->acquisition_assay_id }
191 Chado
::Assay
->has_many('assay_biomaterial_assay_id', 'Chado::Assay_Biomaterial' => 'assay_id');
194 sub assay_biomaterials
{ return shift->assay_biomaterial_assay_id }
196 Chado
::Assay
->has_many('studyfactorvalue_assay_id', 'Chado::Studyfactorvalue' => 'assay_id');
199 sub studyfactorvalues
{ return shift->studyfactorvalue_assay_id }
201 Chado
::Assay
->has_many('assay_project_assay_id', 'Chado::Assay_Project' => 'assay_id');
203 Chado
::Assay
->has_many('assayprop_assay_id', 'Chado::Assayprop' => 'assay_id');
206 sub assayprops
{ return shift->assayprop_assay_id }
208 Chado
::Assay
->has_many('control_assay_id', 'Chado::Control' => 'assay_id');
211 sub controls
{ return shift->control_assay_id }
217 # Has Compound Many (many to many relationships in all their flavors)
222 sub study_assay_assays
{ return shift->study_assay_assay_id }
226 sub assay_project_assays
{ return shift->assay_project_assay_id }
233 sub studys
{ my $self = shift; return map $_->study_id, $self->study_assay_assay_id }
237 sub projects
{ my $self = shift; return map $_->project_id, $self->assay_project_assay_id }
239 # one to many to many
247 #many to many to many
255 ########Chado::Db########
258 use base
'Chado::DBI';
259 use Class
::DBI
::Pager
;
260 no warnings
qw(redefine);
262 Chado
::Db
->set_up_table('db');
265 # Primary key accessors
268 sub id
{ shift->db_id }
269 sub db
{ shift->db_id }
283 Chado
::Db
->has_many('dbxref_db_id', 'Chado::Dbxref' => 'db_id');
286 sub dbxrefs
{ return shift->dbxref_db_id }
292 # one to many to many
296 #many to many to many
302 ########Chado::Study_Assay########
304 package Chado
::Study_Assay
;
305 use base
'Chado::DBI';
306 use Class
::DBI
::Pager
;
307 no warnings
qw(redefine);
309 Chado
::Study_Assay
->set_up_table('study_assay');
312 # Primary key accessors
315 sub id
{ shift->study_assay_id }
316 sub study_assay
{ shift->study_assay_id }
325 Chado
::Study_Assay
->has_a(study_id
=> 'Chado::Study');
327 sub Chado
::Study_Assay
::study { return shift->study_id }
330 Chado
::Study_Assay
->has_a(assay_id
=> 'Chado::Assay');
332 sub Chado
::Study_Assay
::assay
{ return shift->assay_id }
343 # one to many to many
347 #many to many to many
353 ########Chado::Feature_Dbxref########
355 package Chado
::Feature_Dbxref
;
356 use base
'Chado::DBI';
357 use Class
::DBI
::Pager
;
358 no warnings
qw(redefine);
360 Chado
::Feature_Dbxref
->set_up_table('feature_dbxref');
363 # Primary key accessors
366 sub id
{ shift->feature_dbxref_id }
367 sub feature_dbxref
{ shift->feature_dbxref_id }
376 Chado
::Feature_Dbxref
->has_a(feature_id
=> 'Chado::Feature');
378 sub Chado
::Feature_Dbxref
::feature
{ return shift->feature_id }
381 Chado
::Feature_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
383 sub Chado
::Feature_Dbxref
::dbxref
{ return shift->dbxref_id }
394 # one to many to many
398 #many to many to many
404 ########Chado::Studyfactor########
406 package Chado
::Studyfactor
;
407 use base
'Chado::DBI';
408 use Class
::DBI
::Pager
;
409 no warnings
qw(redefine);
411 Chado
::Studyfactor
->set_up_table('studyfactor');
414 # Primary key accessors
417 sub id
{ shift->studyfactor_id }
418 sub studyfactor
{ shift->studyfactor_id }
427 Chado
::Studyfactor
->has_a(studydesign_id
=> 'Chado::Studydesign');
429 sub Chado
::Studyfactor
::studydesign
{ return shift->studydesign_id }
432 Chado
::Studyfactor
->has_a(type_id
=> 'Chado::Cvterm');
434 sub Chado
::Studyfactor
::cvterm
{ return shift->type_id }
442 Chado
::Studyfactor
->has_many('studyfactorvalue_studyfactor_id', 'Chado::Studyfactorvalue' => 'studyfactor_id');
445 sub studyfactorvalues
{ return shift->studyfactorvalue_studyfactor_id }
451 # one to many to many
455 #many to many to many
461 ########Chado::Quantification########
463 package Chado
::Quantification
;
464 use base
'Chado::DBI';
465 use Class
::DBI
::Pager
;
466 no warnings
qw(redefine);
468 Chado
::Quantification
->set_up_table('quantification');
471 # Primary key accessors
474 sub id
{ shift->quantification_id }
475 sub quantification
{ shift->quantification_id }
484 Chado
::Quantification
->has_a(acquisition_id
=> 'Chado::Acquisition');
486 sub Chado
::Quantification
::acquisition
{ return shift->acquisition_id }
489 Chado
::Quantification
->has_a(operator_id
=> 'Chado::Contact');
491 sub Chado
::Quantification
::contact
{ return shift->operator_id }
494 Chado
::Quantification
->has_a(protocol_id
=> 'Chado::Protocol');
496 sub Chado
::Quantification
::protocol
{ return shift->protocol_id }
499 Chado
::Quantification
->has_a(analysis_id
=> 'Chado::Analysis');
501 sub Chado
::Quantification
::analysis
{ return shift->analysis_id }
512 Chado
::Quantification
->has_many('quantification_relationship_subject_id', 'Chado::Quantification_Relationship' => 'subject_id');
514 Chado
::Quantification
->has_many('quantification_relationship_object_id', 'Chado::Quantification_Relationship' => 'object_id');
516 Chado
::Quantification
->has_many('elementresult_quantification_id', 'Chado::Elementresult' => 'quantification_id');
519 sub elementresults
{ return shift->elementresult_quantification_id }
521 Chado
::Quantification
->has_many('quantificationprop_quantification_id', 'Chado::Quantificationprop' => 'quantification_id');
524 sub quantificationprops
{ return shift->quantificationprop_quantification_id }
530 # Has Compound Many (many to many relationships in all their flavors)
534 sub quantification_relationship_subjects
{ return shift->quantification_relationship_subject_id }
538 sub quantification_relationship_objects
{ return shift->quantification_relationship_object_id }
543 # one to many to many
552 sub quantification_relationship_subject_types
{ my $self = shift; return map $_->type_id, $self->quantification_relationship_subject_id }
555 sub quantification_relationship_object_types
{ my $self = shift; return map $_->type_id, $self->quantification_relationship_object_id }
558 #many to many to many
565 ########Chado::Mageml########
567 package Chado
::Mageml
;
568 use base
'Chado::DBI';
569 use Class
::DBI
::Pager
;
570 no warnings
qw(redefine);
572 Chado
::Mageml
->set_up_table('mageml');
575 # Primary key accessors
578 sub id
{ shift->mageml_id }
579 sub mageml
{ shift->mageml_id }
593 Chado
::Mageml
->has_many('magedocumentation_mageml_id', 'Chado::Magedocumentation' => 'mageml_id');
596 sub magedocumentations
{ return shift->magedocumentation_mageml_id }
602 # one to many to many
606 #many to many to many
612 ########Chado::Organism_Dbxref########
614 package Chado
::Organism_Dbxref
;
615 use base
'Chado::DBI';
616 use Class
::DBI
::Pager
;
617 no warnings
qw(redefine);
619 Chado
::Organism_Dbxref
->set_up_table('organism_dbxref');
622 # Primary key accessors
625 sub id
{ shift->organism_dbxref_id }
626 sub organism_dbxref
{ shift->organism_dbxref_id }
635 Chado
::Organism_Dbxref
->has_a(organism_id
=> 'Chado::Organism');
637 sub Chado
::Organism_Dbxref
::organism
{ return shift->organism_id }
640 Chado
::Organism_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
642 sub Chado
::Organism_Dbxref
::dbxref
{ return shift->dbxref_id }
653 # one to many to many
657 #many to many to many
663 ########Chado::Feature_Expression########
665 package Chado
::Feature_Expression
;
666 use base
'Chado::DBI';
667 use Class
::DBI
::Pager
;
668 no warnings
qw(redefine);
670 Chado
::Feature_Expression
->set_up_table('feature_expression');
673 # Primary key accessors
676 sub id
{ shift->feature_expression_id }
677 sub feature_expression
{ shift->feature_expression_id }
686 Chado
::Feature_Expression
->has_a(expression_id
=> 'Chado::Expression');
688 sub Chado
::Feature_Expression
::expression
{ return shift->expression_id }
691 Chado
::Feature_Expression
->has_a(feature_id
=> 'Chado::Feature');
693 sub Chado
::Feature_Expression
::feature
{ return shift->feature_id }
696 Chado
::Feature_Expression
->has_a(pub_id
=> 'Chado::Pub');
698 sub Chado
::Feature_Expression
::pub
{ return shift->pub_id }
706 Chado
::Feature_Expression
->has_many('feature_expressionprop_feature_expression_id', 'Chado::Feature_Expressionprop' => 'feature_expression_id');
709 sub feature_expressionprops
{ return shift->feature_expressionprop_feature_expression_id }
715 # one to many to many
719 #many to many to many
725 ########Chado::Feature_Cvterm########
727 package Chado
::Feature_Cvterm
;
728 use base
'Chado::DBI';
729 use Class
::DBI
::Pager
;
730 no warnings
qw(redefine);
732 Chado
::Feature_Cvterm
->set_up_table('feature_cvterm');
735 # Primary key accessors
738 sub id
{ shift->feature_cvterm_id }
739 sub feature_cvterm
{ shift->feature_cvterm_id }
748 Chado
::Feature_Cvterm
->has_a(feature_id
=> 'Chado::Feature');
750 sub Chado
::Feature_Cvterm
::feature
{ return shift->feature_id }
753 Chado
::Feature_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
755 sub Chado
::Feature_Cvterm
::cvterm
{ return shift->cvterm_id }
758 Chado
::Feature_Cvterm
->has_a(pub_id
=> 'Chado::Pub');
760 sub Chado
::Feature_Cvterm
::pub
{ return shift->pub_id }
770 Chado
::Feature_Cvterm
->has_many('feature_cvterm_dbxref_feature_cvterm_id', 'Chado::Feature_Cvterm_Dbxref' => 'feature_cvterm_id');
772 Chado
::Feature_Cvterm
->has_many('feature_cvtermprop_feature_cvterm_id', 'Chado::Feature_Cvtermprop' => 'feature_cvterm_id');
775 sub feature_cvtermprops
{ return shift->feature_cvtermprop_feature_cvterm_id }
777 Chado
::Feature_Cvterm
->has_many('feature_cvterm_pub_feature_cvterm_id', 'Chado::Feature_Cvterm_Pub' => 'feature_cvterm_id');
783 # Has Compound Many (many to many relationships in all their flavors)
787 sub feature_cvterm_dbxref_feature_cvterms
{ return shift->feature_cvterm_dbxref_feature_cvterm_id }
792 sub feature_cvterm_pub_feature_cvterms
{ return shift->feature_cvterm_pub_feature_cvterm_id }
799 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->feature_cvterm_dbxref_feature_cvterm_id }
803 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_cvterm_pub_feature_cvterm_id }
805 # one to many to many
813 #many to many to many
821 ########Chado::Arraydesign########
823 package Chado
::Arraydesign
;
824 use base
'Chado::DBI';
825 use Class
::DBI
::Pager
;
826 no warnings
qw(redefine);
828 Chado
::Arraydesign
->set_up_table('arraydesign');
831 # Primary key accessors
834 sub id
{ shift->arraydesign_id }
835 sub arraydesign
{ shift->arraydesign_id }
845 Chado
::Arraydesign
->has_a(manufacturer_id
=> 'Chado::Contact');
847 sub Chado
::Arraydesign
::contact
{ return shift->manufacturer_id }
850 Chado
::Arraydesign
->has_a(platformtype_id
=> 'Chado::Cvterm');
852 sub platformtype
{ return shift->platformtype_id }
855 Chado
::Arraydesign
->has_a(substratetype_id
=> 'Chado::Cvterm');
857 sub substratetype
{ return shift->substratetype_id }
860 Chado
::Arraydesign
->has_a(protocol_id
=> 'Chado::Protocol');
862 sub Chado
::Arraydesign
::protocol
{ return shift->protocol_id }
865 Chado
::Arraydesign
->has_a(dbxref_id
=> 'Chado::Dbxref');
867 sub Chado
::Arraydesign
::dbxref
{ return shift->dbxref_id }
876 Chado
::Arraydesign
->has_many('assay_arraydesign_id', 'Chado::Assay' => 'arraydesign_id');
879 sub assays
{ return shift->assay_arraydesign_id }
881 Chado
::Arraydesign
->has_many('element_arraydesign_id', 'Chado::Element' => 'arraydesign_id');
883 Chado
::Arraydesign
->has_many('arraydesignprop_arraydesign_id', 'Chado::Arraydesignprop' => 'arraydesign_id');
886 sub arraydesignprops
{ return shift->arraydesignprop_arraydesign_id }
892 # Has Compound Many (many to many relationships in all their flavors)
897 sub element_arraydesigns
{ return shift->element_arraydesign_id }
901 sub element_arraydesigns
{ return shift->element_arraydesign_id }
906 sub element_arraydesigns
{ return shift->element_arraydesign_id }
913 sub features
{ my $self = shift; return map $_->feature_id, $self->element_arraydesign_id }
917 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->element_arraydesign_id }
921 sub cvterms
{ my $self = shift; return map $_->type_id, $self->element_arraydesign_id }
923 # one to many to many
933 #many to many to many
942 ########Chado::Phylonodeprop########
944 package Chado
::Phylonodeprop
;
945 use base
'Chado::DBI';
946 use Class
::DBI
::Pager
;
947 no warnings
qw(redefine);
949 Chado
::Phylonodeprop
->set_up_table('phylonodeprop');
952 # Primary key accessors
955 sub id
{ shift->phylonodeprop_id }
956 sub phylonodeprop
{ shift->phylonodeprop_id }
965 Chado
::Phylonodeprop
->has_a(phylonode_id
=> 'Chado::Phylonode');
967 sub Chado
::Phylonodeprop
::phylonode
{ return shift->phylonode_id }
970 Chado
::Phylonodeprop
->has_a(type_id
=> 'Chado::Cvterm');
972 sub Chado
::Phylonodeprop
::cvterm
{ return shift->type_id }
983 # one to many to many
987 #many to many to many
993 ########Chado::Study########
995 package Chado
::Study
;
996 use base
'Chado::DBI';
997 use Class
::DBI
::Pager
;
998 no warnings
qw(redefine);
1000 Chado
::Study
->set_up_table('study');
1003 # Primary key accessors
1006 sub id
{ shift->study_id }
1007 sub study { shift->study_id }
1017 Chado
::Study
->has_a(contact_id
=> 'Chado::Contact');
1019 sub Chado
::Study
::contact
{ return shift->contact_id }
1022 Chado
::Study
->has_a(pub_id
=> 'Chado::Pub');
1024 sub Chado
::Study
::pub
{ return shift->pub_id }
1027 Chado
::Study
->has_a(dbxref_id
=> 'Chado::Dbxref');
1029 sub Chado
::Study
::dbxref
{ return shift->dbxref_id }
1037 Chado
::Study
->has_many('study_assay_study_id', 'Chado::Study_Assay' => 'study_id');
1039 Chado
::Study
->has_many('studydesign_study_id', 'Chado::Studydesign' => 'study_id');
1042 sub studydesigns
{ return shift->studydesign_study_id }
1048 # Has Compound Many (many to many relationships in all their flavors)
1052 sub study_assay_studys
{ return shift->study_assay_study_id }
1055 # one to many to one
1059 sub assays
{ my $self = shift; return map $_->assay_id, $self->study_assay_study_id }
1061 # one to many to many
1064 #many to many to one
1067 #many to many to many
1074 ########Chado::Stock_Cvterm########
1076 package Chado
::Stock_Cvterm
;
1077 use base
'Chado::DBI';
1078 use Class
::DBI
::Pager
;
1079 no warnings
qw(redefine);
1081 Chado
::Stock_Cvterm
->set_up_table('stock_cvterm');
1084 # Primary key accessors
1087 sub id
{ shift->stock_cvterm_id }
1088 sub stock_cvterm
{ shift->stock_cvterm_id }
1097 Chado
::Stock_Cvterm
->has_a(stock_id
=> 'Chado::Stock');
1099 sub Chado
::Stock_Cvterm
::stock
{ return shift->stock_id }
1102 Chado
::Stock_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
1104 sub Chado
::Stock_Cvterm
::cvterm
{ return shift->cvterm_id }
1107 Chado
::Stock_Cvterm
->has_a(pub_id
=> 'Chado::Pub');
1109 sub Chado
::Stock_Cvterm
::pub
{ return shift->pub_id }
1118 # one to many to one
1120 # one to many to many
1122 #many to many to one
1124 #many to many to many
1130 ########Chado::Biomaterial_Relationship########
1132 package Chado
::Biomaterial_Relationship
;
1133 use base
'Chado::DBI';
1134 use Class
::DBI
::Pager
;
1135 no warnings
qw(redefine);
1137 Chado
::Biomaterial_Relationship
->set_up_table('biomaterial_relationship');
1140 # Primary key accessors
1143 sub id
{ shift->biomaterial_relationship_id }
1144 sub biomaterial_relationship
{ shift->biomaterial_relationship_id }
1153 Chado
::Biomaterial_Relationship
->has_a(subject_id
=> 'Chado::Biomaterial');
1155 sub subject
{ return shift->subject_id }
1158 Chado
::Biomaterial_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
1160 sub Chado
::Biomaterial_Relationship
::cvterm
{ return shift->type_id }
1163 Chado
::Biomaterial_Relationship
->has_a(object_id
=> 'Chado::Biomaterial');
1165 sub object
{ return shift->object_id }
1174 # one to many to one
1176 # one to many to many
1178 #many to many to one
1180 #many to many to many
1186 ########Chado::Expression_Image########
1188 package Chado
::Expression_Image
;
1189 use base
'Chado::DBI';
1190 use Class
::DBI
::Pager
;
1191 no warnings
qw(redefine);
1193 Chado
::Expression_Image
->set_up_table('expression_image');
1196 # Primary key accessors
1199 sub id
{ shift->expression_image_id }
1200 sub expression_image
{ shift->expression_image_id }
1209 Chado
::Expression_Image
->has_a(expression_id
=> 'Chado::Expression');
1211 sub Chado
::Expression_Image
::expression
{ return shift->expression_id }
1214 Chado
::Expression_Image
->has_a(eimage_id
=> 'Chado::Eimage');
1216 sub Chado
::Expression_Image
::eimage
{ return shift->eimage_id }
1225 # one to many to one
1227 # one to many to many
1229 #many to many to one
1231 #many to many to many
1237 ########Chado::Stockprop_Pub########
1239 package Chado
::Stockprop_Pub
;
1240 use base
'Chado::DBI';
1241 use Class
::DBI
::Pager
;
1242 no warnings
qw(redefine);
1244 Chado
::Stockprop_Pub
->set_up_table('stockprop_pub');
1247 # Primary key accessors
1250 sub id
{ shift->stockprop_pub_id }
1251 sub stockprop_pub
{ shift->stockprop_pub_id }
1260 Chado
::Stockprop_Pub
->has_a(stockprop_id
=> 'Chado::Stockprop');
1262 sub Chado
::Stockprop_Pub
::stockprop
{ return shift->stockprop_id }
1265 Chado
::Stockprop_Pub
->has_a(pub_id
=> 'Chado::Pub');
1267 sub Chado
::Stockprop_Pub
::pub
{ return shift->pub_id }
1276 # one to many to one
1278 # one to many to many
1280 #many to many to one
1282 #many to many to many
1288 ########Chado::Cvtermprop########
1290 package Chado
::Cvtermprop
;
1291 use base
'Chado::DBI';
1292 use Class
::DBI
::Pager
;
1293 no warnings
qw(redefine);
1295 Chado
::Cvtermprop
->set_up_table('cvtermprop');
1298 # Primary key accessors
1301 sub id
{ shift->cvtermprop_id }
1302 sub cvtermprop
{ shift->cvtermprop_id }
1311 Chado
::Cvtermprop
->has_a(cvterm_id
=> 'Chado::Cvterm');
1313 sub cvterm
{ return shift->cvterm_id }
1316 Chado
::Cvtermprop
->has_a(type_id
=> 'Chado::Cvterm');
1318 sub type
{ return shift->type_id }
1327 # one to many to one
1329 # one to many to many
1331 #many to many to one
1333 #many to many to many
1339 ########Chado::Feature_Phenotype########
1341 package Chado
::Feature_Phenotype
;
1342 use base
'Chado::DBI';
1343 use Class
::DBI
::Pager
;
1344 no warnings
qw(redefine);
1346 Chado
::Feature_Phenotype
->set_up_table('feature_phenotype');
1349 # Primary key accessors
1352 sub id
{ shift->feature_phenotype_id }
1353 sub feature_phenotype
{ shift->feature_phenotype_id }
1362 Chado
::Feature_Phenotype
->has_a(feature_id
=> 'Chado::Feature');
1364 sub Chado
::Feature_Phenotype
::feature
{ return shift->feature_id }
1367 Chado
::Feature_Phenotype
->has_a(phenotype_id
=> 'Chado::Phenotype');
1369 sub Chado
::Feature_Phenotype
::phenotype
{ return shift->phenotype_id }
1378 # one to many to one
1380 # one to many to many
1382 #many to many to one
1384 #many to many to many
1390 ########Chado::Quantification_Relationship########
1392 package Chado
::Quantification_Relationship
;
1393 use base
'Chado::DBI';
1394 use Class
::DBI
::Pager
;
1395 no warnings
qw(redefine);
1397 Chado
::Quantification_Relationship
->set_up_table('quantification_relationship');
1400 # Primary key accessors
1403 sub id
{ shift->quantification_relationship_id }
1404 sub quantification_relationship
{ shift->quantification_relationship_id }
1413 Chado
::Quantification_Relationship
->has_a(subject_id
=> 'Chado::Quantification');
1415 sub subject
{ return shift->subject_id }
1418 Chado
::Quantification_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
1420 sub Chado
::Quantification_Relationship
::cvterm
{ return shift->type_id }
1423 Chado
::Quantification_Relationship
->has_a(object_id
=> 'Chado::Quantification');
1425 sub object
{ return shift->object_id }
1434 # one to many to one
1436 # one to many to many
1438 #many to many to one
1440 #many to many to many
1446 ########Chado::Element########
1448 package Chado
::Element
;
1449 use base
'Chado::DBI';
1450 use Class
::DBI
::Pager
;
1451 no warnings
qw(redefine);
1453 Chado
::Element
->set_up_table('element');
1456 # Primary key accessors
1459 sub id
{ shift->element_id }
1460 sub element
{ shift->element_id }
1469 Chado
::Element
->has_a(feature_id
=> 'Chado::Feature');
1471 sub Chado
::Element
::feature
{ return shift->feature_id }
1474 Chado
::Element
->has_a(arraydesign_id
=> 'Chado::Arraydesign');
1476 sub Chado
::Element
::arraydesign
{ return shift->arraydesign_id }
1479 Chado
::Element
->has_a(type_id
=> 'Chado::Cvterm');
1481 sub Chado
::Element
::cvterm
{ return shift->type_id }
1484 Chado
::Element
->has_a(dbxref_id
=> 'Chado::Dbxref');
1486 sub Chado
::Element
::dbxref
{ return shift->dbxref_id }
1496 Chado
::Element
->has_many('elementresult_element_id', 'Chado::Elementresult' => 'element_id');
1499 sub elementresults
{ return shift->elementresult_element_id }
1501 Chado
::Element
->has_many('element_relationship_subject_id', 'Chado::Element_Relationship' => 'subject_id');
1504 sub element_relationship_subject_ids
{ my $self = shift; return $self->element_relationship_subject_id(@_) }
1506 Chado
::Element
->has_many('element_relationship_object_id', 'Chado::Element_Relationship' => 'object_id');
1509 sub element_relationship_object_ids
{ my $self = shift; return $self->element_relationship_object_id(@_) }
1513 # one to many to one
1515 # one to many to many
1517 #many to many to one
1519 #many to many to many
1525 ########Chado::Analysis########
1527 package Chado
::Analysis
;
1528 use base
'Chado::DBI';
1529 use Class
::DBI
::Pager
;
1530 no warnings
qw(redefine);
1532 Chado
::Analysis
->set_up_table('analysis');
1535 # Primary key accessors
1538 sub id
{ shift->analysis_id }
1539 sub analysis
{ shift->analysis_id }
1556 Chado
::Analysis
->has_many('quantification_analysis_id', 'Chado::Quantification' => 'analysis_id');
1559 sub quantifications
{ return shift->quantification_analysis_id }
1561 Chado
::Analysis
->has_many('analysisfeature_analysis_id', 'Chado::Analysisfeature' => 'analysis_id');
1564 sub analysisfeatures
{ return shift->analysisfeature_analysis_id }
1566 Chado
::Analysis
->has_many('analysisprop_analysis_id', 'Chado::Analysisprop' => 'analysis_id');
1569 sub analysisprops
{ return shift->analysisprop_analysis_id }
1571 Chado
::Analysis
->has_many('phylotree_analysis_id', 'Chado::Phylotree' => 'analysis_id');
1574 sub phylotrees
{ return shift->phylotree_analysis_id }
1578 # one to many to one
1580 # one to many to many
1582 #many to many to one
1584 #many to many to many
1590 ########Chado::Eimage########
1592 package Chado
::Eimage
;
1593 use base
'Chado::DBI';
1594 use Class
::DBI
::Pager
;
1595 no warnings
qw(redefine);
1597 Chado
::Eimage
->set_up_table('eimage');
1600 # Primary key accessors
1603 sub id
{ shift->eimage_id }
1604 sub eimage
{ shift->eimage_id }
1618 Chado
::Eimage
->has_many('expression_image_eimage_id', 'Chado::Expression_Image' => 'eimage_id');
1624 # Has Compound Many (many to many relationships in all their flavors)
1629 sub expression_image_eimages
{ return shift->expression_image_eimage_id }
1631 # one to many to one
1635 sub expressions
{ my $self = shift; return map $_->expression_id, $self->expression_image_eimage_id }
1637 # one to many to many
1640 #many to many to one
1643 #many to many to many
1650 ########Chado::Phenotype_Comparison_Cvterm########
1652 package Chado
::Phenotype_Comparison_Cvterm
;
1653 use base
'Chado::DBI';
1654 use Class
::DBI
::Pager
;
1655 no warnings
qw(redefine);
1657 Chado
::Phenotype_Comparison_Cvterm
->set_up_table('phenotype_comparison_cvterm');
1660 # Primary key accessors
1663 sub id
{ shift->phenotype_comparison_cvterm_id }
1664 sub phenotype_comparison_cvterm
{ shift->phenotype_comparison_cvterm_id }
1673 Chado
::Phenotype_Comparison_Cvterm
->has_a(phenotype_comparison_id
=> 'Chado::Phenotype_Comparison');
1675 sub Chado
::Phenotype_Comparison_Cvterm
::phenotype_comparison
{ return shift->phenotype_comparison_id }
1678 Chado
::Phenotype_Comparison_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
1680 sub Chado
::Phenotype_Comparison_Cvterm
::cvterm
{ return shift->cvterm_id }
1689 # one to many to one
1691 # one to many to many
1693 #many to many to one
1695 #many to many to many
1701 ########Chado::Arraydesignprop########
1703 package Chado
::Arraydesignprop
;
1704 use base
'Chado::DBI';
1705 use Class
::DBI
::Pager
;
1706 no warnings
qw(redefine);
1708 Chado
::Arraydesignprop
->set_up_table('arraydesignprop');
1711 # Primary key accessors
1714 sub id
{ shift->arraydesignprop_id }
1715 sub arraydesignprop
{ shift->arraydesignprop_id }
1724 Chado
::Arraydesignprop
->has_a(arraydesign_id
=> 'Chado::Arraydesign');
1726 sub Chado
::Arraydesignprop
::arraydesign
{ return shift->arraydesign_id }
1729 Chado
::Arraydesignprop
->has_a(type_id
=> 'Chado::Cvterm');
1731 sub Chado
::Arraydesignprop
::cvterm
{ return shift->type_id }
1740 # one to many to one
1742 # one to many to many
1744 #many to many to one
1746 #many to many to many
1752 ########Chado::Synonym########
1754 package Chado
::Synonym
;
1755 use base
'Chado::DBI';
1756 use Class
::DBI
::Pager
;
1757 no warnings
qw(redefine);
1759 Chado
::Synonym
->set_up_table('synonym');
1762 # Primary key accessors
1765 sub id
{ shift->synonym_id }
1766 sub synonym
{ shift->synonym_id }
1775 Chado
::Synonym
->has_a(type_id
=> 'Chado::Cvterm');
1777 sub Chado
::Synonym
::cvterm
{ return shift->type_id }
1786 Chado
::Synonym
->has_many('feature_synonym_synonym_id', 'Chado::Feature_Synonym' => 'synonym_id');
1789 sub feature_synonyms
{ return shift->feature_synonym_synonym_id }
1791 Chado
::Synonym
->has_many('library_synonym_synonym_id', 'Chado::Library_Synonym' => 'synonym_id');
1794 sub library_synonyms
{ return shift->library_synonym_synonym_id }
1798 # one to many to one
1800 # one to many to many
1802 #many to many to one
1804 #many to many to many
1810 ########Chado::Cvtermpath########
1812 package Chado
::Cvtermpath
;
1813 use base
'Chado::DBI';
1814 use Class
::DBI
::Pager
;
1815 no warnings
qw(redefine);
1817 Chado
::Cvtermpath
->set_up_table('cvtermpath');
1820 # Primary key accessors
1823 sub id
{ shift->cvtermpath_id }
1824 sub cvtermpath
{ shift->cvtermpath_id }
1833 Chado
::Cvtermpath
->has_a(type_id
=> 'Chado::Cvterm');
1835 sub type
{ return shift->type_id }
1838 Chado
::Cvtermpath
->has_a(subject_id
=> 'Chado::Cvterm');
1840 sub subject
{ return shift->subject_id }
1843 Chado
::Cvtermpath
->has_a(object_id
=> 'Chado::Cvterm');
1845 sub object
{ return shift->object_id }
1848 Chado
::Cvtermpath
->has_a(cv_id
=> 'Chado::Cv');
1850 sub Chado
::Cvtermpath
::cv
{ return shift->cv_id }
1859 # one to many to one
1861 # one to many to many
1863 #many to many to one
1865 #many to many to many
1871 ########Chado::Biomaterial_Treatment########
1873 package Chado
::Biomaterial_Treatment
;
1874 use base
'Chado::DBI';
1875 use Class
::DBI
::Pager
;
1876 no warnings
qw(redefine);
1878 Chado
::Biomaterial_Treatment
->set_up_table('biomaterial_treatment');
1881 # Primary key accessors
1884 sub id
{ shift->biomaterial_treatment_id }
1885 sub biomaterial_treatment
{ shift->biomaterial_treatment_id }
1894 Chado
::Biomaterial_Treatment
->has_a(biomaterial_id
=> 'Chado::Biomaterial');
1896 sub Chado
::Biomaterial_Treatment
::biomaterial
{ return shift->biomaterial_id }
1899 Chado
::Biomaterial_Treatment
->has_a(treatment_id
=> 'Chado::Treatment');
1901 sub Chado
::Biomaterial_Treatment
::treatment
{ return shift->treatment_id }
1904 Chado
::Biomaterial_Treatment
->has_a(unittype_id
=> 'Chado::Cvterm');
1906 sub Chado
::Biomaterial_Treatment
::cvterm
{ return shift->unittype_id }
1915 # one to many to one
1917 # one to many to many
1919 #many to many to one
1921 #many to many to many
1927 ########Chado::Expressionprop########
1929 package Chado
::Expressionprop
;
1930 use base
'Chado::DBI';
1931 use Class
::DBI
::Pager
;
1932 no warnings
qw(redefine);
1934 Chado
::Expressionprop
->set_up_table('expressionprop');
1937 # Primary key accessors
1940 sub id
{ shift->expressionprop_id }
1941 sub expressionprop
{ shift->expressionprop_id }
1950 Chado
::Expressionprop
->has_a(expression_id
=> 'Chado::Expression');
1952 sub Chado
::Expressionprop
::expression
{ return shift->expression_id }
1955 Chado
::Expressionprop
->has_a(type_id
=> 'Chado::Cvterm');
1957 sub Chado
::Expressionprop
::cvterm
{ return shift->type_id }
1966 # one to many to one
1968 # one to many to many
1970 #many to many to one
1972 #many to many to many
1978 ########Chado::Cvterm_Relationship########
1980 package Chado
::Cvterm_Relationship
;
1981 use base
'Chado::DBI';
1982 use Class
::DBI
::Pager
;
1983 no warnings
qw(redefine);
1985 Chado
::Cvterm_Relationship
->set_up_table('cvterm_relationship');
1988 # Primary key accessors
1991 sub id
{ shift->cvterm_relationship_id }
1992 sub cvterm_relationship
{ shift->cvterm_relationship_id }
2001 Chado
::Cvterm_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
2003 sub type
{ return shift->type_id }
2006 Chado
::Cvterm_Relationship
->has_a(subject_id
=> 'Chado::Cvterm');
2008 sub subject
{ return shift->subject_id }
2011 Chado
::Cvterm_Relationship
->has_a(object_id
=> 'Chado::Cvterm');
2013 sub object
{ return shift->object_id }
2022 # one to many to one
2024 # one to many to many
2026 #many to many to one
2028 #many to many to many
2034 ########Chado::Phylonode_Pub########
2036 package Chado
::Phylonode_Pub
;
2037 use base
'Chado::DBI';
2038 use Class
::DBI
::Pager
;
2039 no warnings
qw(redefine);
2041 Chado
::Phylonode_Pub
->set_up_table('phylonode_pub');
2044 # Primary key accessors
2047 sub id
{ shift->phylonode_pub_id }
2048 sub phylonode_pub
{ shift->phylonode_pub_id }
2057 Chado
::Phylonode_Pub
->has_a(phylonode_id
=> 'Chado::Phylonode');
2059 sub Chado
::Phylonode_Pub
::phylonode
{ return shift->phylonode_id }
2062 Chado
::Phylonode_Pub
->has_a(pub_id
=> 'Chado::Pub');
2064 sub Chado
::Phylonode_Pub
::pub
{ return shift->pub_id }
2073 # one to many to one
2075 # one to many to many
2077 #many to many to one
2079 #many to many to many
2085 ########Chado::Acquisitionprop########
2087 package Chado
::Acquisitionprop
;
2088 use base
'Chado::DBI';
2089 use Class
::DBI
::Pager
;
2090 no warnings
qw(redefine);
2092 Chado
::Acquisitionprop
->set_up_table('acquisitionprop');
2095 # Primary key accessors
2098 sub id
{ shift->acquisitionprop_id }
2099 sub acquisitionprop
{ shift->acquisitionprop_id }
2108 Chado
::Acquisitionprop
->has_a(acquisition_id
=> 'Chado::Acquisition');
2110 sub Chado
::Acquisitionprop
::acquisition
{ return shift->acquisition_id }
2113 Chado
::Acquisitionprop
->has_a(type_id
=> 'Chado::Cvterm');
2115 sub Chado
::Acquisitionprop
::cvterm
{ return shift->type_id }
2124 # one to many to one
2126 # one to many to many
2128 #many to many to one
2130 #many to many to many
2136 ########Chado::Phylonode_Organism########
2138 package Chado
::Phylonode_Organism
;
2139 use base
'Chado::DBI';
2140 use Class
::DBI
::Pager
;
2141 no warnings
qw(redefine);
2143 Chado
::Phylonode_Organism
->set_up_table('phylonode_organism');
2146 # Primary key accessors
2149 sub id
{ shift->phylonode_organism_id }
2150 sub phylonode_organism
{ shift->phylonode_organism_id }
2159 Chado
::Phylonode_Organism
->has_a(phylonode_id
=> 'Chado::Phylonode');
2161 sub Chado
::Phylonode_Organism
::phylonode
{ return shift->phylonode_id }
2164 Chado
::Phylonode_Organism
->has_a(organism_id
=> 'Chado::Organism');
2166 sub Chado
::Phylonode_Organism
::organism
{ return shift->organism_id }
2175 # one to many to one
2177 # one to many to many
2179 #many to many to one
2181 #many to many to many
2187 ########Chado::Studydesignprop########
2189 package Chado
::Studydesignprop
;
2190 use base
'Chado::DBI';
2191 use Class
::DBI
::Pager
;
2192 no warnings
qw(redefine);
2194 Chado
::Studydesignprop
->set_up_table('studydesignprop');
2197 # Primary key accessors
2200 sub id
{ shift->studydesignprop_id }
2201 sub studydesignprop
{ shift->studydesignprop_id }
2210 Chado
::Studydesignprop
->has_a(studydesign_id
=> 'Chado::Studydesign');
2212 sub Chado
::Studydesignprop
::studydesign
{ return shift->studydesign_id }
2215 Chado
::Studydesignprop
->has_a(type_id
=> 'Chado::Cvterm');
2217 sub Chado
::Studydesignprop
::cvterm
{ return shift->type_id }
2226 # one to many to one
2228 # one to many to many
2230 #many to many to one
2232 #many to many to many
2238 ########Chado::Acquisition########
2240 package Chado
::Acquisition
;
2241 use base
'Chado::DBI';
2242 use Class
::DBI
::Pager
;
2243 no warnings
qw(redefine);
2245 Chado
::Acquisition
->set_up_table('acquisition');
2248 # Primary key accessors
2251 sub id
{ shift->acquisition_id }
2252 sub acquisition
{ shift->acquisition_id }
2263 Chado
::Acquisition
->has_a(assay_id
=> 'Chado::Assay');
2265 sub Chado
::Acquisition
::assay
{ return shift->assay_id }
2268 Chado
::Acquisition
->has_a(protocol_id
=> 'Chado::Protocol');
2270 sub Chado
::Acquisition
::protocol
{ return shift->protocol_id }
2273 Chado
::Acquisition
->has_a(channel_id
=> 'Chado::Channel');
2275 sub Chado
::Acquisition
::channel
{ return shift->channel_id }
2284 Chado
::Acquisition
->has_many('quantification_acquisition_id', 'Chado::Quantification' => 'acquisition_id');
2287 sub quantifications
{ return shift->quantification_acquisition_id }
2289 Chado
::Acquisition
->has_many('acquisitionprop_acquisition_id', 'Chado::Acquisitionprop' => 'acquisition_id');
2292 sub acquisitionprops
{ return shift->acquisitionprop_acquisition_id }
2294 Chado
::Acquisition
->has_many('acquisition_relationship_subject_id', 'Chado::Acquisition_Relationship' => 'subject_id');
2297 sub acquisition_relationship_subject_ids
{ my $self = shift; return $self->acquisition_relationship_subject_id(@_) }
2299 Chado
::Acquisition
->has_many('acquisition_relationship_object_id', 'Chado::Acquisition_Relationship' => 'object_id');
2302 sub acquisition_relationship_object_ids
{ my $self = shift; return $self->acquisition_relationship_object_id(@_) }
2306 # one to many to one
2308 # one to many to many
2310 #many to many to one
2312 #many to many to many
2318 ########Chado::Assay_Biomaterial########
2320 package Chado
::Assay_Biomaterial
;
2321 use base
'Chado::DBI';
2322 use Class
::DBI
::Pager
;
2323 no warnings
qw(redefine);
2325 Chado
::Assay_Biomaterial
->set_up_table('assay_biomaterial');
2328 # Primary key accessors
2331 sub id
{ shift->assay_biomaterial_id }
2332 sub assay_biomaterial
{ shift->assay_biomaterial_id }
2341 Chado
::Assay_Biomaterial
->has_a(assay_id
=> 'Chado::Assay');
2343 sub Chado
::Assay_Biomaterial
::assay
{ return shift->assay_id }
2346 Chado
::Assay_Biomaterial
->has_a(biomaterial_id
=> 'Chado::Biomaterial');
2348 sub Chado
::Assay_Biomaterial
::biomaterial
{ return shift->biomaterial_id }
2351 Chado
::Assay_Biomaterial
->has_a(channel_id
=> 'Chado::Channel');
2353 sub Chado
::Assay_Biomaterial
::channel
{ return shift->channel_id }
2362 # one to many to one
2364 # one to many to many
2366 #many to many to one
2368 #many to many to many
2374 ########Chado::Biomaterial_Dbxref########
2376 package Chado
::Biomaterial_Dbxref
;
2377 use base
'Chado::DBI';
2378 use Class
::DBI
::Pager
;
2379 no warnings
qw(redefine);
2381 Chado
::Biomaterial_Dbxref
->set_up_table('biomaterial_dbxref');
2384 # Primary key accessors
2387 sub id
{ shift->biomaterial_dbxref_id }
2388 sub biomaterial_dbxref
{ shift->biomaterial_dbxref_id }
2397 Chado
::Biomaterial_Dbxref
->has_a(biomaterial_id
=> 'Chado::Biomaterial');
2399 sub Chado
::Biomaterial_Dbxref
::biomaterial
{ return shift->biomaterial_id }
2402 Chado
::Biomaterial_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
2404 sub Chado
::Biomaterial_Dbxref
::dbxref
{ return shift->dbxref_id }
2413 # one to many to one
2415 # one to many to many
2417 #many to many to one
2419 #many to many to many
2425 ########Chado::Channel########
2427 package Chado
::Channel
;
2428 use base
'Chado::DBI';
2429 use Class
::DBI
::Pager
;
2430 no warnings
qw(redefine);
2432 Chado
::Channel
->set_up_table('channel');
2435 # Primary key accessors
2438 sub id
{ shift->channel_id }
2439 sub channel
{ shift->channel_id }
2454 Chado
::Channel
->has_many('acquisition_channel_id', 'Chado::Acquisition' => 'channel_id');
2457 sub acquisitions
{ return shift->acquisition_channel_id }
2459 Chado
::Channel
->has_many('assay_biomaterial_channel_id', 'Chado::Assay_Biomaterial' => 'channel_id');
2462 sub assay_biomaterials
{ return shift->assay_biomaterial_channel_id }
2466 # one to many to one
2468 # one to many to many
2470 #many to many to one
2472 #many to many to many
2478 ########Chado::Genotype########
2480 package Chado
::Genotype
;
2481 use base
'Chado::DBI';
2482 use Class
::DBI
::Pager
;
2483 no warnings
qw(redefine);
2485 Chado
::Genotype
->set_up_table('genotype');
2488 # Primary key accessors
2491 sub id
{ shift->genotype_id }
2492 sub genotype
{ shift->genotype_id }
2511 Chado
::Genotype
->has_many('phenotype_comparison_genotype1_id', 'Chado::Phenotype_Comparison' => 'genotype1_id');
2513 Chado
::Genotype
->has_many('phenotype_comparison_genotype2_id', 'Chado::Phenotype_Comparison' => 'genotype2_id');
2515 Chado
::Genotype
->has_many('stock_genotype_genotype_id', 'Chado::Stock_Genotype' => 'genotype_id');
2517 Chado
::Genotype
->has_many('feature_genotype_genotype_id', 'Chado::Feature_Genotype' => 'genotype_id');
2520 sub feature_genotypes
{ return shift->feature_genotype_genotype_id }
2522 Chado
::Genotype
->has_many('phenstatement_genotype_id', 'Chado::Phenstatement' => 'genotype_id');
2524 Chado
::Genotype
->has_many('phendesc_genotype_id', 'Chado::Phendesc' => 'genotype_id');
2527 sub phendescs
{ return shift->phendesc_genotype_id }
2533 # Has Compound Many (many to many relationships in all their flavors)
2537 sub phenotype_comparison_genotype1s
{ return shift->phenotype_comparison_genotype1_id }
2541 sub phenotype_comparison_genotype2s
{ return shift->phenotype_comparison_genotype2_id }
2546 sub phenotype_comparison_genotype1s
{ return shift->phenotype_comparison_genotype1_id }
2549 sub phenotype_comparison_genotype2s
{ return shift->phenotype_comparison_genotype2_id }
2554 sub phenotype_comparison_genotype1s
{ return shift->phenotype_comparison_genotype1_id }
2557 sub phenotype_comparison_genotype2s
{ return shift->phenotype_comparison_genotype2_id }
2562 sub phenotype_comparison_genotype1s
{ return shift->phenotype_comparison_genotype1_id }
2565 sub phenotype_comparison_genotype2s
{ return shift->phenotype_comparison_genotype2_id }
2572 sub stock_genotype_genotypes
{ return shift->stock_genotype_genotype_id }
2576 sub phenstatement_genotypes
{ return shift->phenstatement_genotype_id }
2581 sub phenstatement_genotypes
{ return shift->phenstatement_genotype_id }
2586 sub phenstatement_genotypes
{ return shift->phenstatement_genotype_id }
2591 sub phenstatement_genotypes
{ return shift->phenstatement_genotype_id }
2594 # one to many to one
2602 sub stocks
{ my $self = shift; return map $_->stock_id, $self->stock_genotype_genotype_id }
2606 sub environments
{ my $self = shift; return map $_->environment_id, $self->phenstatement_genotype_id }
2610 sub cvterms
{ my $self = shift; return map $_->type_id, $self->phenstatement_genotype_id }
2614 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phenstatement_genotype_id }
2618 sub phenotypes
{ my $self = shift; return map $_->phenotype_id, $self->phenstatement_genotype_id }
2620 # one to many to many
2631 #many to many to one
2638 sub phenotype_comparison_genotype1_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_genotype1_id }
2641 sub phenotype_comparison_genotype2_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_genotype2_id }
2648 sub phenotype_comparison_genotype1_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_genotype1_id }
2651 sub phenotype_comparison_genotype2_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_genotype2_id }
2660 #many to many to many
2669 sub phenotype_comparison_genotype1_environment1s
{ my $self = shift; return map $_->phenotype_comparison_environment1s, $self->phenotype_comparison_genotype1s }
2672 sub phenotype_comparison_genotype1_environment2s
{ my $self = shift; return map $_->phenotype_comparison_environment2s, $self->phenotype_comparison_genotype1s }
2679 sub phenotype_comparison_genotype2_environment1s
{ my $self = shift; return map $_->phenotype_comparison_environment1s, $self->phenotype_comparison_genotype2s }
2682 sub phenotype_comparison_genotype2_environment2s
{ my $self = shift; return map $_->phenotype_comparison_environment2s, $self->phenotype_comparison_genotype2s }
2695 sub phenotype_comparison_genotype1_phenotype1s
{ my $self = shift; return map $_->phenotype_comparison_phenotype1s, $self->phenotype_comparison_genotype1s }
2698 sub phenotype_comparison_genotype1_phenotype2s
{ my $self = shift; return map $_->phenotype_comparison_phenotype2s, $self->phenotype_comparison_genotype1s }
2705 sub phenotype_comparison_genotype2_phenotype1s
{ my $self = shift; return map $_->phenotype_comparison_phenotype1s, $self->phenotype_comparison_genotype2s }
2708 sub phenotype_comparison_genotype2_phenotype2s
{ my $self = shift; return map $_->phenotype_comparison_phenotype2s, $self->phenotype_comparison_genotype2s }
2721 ########Chado::Studyfactorvalue########
2723 package Chado
::Studyfactorvalue
;
2724 use base
'Chado::DBI';
2725 use Class
::DBI
::Pager
;
2726 no warnings
qw(redefine);
2728 Chado
::Studyfactorvalue
->set_up_table('studyfactorvalue');
2731 # Primary key accessors
2734 sub id
{ shift->studyfactorvalue_id }
2735 sub studyfactorvalue
{ shift->studyfactorvalue_id }
2744 Chado
::Studyfactorvalue
->has_a(studyfactor_id
=> 'Chado::Studyfactor');
2746 sub Chado
::Studyfactorvalue
::studyfactor
{ return shift->studyfactor_id }
2749 Chado
::Studyfactorvalue
->has_a(assay_id
=> 'Chado::Assay');
2751 sub Chado
::Studyfactorvalue
::assay
{ return shift->assay_id }
2760 # one to many to one
2762 # one to many to many
2764 #many to many to one
2766 #many to many to many
2772 ########Chado::Phylotree_Pub########
2774 package Chado
::Phylotree_Pub
;
2775 use base
'Chado::DBI';
2776 use Class
::DBI
::Pager
;
2777 no warnings
qw(redefine);
2779 Chado
::Phylotree_Pub
->set_up_table('phylotree_pub');
2782 # Primary key accessors
2785 sub id
{ shift->phylotree_pub_id }
2786 sub phylotree_pub
{ shift->phylotree_pub_id }
2795 Chado
::Phylotree_Pub
->has_a(phylotree_id
=> 'Chado::Phylotree');
2797 sub Chado
::Phylotree_Pub
::phylotree
{ return shift->phylotree_id }
2800 Chado
::Phylotree_Pub
->has_a(pub_id
=> 'Chado::Pub');
2802 sub Chado
::Phylotree_Pub
::pub
{ return shift->pub_id }
2811 # one to many to one
2813 # one to many to many
2815 #many to many to one
2817 #many to many to many
2823 ########Chado::Dbxref########
2825 package Chado
::Dbxref
;
2826 use base
'Chado::DBI';
2827 use Class
::DBI
::Pager
;
2828 no warnings
qw(redefine);
2830 Chado
::Dbxref
->set_up_table('dbxref');
2833 # Primary key accessors
2836 sub id
{ shift->dbxref_id }
2837 sub dbxref
{ shift->dbxref_id }
2853 Chado
::Dbxref
->has_a(db_id
=> 'Chado::Db');
2855 sub Chado
::Dbxref
::db
{ return shift->db_id }
2874 Chado
::Dbxref
->has_many('assay_dbxref_id', 'Chado::Assay' => 'dbxref_id');
2877 sub assays
{ return shift->assay_dbxref_id }
2879 Chado
::Dbxref
->has_many('feature_dbxref_dbxref_id', 'Chado::Feature_Dbxref' => 'dbxref_id');
2882 sub feature_dbxrefs
{ return shift->feature_dbxref_dbxref_id }
2884 Chado
::Dbxref
->has_many('organism_dbxref_dbxref_id', 'Chado::Organism_Dbxref' => 'dbxref_id');
2886 Chado
::Dbxref
->has_many('arraydesign_dbxref_id', 'Chado::Arraydesign' => 'dbxref_id');
2888 sub arraydesign_dbxrefs
{ return shift->arraydesign_dbxref_id }
2889 #sub --arraydesign--dbxref_id-- {}
2891 Chado
::Dbxref
->has_many('study_dbxref_id', 'Chado::Study' => 'dbxref_id');
2894 sub studys
{ return shift->study_dbxref_id }
2896 Chado
::Dbxref
->has_many('element_dbxref_id', 'Chado::Element' => 'dbxref_id');
2898 Chado
::Dbxref
->has_many('biomaterial_dbxref_dbxref_id', 'Chado::Biomaterial_Dbxref' => 'dbxref_id');
2900 Chado
::Dbxref
->has_many('dbxrefprop_dbxref_id', 'Chado::Dbxrefprop' => 'dbxref_id');
2903 sub dbxrefprops
{ return shift->dbxrefprop_dbxref_id }
2905 Chado
::Dbxref
->has_many('feature_cvterm_dbxref_dbxref_id', 'Chado::Feature_Cvterm_Dbxref' => 'dbxref_id');
2907 Chado
::Dbxref
->has_many('protocol_dbxref_id', 'Chado::Protocol' => 'dbxref_id');
2910 sub protocols
{ return shift->protocol_dbxref_id }
2912 Chado
::Dbxref
->has_many('feature_dbxref_id', 'Chado::Feature' => 'dbxref_id');
2914 sub feature_dbxrefs
{ return shift->feature_dbxref_id }
2915 #sub --feature--dbxref_id-- {}
2917 Chado
::Dbxref
->has_many('stock_dbxref_dbxref_id', 'Chado::Stock_Dbxref' => 'dbxref_id');
2920 sub stock_dbxrefs
{ return shift->stock_dbxref_dbxref_id }
2922 Chado
::Dbxref
->has_many('cvterm_dbxref_dbxref_id', 'Chado::Cvterm_Dbxref' => 'dbxref_id');
2925 sub cvterm_dbxrefs
{ return shift->cvterm_dbxref_dbxref_id }
2927 Chado
::Dbxref
->has_many('stock_dbxref_id', 'Chado::Stock' => 'dbxref_id');
2930 sub stocks
{ return shift->stock_dbxref_id }
2932 Chado
::Dbxref
->has_many('phylonode_dbxref_dbxref_id', 'Chado::Phylonode_Dbxref' => 'dbxref_id');
2934 Chado
::Dbxref
->has_many('cvterm_dbxref_id', 'Chado::Cvterm' => 'dbxref_id');
2936 sub cvterm_dbxrefs
{ return shift->cvterm_dbxref_id }
2937 #sub --cvterm--dbxref_id-- {}
2939 Chado
::Dbxref
->has_many('biomaterial_dbxref_id', 'Chado::Biomaterial' => 'dbxref_id');
2941 sub biomaterial_dbxrefs
{ return shift->biomaterial_dbxref_id }
2942 #sub --biomaterial--dbxref_id-- {}
2944 Chado
::Dbxref
->has_many('pub_dbxref_dbxref_id', 'Chado::Pub_Dbxref' => 'dbxref_id');
2947 sub pub_dbxrefs
{ return shift->pub_dbxref_dbxref_id }
2949 Chado
::Dbxref
->has_many('phylotree_dbxref_id', 'Chado::Phylotree' => 'dbxref_id');
2952 sub phylotrees
{ return shift->phylotree_dbxref_id }
2958 # Has Compound Many (many to many relationships in all their flavors)
2963 sub element_dbxrefs
{ return shift->element_dbxref_id }
2968 sub element_dbxrefs
{ return shift->element_dbxref_id }
2973 sub element_dbxrefs
{ return shift->element_dbxref_id }
2978 sub biomaterial_dbxref_dbxrefs
{ return shift->biomaterial_dbxref_dbxref_id }
2983 sub phylonode_dbxref_dbxrefs
{ return shift->phylonode_dbxref_dbxref_id }
2988 sub feature_cvterm_dbxref_dbxrefs
{ return shift->feature_cvterm_dbxref_dbxref_id }
2993 sub organism_dbxref_dbxrefs
{ return shift->organism_dbxref_dbxref_id }
2995 # one to many to one
2999 sub arraydesigns
{ my $self = shift; return map $_->arraydesign_id, $self->element_dbxref_id }
3003 sub features
{ my $self = shift; return map $_->feature_id, $self->element_dbxref_id }
3007 sub cvterms
{ my $self = shift; return map $_->type_id, $self->element_dbxref_id }
3011 sub biomaterials
{ my $self = shift; return map $_->biomaterial_id, $self->biomaterial_dbxref_dbxref_id }
3015 sub phylonodes
{ my $self = shift; return map $_->phylonode_id, $self->phylonode_dbxref_dbxref_id }
3019 sub feature_cvterms
{ my $self = shift; return map $_->feature_cvterm_id, $self->feature_cvterm_dbxref_dbxref_id }
3023 sub organisms
{ my $self = shift; return map $_->organism_id, $self->organism_dbxref_dbxref_id }
3025 # one to many to many
3034 #many to many to one
3043 #many to many to many
3056 ########Chado::Assay_Project########
3058 package Chado
::Assay_Project
;
3059 use base
'Chado::DBI';
3060 use Class
::DBI
::Pager
;
3061 no warnings
qw(redefine);
3063 Chado
::Assay_Project
->set_up_table('assay_project');
3066 # Primary key accessors
3069 sub id
{ shift->assay_project_id }
3070 sub assay_project
{ shift->assay_project_id }
3079 Chado
::Assay_Project
->has_a(assay_id
=> 'Chado::Assay');
3081 sub Chado
::Assay_Project
::assay
{ return shift->assay_id }
3084 Chado
::Assay_Project
->has_a(project_id
=> 'Chado::Project');
3086 sub Chado
::Assay_Project
::project
{ return shift->project_id }
3095 # one to many to one
3097 # one to many to many
3099 #many to many to one
3101 #many to many to many
3107 ########Chado::Assayprop########
3109 package Chado
::Assayprop
;
3110 use base
'Chado::DBI';
3111 use Class
::DBI
::Pager
;
3112 no warnings
qw(redefine);
3114 Chado
::Assayprop
->set_up_table('assayprop');
3117 # Primary key accessors
3120 sub id
{ shift->assayprop_id }
3121 sub assayprop
{ shift->assayprop_id }
3130 Chado
::Assayprop
->has_a(assay_id
=> 'Chado::Assay');
3132 sub Chado
::Assayprop
::assay
{ return shift->assay_id }
3135 Chado
::Assayprop
->has_a(type_id
=> 'Chado::Cvterm');
3137 sub Chado
::Assayprop
::cvterm
{ return shift->type_id }
3146 # one to many to one
3148 # one to many to many
3150 #many to many to one
3152 #many to many to many
3158 ########Chado::Environment_Cvterm########
3160 package Chado
::Environment_Cvterm
;
3161 use base
'Chado::DBI';
3162 use Class
::DBI
::Pager
;
3163 no warnings
qw(redefine);
3165 Chado
::Environment_Cvterm
->set_up_table('environment_cvterm');
3168 # Primary key accessors
3171 sub id
{ shift->environment_cvterm_id }
3172 sub environment_cvterm
{ shift->environment_cvterm_id }
3181 Chado
::Environment_Cvterm
->has_a(environment_id
=> 'Chado::Environment');
3183 sub Chado
::Environment_Cvterm
::environment
{ return shift->environment_id }
3186 Chado
::Environment_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
3188 sub Chado
::Environment_Cvterm
::cvterm
{ return shift->cvterm_id }
3197 # one to many to one
3199 # one to many to many
3201 #many to many to one
3203 #many to many to many
3209 ########Chado::Contact_Relationship########
3211 package Chado
::Contact_Relationship
;
3212 use base
'Chado::DBI';
3213 use Class
::DBI
::Pager
;
3214 no warnings
qw(redefine);
3216 Chado
::Contact_Relationship
->set_up_table('contact_relationship');
3219 # Primary key accessors
3222 sub id
{ shift->contact_relationship_id }
3223 sub contact_relationship
{ shift->contact_relationship_id }
3232 Chado
::Contact_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
3234 sub Chado
::Contact_Relationship
::cvterm
{ return shift->type_id }
3237 Chado
::Contact_Relationship
->has_a(subject_id
=> 'Chado::Contact');
3239 sub subject
{ return shift->subject_id }
3242 Chado
::Contact_Relationship
->has_a(object_id
=> 'Chado::Contact');
3244 sub object
{ return shift->object_id }
3253 # one to many to one
3255 # one to many to many
3257 #many to many to one
3259 #many to many to many
3265 ########Chado::Tableinfo########
3267 package Chado
::Tableinfo
;
3268 use base
'Chado::DBI';
3269 use Class
::DBI
::Pager
;
3270 no warnings
qw(redefine);
3272 Chado
::Tableinfo
->set_up_table('tableinfo');
3275 # Primary key accessors
3278 sub id
{ shift->tableinfo_id }
3279 sub tableinfo
{ shift->tableinfo_id }
3294 Chado
::Tableinfo
->has_many('magedocumentation_tableinfo_id', 'Chado::Magedocumentation' => 'tableinfo_id');
3297 sub magedocumentations
{ return shift->magedocumentation_tableinfo_id }
3299 Chado
::Tableinfo
->has_many('control_tableinfo_id', 'Chado::Control' => 'tableinfo_id');
3302 sub controls
{ return shift->control_tableinfo_id }
3306 # one to many to one
3308 # one to many to many
3310 #many to many to one
3312 #many to many to many
3318 ########Chado::Pubauthor########
3320 package Chado
::Pubauthor
;
3321 use base
'Chado::DBI';
3322 use Class
::DBI
::Pager
;
3323 no warnings
qw(redefine);
3325 Chado
::Pubauthor
->set_up_table('pubauthor');
3328 # Primary key accessors
3331 sub id
{ shift->pubauthor_id }
3332 sub pubauthor
{ shift->pubauthor_id }
3341 Chado
::Pubauthor
->has_a(pub_id
=> 'Chado::Pub');
3343 sub Chado
::Pubauthor
::pub
{ return shift->pub_id }
3352 # one to many to one
3354 # one to many to many
3356 #many to many to one
3358 #many to many to many
3364 ########Chado::Pub########
3367 use base
'Chado::DBI';
3368 use Class
::DBI
::Pager
;
3369 no warnings
qw(redefine);
3371 Chado
::Pub
->set_up_table('pub');
3374 # Primary key accessors
3377 sub id
{ shift->pub_id }
3378 sub pub
{ shift->pub_id }
3396 Chado
::Pub
->has_a(type_id
=> 'Chado::Cvterm');
3398 sub Chado
::Pub
::cvterm
{ return shift->type_id }
3426 Chado
::Pub
->has_many('expression_pub_pub_id', 'Chado::Expression_Pub' => 'pub_id');
3428 Chado
::Pub
->has_many('feature_expression_pub_id', 'Chado::Feature_Expression' => 'pub_id');
3430 Chado
::Pub
->has_many('feature_cvterm_pub_id', 'Chado::Feature_Cvterm' => 'pub_id');
3432 sub feature_cvterm_pubs
{ return shift->feature_cvterm_pub_id }
3433 #sub --feature_cvterm--pub_id-- {}
3435 Chado
::Pub
->has_many('study_pub_id', 'Chado::Study' => 'pub_id');
3438 sub studys
{ return shift->study_pub_id }
3440 Chado
::Pub
->has_many('stock_cvterm_pub_id', 'Chado::Stock_Cvterm' => 'pub_id');
3442 Chado
::Pub
->has_many('stockprop_pub_pub_id', 'Chado::Stockprop_Pub' => 'pub_id');
3444 Chado
::Pub
->has_many('phylonode_pub_pub_id', 'Chado::Phylonode_Pub' => 'pub_id');
3446 Chado
::Pub
->has_many('phylotree_pub_pub_id', 'Chado::Phylotree_Pub' => 'pub_id');
3448 Chado
::Pub
->has_many('pubauthor_pub_id', 'Chado::Pubauthor' => 'pub_id');
3451 sub pubauthors
{ return shift->pubauthor_pub_id }
3453 Chado
::Pub
->has_many('feature_pub_pub_id', 'Chado::Feature_Pub' => 'pub_id');
3455 Chado
::Pub
->has_many('phenotype_comparison_pub_id', 'Chado::Phenotype_Comparison' => 'pub_id');
3457 Chado
::Pub
->has_many('protocol_pub_id', 'Chado::Protocol' => 'pub_id');
3460 sub protocols
{ return shift->protocol_pub_id }
3462 Chado
::Pub
->has_many('featureloc_pub_pub_id', 'Chado::Featureloc_Pub' => 'pub_id');
3464 Chado
::Pub
->has_many('library_pub_pub_id', 'Chado::Library_Pub' => 'pub_id');
3466 Chado
::Pub
->has_many('library_cvterm_pub_id', 'Chado::Library_Cvterm' => 'pub_id');
3468 Chado
::Pub
->has_many('stock_relationship_pub_pub_id', 'Chado::Stock_Relationship_Pub' => 'pub_id');
3470 Chado
::Pub
->has_many('feature_relationship_pub_pub_id', 'Chado::Feature_Relationship_Pub' => 'pub_id');
3472 Chado
::Pub
->has_many('pubprop_pub_id', 'Chado::Pubprop' => 'pub_id');
3475 sub pubprops
{ return shift->pubprop_pub_id }
3477 Chado
::Pub
->has_many('feature_cvterm_pub_pub_id', 'Chado::Feature_Cvterm_Pub' => 'pub_id');
3479 Chado
::Pub
->has_many('stock_pub_pub_id', 'Chado::Stock_Pub' => 'pub_id');
3481 Chado
::Pub
->has_many('feature_synonym_pub_id', 'Chado::Feature_Synonym' => 'pub_id');
3484 sub feature_synonyms
{ return shift->feature_synonym_pub_id }
3486 Chado
::Pub
->has_many('featuremap_pub_pub_id', 'Chado::Featuremap_Pub' => 'pub_id');
3488 Chado
::Pub
->has_many('feature_relationshipprop_pub_pub_id', 'Chado::Feature_Relationshipprop_Pub' => 'pub_id');
3490 Chado
::Pub
->has_many('phenstatement_pub_id', 'Chado::Phenstatement' => 'pub_id');
3492 Chado
::Pub
->has_many('pub_dbxref_pub_id', 'Chado::Pub_Dbxref' => 'pub_id');
3495 sub pub_dbxrefs
{ return shift->pub_dbxref_pub_id }
3497 Chado
::Pub
->has_many('phendesc_pub_id', 'Chado::Phendesc' => 'pub_id');
3500 sub phendescs
{ return shift->phendesc_pub_id }
3502 Chado
::Pub
->has_many('featureprop_pub_pub_id', 'Chado::Featureprop_Pub' => 'pub_id');
3504 Chado
::Pub
->has_many('library_synonym_pub_id', 'Chado::Library_Synonym' => 'pub_id');
3507 sub library_synonyms
{ return shift->library_synonym_pub_id }
3509 Chado
::Pub
->has_many('pub_relationship_subject_id', 'Chado::Pub_Relationship' => 'subject_id');
3511 Chado
::Pub
->has_many('pub_relationship_object_id', 'Chado::Pub_Relationship' => 'object_id');
3517 # Has Compound Many (many to many relationships in all their flavors)
3522 sub feature_expression_pubs
{ return shift->feature_expression_pub_id }
3527 sub feature_expression_pubs
{ return shift->feature_expression_pub_id }
3532 sub expression_pub_pubs
{ return shift->expression_pub_pub_id }
3537 sub library_pub_pubs
{ return shift->library_pub_pub_id }
3543 sub phenotype_comparison_pubs
{ return shift->phenotype_comparison_pub_id }
3549 sub phenotype_comparison_pubs
{ return shift->phenotype_comparison_pub_id }
3553 sub phenotype_comparison_pubs
{ return shift->phenotype_comparison_pub_id }
3560 sub phenotype_comparison_pubs
{ return shift->phenotype_comparison_pub_id }
3565 sub stock_relationship_pub_pubs
{ return shift->stock_relationship_pub_pub_id }
3570 sub feature_pub_pubs
{ return shift->feature_pub_pub_id }
3575 sub stock_cvterm_pubs
{ return shift->stock_cvterm_pub_id }
3580 sub stock_cvterm_pubs
{ return shift->stock_cvterm_pub_id }
3585 sub featureprop_pub_pubs
{ return shift->featureprop_pub_pub_id }
3590 sub featureloc_pub_pubs
{ return shift->featureloc_pub_pub_id }
3595 sub phenstatement_pubs
{ return shift->phenstatement_pub_id }
3600 sub phenstatement_pubs
{ return shift->phenstatement_pub_id }
3605 sub phenstatement_pubs
{ return shift->phenstatement_pub_id }
3610 sub phenstatement_pubs
{ return shift->phenstatement_pub_id }
3615 sub phylotree_pub_pubs
{ return shift->phylotree_pub_pub_id }
3620 sub stockprop_pub_pubs
{ return shift->stockprop_pub_pub_id }
3625 sub feature_relationship_pub_pubs
{ return shift->feature_relationship_pub_pub_id }
3630 sub phylonode_pub_pubs
{ return shift->phylonode_pub_pub_id }
3635 sub stock_pub_pubs
{ return shift->stock_pub_pub_id }
3639 sub pub_relationship_subjects
{ return shift->pub_relationship_subject_id }
3642 sub pub_relationship_objects
{ return shift->pub_relationship_object_id }
3648 sub library_cvterm_pubs
{ return shift->library_cvterm_pub_id }
3653 sub library_cvterm_pubs
{ return shift->library_cvterm_pub_id }
3658 sub featuremap_pub_pubs
{ return shift->featuremap_pub_pub_id }
3663 sub feature_relationshipprop_pub_pubs
{ return shift->feature_relationshipprop_pub_pub_id }
3668 sub feature_cvterm_pub_pubs
{ return shift->feature_cvterm_pub_pub_id }
3670 # one to many to one
3674 sub features
{ my $self = shift; return map $_->feature_id, $self->feature_expression_pub_id }
3678 sub expressions
{ my $self = shift; return map $_->expression_id, $self->feature_expression_pub_id }
3682 sub expressions
{ my $self = shift; return map $_->expression_id, $self->expression_pub_pub_id }
3686 sub librarys
{ my $self = shift; return map $_->library_id, $self->library_pub_pub_id }
3692 sub organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_pub_id }
3697 sub stock_relationships
{ my $self = shift; return map $_->stock_relationship_id, $self->stock_relationship_pub_pub_id }
3701 sub features
{ my $self = shift; return map $_->feature_id, $self->feature_pub_pub_id }
3705 sub stocks
{ my $self = shift; return map $_->stock_id, $self->stock_cvterm_pub_id }
3709 sub cvterms
{ my $self = shift; return map $_->cvterm_id, $self->stock_cvterm_pub_id }
3713 sub featureprops
{ my $self = shift; return map $_->featureprop_id, $self->featureprop_pub_pub_id }
3717 sub featurelocs
{ my $self = shift; return map $_->featureloc_id, $self->featureloc_pub_pub_id }
3721 sub genotypes
{ my $self = shift; return map $_->genotype_id, $self->phenstatement_pub_id }
3725 sub environments
{ my $self = shift; return map $_->environment_id, $self->phenstatement_pub_id }
3729 sub cvterms
{ my $self = shift; return map $_->type_id, $self->phenstatement_pub_id }
3733 sub phenotypes
{ my $self = shift; return map $_->phenotype_id, $self->phenstatement_pub_id }
3737 sub phylotrees
{ my $self = shift; return map $_->phylotree_id, $self->phylotree_pub_pub_id }
3741 sub stockprops
{ my $self = shift; return map $_->stockprop_id, $self->stockprop_pub_pub_id }
3745 sub feature_relationships
{ my $self = shift; return map $_->feature_relationship_id, $self->feature_relationship_pub_pub_id }
3749 sub phylonodes
{ my $self = shift; return map $_->phylonode_id, $self->phylonode_pub_pub_id }
3753 sub stocks
{ my $self = shift; return map $_->stock_id, $self->stock_pub_pub_id }
3758 sub cvterms
{ my $self = shift; return map $_->cvterm_id, $self->library_cvterm_pub_id }
3762 sub librarys
{ my $self = shift; return map $_->library_id, $self->library_cvterm_pub_id }
3766 sub featuremaps
{ my $self = shift; return map $_->featuremap_id, $self->featuremap_pub_pub_id }
3770 sub feature_relationshipprops
{ my $self = shift; return map $_->feature_relationshipprop_id, $self->feature_relationshipprop_pub_pub_id }
3774 sub feature_cvterms
{ my $self = shift; return map $_->feature_cvterm_id, $self->feature_cvterm_pub_pub_id }
3776 # one to many to many
3788 sub phenotype_comparison_genotype1s
{ my $self = shift; return map $_->genotype1_id, $self->phenotype_comparison_pub_id }
3798 sub phenotype_comparison_environment1s
{ my $self = shift; return map $_->environment1_id, $self->phenotype_comparison_pub_id }
3809 sub phenotype_comparison_phenotype1s
{ my $self = shift; return map $_->phenotype1_id, $self->phenotype_comparison_pub_id }
3834 #many to many to one
3863 sub pub_relationship_subject_types
{ my $self = shift; return map $_->type_id, $self->pub_relationship_subject_id }
3866 sub pub_relationship_object_types
{ my $self = shift; return map $_->type_id, $self->pub_relationship_object_id }
3874 #many to many to many
3909 ########Chado::Organism########
3911 package Chado
::Organism
;
3912 use base
'Chado::DBI';
3913 use Class
::DBI
::Pager
;
3914 no warnings
qw(redefine);
3916 Chado
::Organism
->set_up_table('organism');
3919 # Primary key accessors
3922 sub id
{ shift->organism_id }
3923 sub organism
{ shift->organism_id }
3944 Chado
::Organism
->has_many('organism_dbxref_organism_id', 'Chado::Organism_Dbxref' => 'organism_id');
3946 Chado
::Organism
->has_many('phylonode_organism_organism_id', 'Chado::Phylonode_Organism' => 'organism_id');
3948 Chado
::Organism
->has_many('organismprop_organism_id', 'Chado::Organismprop' => 'organism_id');
3951 sub organismprops
{ return shift->organismprop_organism_id }
3953 Chado
::Organism
->has_many('phenotype_comparison_organism_id', 'Chado::Phenotype_Comparison' => 'organism_id');
3955 Chado
::Organism
->has_many('feature_organism_id', 'Chado::Feature' => 'organism_id');
3958 sub features
{ return shift->feature_organism_id }
3960 Chado
::Organism
->has_many('stock_organism_id', 'Chado::Stock' => 'organism_id');
3963 sub stocks
{ return shift->stock_organism_id }
3965 Chado
::Organism
->has_many('library_organism_id', 'Chado::Library' => 'organism_id');
3968 sub librarys
{ return shift->library_organism_id }
3970 Chado
::Organism
->has_many('biomaterial_taxon_id', 'Chado::Biomaterial' => 'taxon_id');
3973 sub biomaterials
{ return shift->biomaterial_taxon_id }
3979 # Has Compound Many (many to many relationships in all their flavors)
3984 sub phylonode_organism_organisms
{ return shift->phylonode_organism_organism_id }
3990 sub phenotype_comparison_organisms
{ return shift->phenotype_comparison_organism_id }
3996 sub phenotype_comparison_organisms
{ return shift->phenotype_comparison_organism_id }
4001 sub phenotype_comparison_organisms
{ return shift->phenotype_comparison_organism_id }
4007 sub phenotype_comparison_organisms
{ return shift->phenotype_comparison_organism_id }
4011 sub organism_dbxref_organisms
{ return shift->organism_dbxref_organism_id }
4014 # one to many to one
4018 sub phylonodes
{ my $self = shift; return map $_->phylonode_id, $self->phylonode_organism_organism_id }
4024 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_organism_id }
4029 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->organism_dbxref_organism_id }
4031 # one to many to many
4040 sub phenotype_comparison_genotype1s
{ my $self = shift; return map $_->genotype1_id, $self->phenotype_comparison_organism_id }
4050 sub phenotype_comparison_environment1s
{ my $self = shift; return map $_->environment1_id, $self->phenotype_comparison_organism_id }
4061 sub phenotype_comparison_phenotype1s
{ my $self = shift; return map $_->phenotype1_id, $self->phenotype_comparison_organism_id }
4066 #many to many to one
4074 #many to many to many
4086 ########Chado::Organismprop########
4088 package Chado
::Organismprop
;
4089 use base
'Chado::DBI';
4090 use Class
::DBI
::Pager
;
4091 no warnings
qw(redefine);
4093 Chado
::Organismprop
->set_up_table('organismprop');
4096 # Primary key accessors
4099 sub id
{ shift->organismprop_id }
4100 sub organismprop
{ shift->organismprop_id }
4109 Chado
::Organismprop
->has_a(organism_id
=> 'Chado::Organism');
4111 sub Chado
::Organismprop
::organism
{ return shift->organism_id }
4114 Chado
::Organismprop
->has_a(type_id
=> 'Chado::Cvterm');
4116 sub Chado
::Organismprop
::cvterm
{ return shift->type_id }
4125 # one to many to one
4127 # one to many to many
4129 #many to many to one
4131 #many to many to many
4137 ########Chado::Featurerange########
4139 package Chado
::Featurerange
;
4140 use base
'Chado::DBI';
4141 use Class
::DBI
::Pager
;
4142 no warnings
qw(redefine);
4144 Chado
::Featurerange
->set_up_table('featurerange');
4147 # Primary key accessors
4150 sub id
{ shift->featurerange_id }
4151 sub featurerange
{ shift->featurerange_id }
4160 Chado
::Featurerange
->has_a(featuremap_id
=> 'Chado::Featuremap');
4162 sub Chado
::Featurerange
::featuremap
{ return shift->featuremap_id }
4165 Chado
::Featurerange
->has_a(feature_id
=> 'Chado::Feature');
4167 sub feature
{ return shift->feature_id }
4170 Chado
::Featurerange
->has_a(leftstartf_id
=> 'Chado::Feature');
4172 sub leftstartf
{ return shift->leftstartf_id }
4175 Chado
::Featurerange
->has_a(leftendf_id
=> 'Chado::Feature');
4177 sub leftendf
{ return shift->leftendf_id }
4180 Chado
::Featurerange
->has_a(rightstartf_id
=> 'Chado::Feature');
4182 sub rightstartf
{ return shift->rightstartf_id }
4185 Chado
::Featurerange
->has_a(rightendf_id
=> 'Chado::Feature');
4187 sub rightendf
{ return shift->rightendf_id }
4196 # one to many to one
4198 # one to many to many
4200 #many to many to one
4202 #many to many to many
4208 ########Chado::Dbxrefprop########
4210 package Chado
::Dbxrefprop
;
4211 use base
'Chado::DBI';
4212 use Class
::DBI
::Pager
;
4213 no warnings
qw(redefine);
4215 Chado
::Dbxrefprop
->set_up_table('dbxrefprop');
4218 # Primary key accessors
4221 sub id
{ shift->dbxrefprop_id }
4222 sub dbxrefprop
{ shift->dbxrefprop_id }
4231 Chado
::Dbxrefprop
->has_a(dbxref_id
=> 'Chado::Dbxref');
4233 sub Chado
::Dbxrefprop
::dbxref
{ return shift->dbxref_id }
4236 Chado
::Dbxrefprop
->has_a(type_id
=> 'Chado::Cvterm');
4238 sub Chado
::Dbxrefprop
::cvterm
{ return shift->type_id }
4247 # one to many to one
4249 # one to many to many
4251 #many to many to one
4253 #many to many to many
4259 ########Chado::Featureloc########
4261 package Chado
::Featureloc
;
4262 use base
'Chado::DBI';
4263 use Class
::DBI
::Pager
;
4264 no warnings
qw(redefine);
4266 Chado
::Featureloc
->set_up_table('featureloc');
4269 # Primary key accessors
4272 sub id
{ shift->featureloc_id }
4273 sub featureloc
{ shift->featureloc_id }
4282 Chado
::Featureloc
->has_a(feature_id
=> 'Chado::Feature');
4284 sub feature
{ return shift->feature_id }
4287 Chado
::Featureloc
->has_a(srcfeature_id
=> 'Chado::Feature');
4289 sub srcfeature
{ return shift->srcfeature_id }
4297 Chado
::Featureloc
->has_many('featureloc_pub_featureloc_id', 'Chado::Featureloc_Pub' => 'featureloc_id');
4303 # Has Compound Many (many to many relationships in all their flavors)
4307 sub featureloc_pub_featurelocs
{ return shift->featureloc_pub_featureloc_id }
4310 # one to many to one
4314 sub pubs
{ my $self = shift; return map $_->pub_id, $self->featureloc_pub_featureloc_id }
4316 # one to many to many
4319 #many to many to one
4322 #many to many to many
4329 ########Chado::Analysisfeature########
4331 package Chado
::Analysisfeature
;
4332 use base
'Chado::DBI';
4333 use Class
::DBI
::Pager
;
4334 no warnings
qw(redefine);
4336 Chado
::Analysisfeature
->set_up_table('analysisfeature');
4339 # Primary key accessors
4342 sub id
{ shift->analysisfeature_id }
4343 sub analysisfeature
{ shift->analysisfeature_id }
4352 Chado
::Analysisfeature
->has_a(feature_id
=> 'Chado::Feature');
4354 sub Chado
::Analysisfeature
::feature
{ return shift->feature_id }
4357 Chado
::Analysisfeature
->has_a(analysis_id
=> 'Chado::Analysis');
4359 sub Chado
::Analysisfeature
::analysis
{ return shift->analysis_id }
4368 # one to many to one
4370 # one to many to many
4372 #many to many to one
4374 #many to many to many
4380 ########Chado::Feature_Cvterm_Dbxref########
4382 package Chado
::Feature_Cvterm_Dbxref
;
4383 use base
'Chado::DBI';
4384 use Class
::DBI
::Pager
;
4385 no warnings
qw(redefine);
4387 Chado
::Feature_Cvterm_Dbxref
->set_up_table('feature_cvterm_dbxref');
4390 # Primary key accessors
4393 sub id
{ shift->feature_cvterm_dbxref_id }
4394 sub feature_cvterm_dbxref
{ shift->feature_cvterm_dbxref_id }
4403 Chado
::Feature_Cvterm_Dbxref
->has_a(feature_cvterm_id
=> 'Chado::Feature_Cvterm');
4405 sub Chado
::Feature_Cvterm_Dbxref
::feature_cvterm
{ return shift->feature_cvterm_id }
4408 Chado
::Feature_Cvterm_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
4410 sub Chado
::Feature_Cvterm_Dbxref
::dbxref
{ return shift->dbxref_id }
4419 # one to many to one
4421 # one to many to many
4423 #many to many to one
4425 #many to many to many
4431 ########Chado::Feature_Pub########
4433 package Chado
::Feature_Pub
;
4434 use base
'Chado::DBI';
4435 use Class
::DBI
::Pager
;
4436 no warnings
qw(redefine);
4438 Chado
::Feature_Pub
->set_up_table('feature_pub');
4441 # Primary key accessors
4444 sub id
{ shift->feature_pub_id }
4445 sub feature_pub
{ shift->feature_pub_id }
4454 Chado
::Feature_Pub
->has_a(feature_id
=> 'Chado::Feature');
4456 sub Chado
::Feature_Pub
::feature
{ return shift->feature_id }
4459 Chado
::Feature_Pub
->has_a(pub_id
=> 'Chado::Pub');
4461 sub Chado
::Feature_Pub
::pub
{ return shift->pub_id }
4469 Chado
::Feature_Pub
->has_many('feature_pubprop_feature_pub_id', 'Chado::Feature_Pubprop' => 'feature_pub_id');
4472 sub feature_pubprops
{ return shift->feature_pubprop_feature_pub_id }
4476 # one to many to one
4478 # one to many to many
4480 #many to many to one
4482 #many to many to many
4488 ########Chado::Feature_Relationship########
4490 package Chado
::Feature_Relationship
;
4491 use base
'Chado::DBI';
4492 use Class
::DBI
::Pager
;
4493 no warnings
qw(redefine);
4495 Chado
::Feature_Relationship
->set_up_table('feature_relationship');
4498 # Primary key accessors
4501 sub id
{ shift->feature_relationship_id }
4502 sub feature_relationship
{ shift->feature_relationship_id }
4511 Chado
::Feature_Relationship
->has_a(subject_id
=> 'Chado::Feature');
4513 sub subject
{ return shift->subject_id }
4516 Chado
::Feature_Relationship
->has_a(object_id
=> 'Chado::Feature');
4518 sub object
{ return shift->object_id }
4521 Chado
::Feature_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
4523 sub Chado
::Feature_Relationship
::cvterm
{ return shift->type_id }
4532 Chado
::Feature_Relationship
->has_many('feature_relationship_pub_feature_relationship_id', 'Chado::Feature_Relationship_Pub' => 'feature_relationship_id');
4534 Chado
::Feature_Relationship
->has_many('feature_relationshipprop_feature_relationship_id', 'Chado::Feature_Relationshipprop' => 'feature_relationship_id');
4537 sub feature_relationshipprops
{ return shift->feature_relationshipprop_feature_relationship_id }
4543 # Has Compound Many (many to many relationships in all their flavors)
4547 sub feature_relationship_pub_feature_relationships
{ return shift->feature_relationship_pub_feature_relationship_id }
4550 # one to many to one
4554 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_relationship_pub_feature_relationship_id }
4556 # one to many to many
4559 #many to many to one
4562 #many to many to many
4569 ########Chado::Acquisition_Relationship########
4571 package Chado
::Acquisition_Relationship
;
4572 use base
'Chado::DBI';
4573 use Class
::DBI
::Pager
;
4574 no warnings
qw(redefine);
4576 Chado
::Acquisition_Relationship
->set_up_table('acquisition_relationship');
4579 # Primary key accessors
4582 sub id
{ shift->acquisition_relationship_id }
4583 sub acquisition_relationship
{ shift->acquisition_relationship_id }
4592 Chado
::Acquisition_Relationship
->has_a(subject_id
=> 'Chado::Acquisition');
4594 sub subject
{ return shift->subject_id }
4597 Chado
::Acquisition_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
4599 sub Chado
::Acquisition_Relationship
::cvterm
{ return shift->type_id }
4602 Chado
::Acquisition_Relationship
->has_a(object_id
=> 'Chado::Acquisition');
4604 sub object
{ return shift->object_id }
4613 # one to many to one
4615 # one to many to many
4617 #many to many to one
4619 #many to many to many
4625 ########Chado::Featurepos########
4627 package Chado
::Featurepos
;
4628 use base
'Chado::DBI';
4629 use Class
::DBI
::Pager
;
4630 no warnings
qw(redefine);
4632 Chado
::Featurepos
->set_up_table('featurepos');
4635 # Primary key accessors
4638 sub id
{ shift->featurepos_id }
4639 sub featurepos
{ shift->featurepos_id }
4648 Chado
::Featurepos
->has_a(featuremap_id
=> 'Chado::Featuremap');
4650 sub Chado
::Featurepos
::featuremap
{ return shift->featuremap_id }
4653 Chado
::Featurepos
->has_a(feature_id
=> 'Chado::Feature');
4655 sub feature
{ return shift->feature_id }
4658 Chado
::Featurepos
->has_a(map_feature_id
=> 'Chado::Feature');
4660 sub map_feature
{ return shift->map_feature_id }
4669 # one to many to one
4671 # one to many to many
4673 #many to many to one
4675 #many to many to many
4681 ########Chado::Phenotype_Comparison########
4683 package Chado
::Phenotype_Comparison
;
4684 use base
'Chado::DBI';
4685 use Class
::DBI
::Pager
;
4686 no warnings
qw(redefine);
4688 Chado
::Phenotype_Comparison
->set_up_table('phenotype_comparison');
4691 # Primary key accessors
4694 sub id
{ shift->phenotype_comparison_id }
4695 sub phenotype_comparison
{ shift->phenotype_comparison_id }
4705 Chado
::Phenotype_Comparison
->has_a(genotype1_id
=> 'Chado::Genotype');
4707 sub genotype1
{ return shift->genotype1_id }
4710 Chado
::Phenotype_Comparison
->has_a(environment1_id
=> 'Chado::Environment');
4712 sub environment1
{ return shift->environment1_id }
4715 Chado
::Phenotype_Comparison
->has_a(genotype2_id
=> 'Chado::Genotype');
4717 sub genotype2
{ return shift->genotype2_id }
4720 Chado
::Phenotype_Comparison
->has_a(environment2_id
=> 'Chado::Environment');
4722 sub environment2
{ return shift->environment2_id }
4725 Chado
::Phenotype_Comparison
->has_a(phenotype1_id
=> 'Chado::Phenotype');
4727 sub phenotype1
{ return shift->phenotype1_id }
4730 Chado
::Phenotype_Comparison
->has_a(phenotype2_id
=> 'Chado::Phenotype');
4732 sub phenotype2
{ return shift->phenotype2_id }
4735 Chado
::Phenotype_Comparison
->has_a(pub_id
=> 'Chado::Pub');
4737 sub Chado
::Phenotype_Comparison
::pub
{ return shift->pub_id }
4740 Chado
::Phenotype_Comparison
->has_a(organism_id
=> 'Chado::Organism');
4742 sub Chado
::Phenotype_Comparison
::organism
{ return shift->organism_id }
4749 Chado
::Phenotype_Comparison
->has_many('phenotype_comparison_cvterm_phenotype_comparison_id', 'Chado::Phenotype_Comparison_Cvterm' => 'phenotype_comparison_id');
4752 sub phenotype_comparison_cvterms
{ return shift->phenotype_comparison_cvterm_phenotype_comparison_id }
4756 # one to many to one
4758 # one to many to many
4760 #many to many to one
4762 #many to many to many
4768 ########Chado::Feature_Cvtermprop########
4770 package Chado
::Feature_Cvtermprop
;
4771 use base
'Chado::DBI';
4772 use Class
::DBI
::Pager
;
4773 no warnings
qw(redefine);
4775 Chado
::Feature_Cvtermprop
->set_up_table('feature_cvtermprop');
4778 # Primary key accessors
4781 sub id
{ shift->feature_cvtermprop_id }
4782 sub feature_cvtermprop
{ shift->feature_cvtermprop_id }
4791 Chado
::Feature_Cvtermprop
->has_a(feature_cvterm_id
=> 'Chado::Feature_Cvterm');
4793 sub Chado
::Feature_Cvtermprop
::feature_cvterm
{ return shift->feature_cvterm_id }
4796 Chado
::Feature_Cvtermprop
->has_a(type_id
=> 'Chado::Cvterm');
4798 sub Chado
::Feature_Cvtermprop
::cvterm
{ return shift->type_id }
4807 # one to many to one
4809 # one to many to many
4811 #many to many to one
4813 #many to many to many
4819 ########Chado::Protocol########
4821 package Chado
::Protocol
;
4822 use base
'Chado::DBI';
4823 use Class
::DBI
::Pager
;
4824 no warnings
qw(redefine);
4826 Chado
::Protocol
->set_up_table('protocol');
4829 # Primary key accessors
4832 sub id
{ shift->protocol_id }
4833 sub protocol
{ shift->protocol_id }
4846 Chado
::Protocol
->has_a(type_id
=> 'Chado::Cvterm');
4848 sub Chado
::Protocol
::cvterm
{ return shift->type_id }
4851 Chado
::Protocol
->has_a(pub_id
=> 'Chado::Pub');
4853 sub Chado
::Protocol
::pub
{ return shift->pub_id }
4856 Chado
::Protocol
->has_a(dbxref_id
=> 'Chado::Dbxref');
4858 sub Chado
::Protocol
::dbxref
{ return shift->dbxref_id }
4867 Chado
::Protocol
->has_many('assay_protocol_id', 'Chado::Assay' => 'protocol_id');
4870 sub assays
{ return shift->assay_protocol_id }
4872 Chado
::Protocol
->has_many('quantification_protocol_id', 'Chado::Quantification' => 'protocol_id');
4875 sub quantifications
{ return shift->quantification_protocol_id }
4877 Chado
::Protocol
->has_many('arraydesign_protocol_id', 'Chado::Arraydesign' => 'protocol_id');
4880 sub arraydesigns
{ return shift->arraydesign_protocol_id }
4882 Chado
::Protocol
->has_many('acquisition_protocol_id', 'Chado::Acquisition' => 'protocol_id');
4885 sub acquisitions
{ return shift->acquisition_protocol_id }
4887 Chado
::Protocol
->has_many('treatment_protocol_id', 'Chado::Treatment' => 'protocol_id');
4890 sub treatments
{ return shift->treatment_protocol_id }
4892 Chado
::Protocol
->has_many('protocolparam_protocol_id', 'Chado::Protocolparam' => 'protocol_id');
4895 sub protocolparams
{ return shift->protocolparam_protocol_id }
4899 # one to many to one
4901 # one to many to many
4903 #many to many to one
4905 #many to many to many
4911 ########Chado::Featureloc_Pub########
4913 package Chado
::Featureloc_Pub
;
4914 use base
'Chado::DBI';
4915 use Class
::DBI
::Pager
;
4916 no warnings
qw(redefine);
4918 Chado
::Featureloc_Pub
->set_up_table('featureloc_pub');
4921 # Primary key accessors
4924 sub id
{ shift->featureloc_pub_id }
4925 sub featureloc_pub
{ shift->featureloc_pub_id }
4934 Chado
::Featureloc_Pub
->has_a(featureloc_id
=> 'Chado::Featureloc');
4936 sub Chado
::Featureloc_Pub
::featureloc
{ return shift->featureloc_id }
4939 Chado
::Featureloc_Pub
->has_a(pub_id
=> 'Chado::Pub');
4941 sub Chado
::Featureloc_Pub
::pub
{ return shift->pub_id }
4950 # one to many to one
4952 # one to many to many
4954 #many to many to one
4956 #many to many to many
4962 ########Chado::Elementresult_Relationship########
4964 package Chado
::Elementresult_Relationship
;
4965 use base
'Chado::DBI';
4966 use Class
::DBI
::Pager
;
4967 no warnings
qw(redefine);
4969 Chado
::Elementresult_Relationship
->set_up_table('elementresult_relationship');
4972 # Primary key accessors
4975 sub id
{ shift->elementresult_relationship_id }
4976 sub elementresult_relationship
{ shift->elementresult_relationship_id }
4985 Chado
::Elementresult_Relationship
->has_a(subject_id
=> 'Chado::Elementresult');
4987 sub subject
{ return shift->subject_id }
4990 Chado
::Elementresult_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
4992 sub Chado
::Elementresult_Relationship
::cvterm
{ return shift->type_id }
4995 Chado
::Elementresult_Relationship
->has_a(object_id
=> 'Chado::Elementresult');
4997 sub object
{ return shift->object_id }
5006 # one to many to one
5008 # one to many to many
5010 #many to many to one
5012 #many to many to many
5018 ########Chado::Cvtermsynonym########
5020 package Chado
::Cvtermsynonym
;
5021 use base
'Chado::DBI';
5022 use Class
::DBI
::Pager
;
5023 no warnings
qw(redefine);
5025 Chado
::Cvtermsynonym
->set_up_table('cvtermsynonym');
5028 # Primary key accessors
5031 sub id
{ shift->cvtermsynonym_id }
5032 sub cvtermsynonym
{ shift->cvtermsynonym_id }
5041 Chado
::Cvtermsynonym
->has_a(cvterm_id
=> 'Chado::Cvterm');
5043 sub cvterm
{ return shift->cvterm_id }
5046 Chado
::Cvtermsynonym
->has_a(type_id
=> 'Chado::Cvterm');
5048 sub type
{ return shift->type_id }
5057 # one to many to one
5059 # one to many to many
5061 #many to many to one
5063 #many to many to many
5069 ########Chado::Phylonode########
5071 package Chado
::Phylonode
;
5072 use base
'Chado::DBI';
5073 use Class
::DBI
::Pager
;
5074 no warnings
qw(redefine);
5076 Chado
::Phylonode
->set_up_table('phylonode');
5079 # Primary key accessors
5082 sub id
{ shift->phylonode_id }
5083 sub phylonode
{ shift->phylonode_id }
5095 Chado
::Phylonode
->has_a(phylotree_id
=> 'Chado::Phylotree');
5097 sub Chado
::Phylonode
::phylotree
{ return shift->phylotree_id }
5100 Chado
::Phylonode
->has_a(parent_phylonode_id
=> 'Chado::Phylonode');
5102 sub Chado
::Phylonode
::phylonode
{ return shift->parent_phylonode_id }
5106 Chado
::Phylonode
->has_a(type_id
=> 'Chado::Cvterm');
5108 sub Chado
::Phylonode
::cvterm
{ return shift->type_id }
5111 Chado
::Phylonode
->has_a(feature_id
=> 'Chado::Feature');
5113 sub Chado
::Phylonode
::feature
{ return shift->feature_id }
5123 Chado
::Phylonode
->has_many('phylonodeprop_phylonode_id', 'Chado::Phylonodeprop' => 'phylonode_id');
5126 sub phylonodeprops
{ return shift->phylonodeprop_phylonode_id }
5128 Chado
::Phylonode
->has_many('phylonode_pub_phylonode_id', 'Chado::Phylonode_Pub' => 'phylonode_id');
5130 Chado
::Phylonode
->has_many('phylonode_organism_phylonode_id', 'Chado::Phylonode_Organism' => 'phylonode_id');
5132 Chado
::Phylonode
->has_many('phylonode_parent_phylonode_id', 'Chado::Phylonode' => 'parent_phylonode_id');
5135 sub phylonode_parent_phylonode_ids
{ my $self = shift; return $self->phylonode_parent_phylonode_id(@_) }
5137 Chado
::Phylonode
->has_many('phylonode_dbxref_phylonode_id', 'Chado::Phylonode_Dbxref' => 'phylonode_id');
5139 Chado
::Phylonode
->has_many('phylonode_relationship_subject_id', 'Chado::Phylonode_Relationship' => 'subject_id');
5142 sub phylonode_relationship_subject_ids
{ my $self = shift; return $self->phylonode_relationship_subject_id(@_) }
5144 Chado
::Phylonode
->has_many('phylonode_relationship_object_id', 'Chado::Phylonode_Relationship' => 'object_id');
5147 sub phylonode_relationship_object_ids
{ my $self = shift; return $self->phylonode_relationship_object_id(@_) }
5153 # Has Compound Many (many to many relationships in all their flavors)
5157 sub phylonode_organism_phylonodes
{ return shift->phylonode_organism_phylonode_id }
5162 sub phylonode_pub_phylonodes
{ return shift->phylonode_pub_phylonode_id }
5167 sub phylonode_dbxref_phylonodes
{ return shift->phylonode_dbxref_phylonode_id }
5170 # one to many to one
5174 sub organisms
{ my $self = shift; return map $_->organism_id, $self->phylonode_organism_phylonode_id }
5178 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phylonode_pub_phylonode_id }
5182 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->phylonode_dbxref_phylonode_id }
5184 # one to many to many
5189 #many to many to one
5194 #many to many to many
5203 ########Chado::Stock_Relationship########
5205 package Chado
::Stock_Relationship
;
5206 use base
'Chado::DBI';
5207 use Class
::DBI
::Pager
;
5208 no warnings
qw(redefine);
5210 Chado
::Stock_Relationship
->set_up_table('stock_relationship');
5213 # Primary key accessors
5216 sub id
{ shift->stock_relationship_id }
5217 sub stock_relationship
{ shift->stock_relationship_id }
5226 Chado
::Stock_Relationship
->has_a(subject_id
=> 'Chado::Stock');
5228 sub subject
{ return shift->subject_id }
5231 Chado
::Stock_Relationship
->has_a(object_id
=> 'Chado::Stock');
5233 sub object
{ return shift->object_id }
5236 Chado
::Stock_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
5238 sub Chado
::Stock_Relationship
::cvterm
{ return shift->type_id }
5246 Chado
::Stock_Relationship
->has_many('stock_relationship_pub_stock_relationship_id', 'Chado::Stock_Relationship_Pub' => 'stock_relationship_id');
5252 # Has Compound Many (many to many relationships in all their flavors)
5256 sub stock_relationship_pub_stock_relationships
{ return shift->stock_relationship_pub_stock_relationship_id }
5259 # one to many to one
5263 sub pubs
{ my $self = shift; return map $_->pub_id, $self->stock_relationship_pub_stock_relationship_id }
5265 # one to many to many
5268 #many to many to one
5271 #many to many to many
5278 ########Chado::Feature########
5280 package Chado
::Feature
;
5281 use base
'Chado::DBI';
5282 use Class
::DBI
::Pager
;
5283 no warnings
qw(redefine);
5285 Chado
::Feature
->set_up_table('feature');
5288 # Primary key accessors
5291 sub id
{ shift->feature_id }
5292 sub feature
{ shift->feature_id }
5320 Chado
::Feature
->has_a(dbxref_id
=> 'Chado::Dbxref');
5322 sub Chado
::Feature
::dbxref
{ return shift->dbxref_id }
5325 Chado
::Feature
->has_a(organism_id
=> 'Chado::Organism');
5327 sub Chado
::Feature
::organism
{ return shift->organism_id }
5330 Chado
::Feature
->has_a(type_id
=> 'Chado::Cvterm');
5332 sub Chado
::Feature
::cvterm
{ return shift->type_id }
5344 Chado
::Feature
->has_many('feature_dbxref_feature_id', 'Chado::Feature_Dbxref' => 'feature_id');
5347 sub feature_dbxrefs
{ return shift->feature_dbxref_feature_id }
5349 Chado
::Feature
->has_many('feature_expression_feature_id', 'Chado::Feature_Expression' => 'feature_id');
5351 Chado
::Feature
->has_many('feature_cvterm_feature_id', 'Chado::Feature_Cvterm' => 'feature_id');
5354 sub feature_cvterms
{ return shift->feature_cvterm_feature_id }
5356 Chado
::Feature
->has_many('feature_phenotype_feature_id', 'Chado::Feature_Phenotype' => 'feature_id');
5358 Chado
::Feature
->has_many('element_feature_id', 'Chado::Element' => 'feature_id');
5360 Chado
::Feature
->has_many('featurerange_feature_id', 'Chado::Featurerange' => 'feature_id');
5363 sub featurerange_feature_ids
{ my $self = shift; return $self->featurerange_feature_id(@_) }
5365 Chado
::Feature
->has_many('featurerange_leftstartf_id', 'Chado::Featurerange' => 'leftstartf_id');
5368 sub featurerange_leftstartf_ids
{ my $self = shift; return $self->featurerange_leftstartf_id(@_) }
5370 Chado
::Feature
->has_many('featurerange_leftendf_id', 'Chado::Featurerange' => 'leftendf_id');
5373 sub featurerange_leftendf_ids
{ my $self = shift; return $self->featurerange_leftendf_id(@_) }
5375 Chado
::Feature
->has_many('featurerange_rightstartf_id', 'Chado::Featurerange' => 'rightstartf_id');
5378 sub featurerange_rightstartf_ids
{ my $self = shift; return $self->featurerange_rightstartf_id(@_) }
5380 Chado
::Feature
->has_many('featurerange_rightendf_id', 'Chado::Featurerange' => 'rightendf_id');
5383 sub featurerange_rightendf_ids
{ my $self = shift; return $self->featurerange_rightendf_id(@_) }
5385 Chado
::Feature
->has_many('featureloc_feature_id', 'Chado::Featureloc' => 'feature_id');
5388 sub featureloc_feature_ids
{ my $self = shift; return $self->featureloc_feature_id(@_) }
5390 Chado
::Feature
->has_many('featureloc_srcfeature_id', 'Chado::Featureloc' => 'srcfeature_id');
5393 sub featureloc_srcfeature_ids
{ my $self = shift; return $self->featureloc_srcfeature_id(@_) }
5395 Chado
::Feature
->has_many('analysisfeature_feature_id', 'Chado::Analysisfeature' => 'feature_id');
5398 sub analysisfeatures
{ return shift->analysisfeature_feature_id }
5400 Chado
::Feature
->has_many('feature_pub_feature_id', 'Chado::Feature_Pub' => 'feature_id');
5402 Chado
::Feature
->has_many('feature_relationship_subject_id', 'Chado::Feature_Relationship' => 'subject_id');
5405 sub feature_relationship_subject_ids
{ my $self = shift; return $self->feature_relationship_subject_id(@_) }
5407 Chado
::Feature
->has_many('feature_relationship_object_id', 'Chado::Feature_Relationship' => 'object_id');
5410 sub feature_relationship_object_ids
{ my $self = shift; return $self->feature_relationship_object_id(@_) }
5412 Chado
::Feature
->has_many('featurepos_feature_id', 'Chado::Featurepos' => 'feature_id');
5415 sub featurepos_feature_ids
{ my $self = shift; return $self->featurepos_feature_id(@_) }
5417 Chado
::Feature
->has_many('featurepos_map_feature_id', 'Chado::Featurepos' => 'map_feature_id');
5420 sub featurepos_map_feature_ids
{ my $self = shift; return $self->featurepos_map_feature_id(@_) }
5422 Chado
::Feature
->has_many('phylonode_feature_id', 'Chado::Phylonode' => 'feature_id');
5425 sub phylonodes
{ return shift->phylonode_feature_id }
5427 Chado
::Feature
->has_many('library_feature_feature_id', 'Chado::Library_Feature' => 'feature_id');
5429 Chado
::Feature
->has_many('featureprop_feature_id', 'Chado::Featureprop' => 'feature_id');
5432 sub featureprops
{ return shift->featureprop_feature_id }
5434 Chado
::Feature
->has_many('feature_synonym_feature_id', 'Chado::Feature_Synonym' => 'feature_id');
5437 sub feature_synonyms
{ return shift->feature_synonym_feature_id }
5439 Chado
::Feature
->has_many('feature_genotype_feature_id', 'Chado::Feature_Genotype' => 'feature_id');
5442 sub feature_genotype_feature_ids
{ my $self = shift; return $self->feature_genotype_feature_id(@_) }
5444 Chado
::Feature
->has_many('feature_genotype_chromosome_id', 'Chado::Feature_Genotype' => 'chromosome_id');
5447 sub feature_genotype_chromosome_ids
{ my $self = shift; return $self->feature_genotype_chromosome_id(@_) }
5453 # Has Compound Many (many to many relationships in all their flavors)
5458 sub feature_expression_features
{ return shift->feature_expression_feature_id }
5462 sub feature_expression_features
{ return shift->feature_expression_feature_id }
5468 sub library_feature_features
{ return shift->library_feature_feature_id }
5472 sub feature_pub_features
{ return shift->feature_pub_feature_id }
5477 sub element_features
{ return shift->element_feature_id }
5482 sub element_features
{ return shift->element_feature_id }
5487 sub element_features
{ return shift->element_feature_id }
5492 sub feature_phenotype_features
{ return shift->feature_phenotype_feature_id }
5495 # one to many to one
5499 sub expressions
{ my $self = shift; return map $_->expression_id, $self->feature_expression_feature_id }
5503 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_expression_feature_id }
5507 sub librarys
{ my $self = shift; return map $_->library_id, $self->library_feature_feature_id }
5511 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_pub_feature_id }
5515 sub arraydesigns
{ my $self = shift; return map $_->arraydesign_id, $self->element_feature_id }
5519 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->element_feature_id }
5523 sub cvterms
{ my $self = shift; return map $_->type_id, $self->element_feature_id }
5527 sub phenotypes
{ my $self = shift; return map $_->phenotype_id, $self->feature_phenotype_feature_id }
5529 # one to many to many
5539 #many to many to one
5549 #many to many to many
5563 ########Chado::Feature_Pubprop########
5565 package Chado
::Feature_Pubprop
;
5566 use base
'Chado::DBI';
5567 use Class
::DBI
::Pager
;
5568 no warnings
qw(redefine);
5570 Chado
::Feature_Pubprop
->set_up_table('feature_pubprop');
5573 # Primary key accessors
5576 sub id
{ shift->feature_pubprop_id }
5577 sub feature_pubprop
{ shift->feature_pubprop_id }
5586 Chado
::Feature_Pubprop
->has_a(feature_pub_id
=> 'Chado::Feature_Pub');
5588 sub Chado
::Feature_Pubprop
::feature_pub
{ return shift->feature_pub_id }
5591 Chado
::Feature_Pubprop
->has_a(type_id
=> 'Chado::Cvterm');
5593 sub Chado
::Feature_Pubprop
::cvterm
{ return shift->type_id }
5602 # one to many to one
5604 # one to many to many
5606 #many to many to one
5608 #many to many to many
5614 ########Chado::Library_Pub########
5616 package Chado
::Library_Pub
;
5617 use base
'Chado::DBI';
5618 use Class
::DBI
::Pager
;
5619 no warnings
qw(redefine);
5621 Chado
::Library_Pub
->set_up_table('library_pub');
5624 # Primary key accessors
5627 sub id
{ shift->library_pub_id }
5628 sub library_pub
{ shift->library_pub_id }
5637 Chado
::Library_Pub
->has_a(library_id
=> 'Chado::Library');
5639 sub Chado
::Library_Pub
::library
{ return shift->library_id }
5642 Chado
::Library_Pub
->has_a(pub_id
=> 'Chado::Pub');
5644 sub Chado
::Library_Pub
::pub
{ return shift->pub_id }
5653 # one to many to one
5655 # one to many to many
5657 #many to many to one
5659 #many to many to many
5665 ########Chado::Stockcollection########
5667 package Chado
::Stockcollection
;
5668 use base
'Chado::DBI';
5669 use Class
::DBI
::Pager
;
5670 no warnings
qw(redefine);
5672 Chado
::Stockcollection
->set_up_table('stockcollection');
5675 # Primary key accessors
5678 sub id
{ shift->stockcollection_id }
5679 sub stockcollection
{ shift->stockcollection_id }
5688 Chado
::Stockcollection
->has_a(type_id
=> 'Chado::Cvterm');
5690 sub Chado
::Stockcollection
::cvterm
{ return shift->type_id }
5693 Chado
::Stockcollection
->has_a(contact_id
=> 'Chado::Contact');
5695 sub Chado
::Stockcollection
::contact
{ return shift->contact_id }
5704 Chado
::Stockcollection
->has_many('stockcollection_stock_stockcollection_id', 'Chado::Stockcollection_Stock' => 'stockcollection_id');
5706 Chado
::Stockcollection
->has_many('stockcollectionprop_stockcollection_id', 'Chado::Stockcollectionprop' => 'stockcollection_id');
5709 sub stockcollectionprops
{ return shift->stockcollectionprop_stockcollection_id }
5715 # Has Compound Many (many to many relationships in all their flavors)
5719 sub stockcollection_stock_stockcollections
{ return shift->stockcollection_stock_stockcollection_id }
5722 # one to many to one
5726 sub stocks
{ my $self = shift; return map $_->stock_id, $self->stockcollection_stock_stockcollection_id }
5728 # one to many to many
5731 #many to many to one
5734 #many to many to many
5741 ########Chado::Biomaterialprop########
5743 package Chado
::Biomaterialprop
;
5744 use base
'Chado::DBI';
5745 use Class
::DBI
::Pager
;
5746 no warnings
qw(redefine);
5748 Chado
::Biomaterialprop
->set_up_table('biomaterialprop');
5751 # Primary key accessors
5754 sub id
{ shift->biomaterialprop_id }
5755 sub biomaterialprop
{ shift->biomaterialprop_id }
5764 Chado
::Biomaterialprop
->has_a(biomaterial_id
=> 'Chado::Biomaterial');
5766 sub Chado
::Biomaterialprop
::biomaterial
{ return shift->biomaterial_id }
5769 Chado
::Biomaterialprop
->has_a(type_id
=> 'Chado::Cvterm');
5771 sub Chado
::Biomaterialprop
::cvterm
{ return shift->type_id }
5780 # one to many to one
5782 # one to many to many
5784 #many to many to one
5786 #many to many to many
5792 ########Chado::Elementresult########
5794 package Chado
::Elementresult
;
5795 use base
'Chado::DBI';
5796 use Class
::DBI
::Pager
;
5797 no warnings
qw(redefine);
5799 Chado
::Elementresult
->set_up_table('elementresult');
5802 # Primary key accessors
5805 sub id
{ shift->elementresult_id }
5806 sub elementresult
{ shift->elementresult_id }
5817 Chado
::Elementresult
->has_a(element_id
=> 'Chado::Element');
5819 sub Chado
::Elementresult
::element
{ return shift->element_id }
5822 Chado
::Elementresult
->has_a(quantification_id
=> 'Chado::Quantification');
5824 sub Chado
::Elementresult
::quantification
{ return shift->quantification_id }
5831 Chado
::Elementresult
->has_many('elementresult_relationship_subject_id', 'Chado::Elementresult_Relationship' => 'subject_id');
5834 sub elementresult_relationship_subject_ids
{ my $self = shift; return $self->elementresult_relationship_subject_id(@_) }
5836 Chado
::Elementresult
->has_many('elementresult_relationship_object_id', 'Chado::Elementresult_Relationship' => 'object_id');
5839 sub elementresult_relationship_object_ids
{ my $self = shift; return $self->elementresult_relationship_object_id(@_) }
5843 # one to many to one
5845 # one to many to many
5847 #many to many to one
5849 #many to many to many
5855 ########Chado::Expression########
5857 package Chado
::Expression
;
5858 use base
'Chado::DBI';
5859 use Class
::DBI
::Pager
;
5860 no warnings
qw(redefine);
5862 Chado
::Expression
->set_up_table('expression');
5865 # Primary key accessors
5868 sub id
{ shift->expression_id }
5869 sub expression
{ shift->expression_id }
5887 Chado
::Expression
->has_many('expression_pub_expression_id', 'Chado::Expression_Pub' => 'expression_id');
5889 Chado
::Expression
->has_many('feature_expression_expression_id', 'Chado::Feature_Expression' => 'expression_id');
5891 Chado
::Expression
->has_many('expression_image_expression_id', 'Chado::Expression_Image' => 'expression_id');
5893 Chado
::Expression
->has_many('expressionprop_expression_id', 'Chado::Expressionprop' => 'expression_id');
5896 sub expressionprops
{ return shift->expressionprop_expression_id }
5898 Chado
::Expression
->has_many('expression_cvterm_expression_id', 'Chado::Expression_Cvterm' => 'expression_id');
5901 sub expression_cvterms
{ return shift->expression_cvterm_expression_id }
5907 # Has Compound Many (many to many relationships in all their flavors)
5911 sub feature_expression_expressions
{ return shift->feature_expression_expression_id }
5916 sub feature_expression_expressions
{ return shift->feature_expression_expression_id }
5921 sub expression_pub_expressions
{ return shift->expression_pub_expression_id }
5926 sub expression_image_expressions
{ return shift->expression_image_expression_id }
5929 # one to many to one
5933 sub features
{ my $self = shift; return map $_->feature_id, $self->feature_expression_expression_id }
5937 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_expression_expression_id }
5941 sub pubs
{ my $self = shift; return map $_->pub_id, $self->expression_pub_expression_id }
5945 sub eimages
{ my $self = shift; return map $_->eimage_id, $self->expression_image_expression_id }
5947 # one to many to many
5953 #many to many to one
5959 #many to many to many
5969 ########Chado::Magedocumentation########
5971 package Chado
::Magedocumentation
;
5972 use base
'Chado::DBI';
5973 use Class
::DBI
::Pager
;
5974 no warnings
qw(redefine);
5976 Chado
::Magedocumentation
->set_up_table('magedocumentation');
5979 # Primary key accessors
5982 sub id
{ shift->magedocumentation_id }
5983 sub magedocumentation
{ shift->magedocumentation_id }
5992 Chado
::Magedocumentation
->has_a(mageml_id
=> 'Chado::Mageml');
5994 sub Chado
::Magedocumentation
::mageml
{ return shift->mageml_id }
5997 Chado
::Magedocumentation
->has_a(tableinfo_id
=> 'Chado::Tableinfo');
5999 sub Chado
::Magedocumentation
::tableinfo
{ return shift->tableinfo_id }
6008 # one to many to one
6010 # one to many to many
6012 #many to many to one
6014 #many to many to many
6020 ########Chado::Library_Cvterm########
6022 package Chado
::Library_Cvterm
;
6023 use base
'Chado::DBI';
6024 use Class
::DBI
::Pager
;
6025 no warnings
qw(redefine);
6027 Chado
::Library_Cvterm
->set_up_table('library_cvterm');
6030 # Primary key accessors
6033 sub id
{ shift->library_cvterm_id }
6034 sub library_cvterm
{ shift->library_cvterm_id }
6043 Chado
::Library_Cvterm
->has_a(library_id
=> 'Chado::Library');
6045 sub Chado
::Library_Cvterm
::library
{ return shift->library_id }
6048 Chado
::Library_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
6050 sub Chado
::Library_Cvterm
::cvterm
{ return shift->cvterm_id }
6053 Chado
::Library_Cvterm
->has_a(pub_id
=> 'Chado::Pub');
6055 sub Chado
::Library_Cvterm
::pub
{ return shift->pub_id }
6064 # one to many to one
6066 # one to many to many
6068 #many to many to one
6070 #many to many to many
6076 ########Chado::Stock_Relationship_Pub########
6078 package Chado
::Stock_Relationship_Pub
;
6079 use base
'Chado::DBI';
6080 use Class
::DBI
::Pager
;
6081 no warnings
qw(redefine);
6083 Chado
::Stock_Relationship_Pub
->set_up_table('stock_relationship_pub');
6086 # Primary key accessors
6089 sub id
{ shift->stock_relationship_pub_id }
6090 sub stock_relationship_pub
{ shift->stock_relationship_pub_id }
6099 Chado
::Stock_Relationship_Pub
->has_a(stock_relationship_id
=> 'Chado::Stock_Relationship');
6101 sub Chado
::Stock_Relationship_Pub
::stock_relationship
{ return shift->stock_relationship_id }
6104 Chado
::Stock_Relationship_Pub
->has_a(pub_id
=> 'Chado::Pub');
6106 sub Chado
::Stock_Relationship_Pub
::pub
{ return shift->pub_id }
6115 # one to many to one
6117 # one to many to many
6119 #many to many to one
6121 #many to many to many
6127 ########Chado::Feature_Relationship_Pub########
6129 package Chado
::Feature_Relationship_Pub
;
6130 use base
'Chado::DBI';
6131 use Class
::DBI
::Pager
;
6132 no warnings
qw(redefine);
6134 Chado
::Feature_Relationship_Pub
->set_up_table('feature_relationship_pub');
6137 # Primary key accessors
6140 sub id
{ shift->feature_relationship_pub_id }
6141 sub feature_relationship_pub
{ shift->feature_relationship_pub_id }
6150 Chado
::Feature_Relationship_Pub
->has_a(feature_relationship_id
=> 'Chado::Feature_Relationship');
6152 sub Chado
::Feature_Relationship_Pub
::feature_relationship
{ return shift->feature_relationship_id }
6155 Chado
::Feature_Relationship_Pub
->has_a(pub_id
=> 'Chado::Pub');
6157 sub Chado
::Feature_Relationship_Pub
::pub
{ return shift->pub_id }
6166 # one to many to one
6168 # one to many to many
6170 #many to many to one
6172 #many to many to many
6178 ########Chado::Analysisprop########
6180 package Chado
::Analysisprop
;
6181 use base
'Chado::DBI';
6182 use Class
::DBI
::Pager
;
6183 no warnings
qw(redefine);
6185 Chado
::Analysisprop
->set_up_table('analysisprop');
6188 # Primary key accessors
6191 sub id
{ shift->analysisprop_id }
6192 sub analysisprop
{ shift->analysisprop_id }
6201 Chado
::Analysisprop
->has_a(analysis_id
=> 'Chado::Analysis');
6203 sub Chado
::Analysisprop
::analysis
{ return shift->analysis_id }
6206 Chado
::Analysisprop
->has_a(type_id
=> 'Chado::Cvterm');
6208 sub Chado
::Analysisprop
::cvterm
{ return shift->type_id }
6217 # one to many to one
6219 # one to many to many
6221 #many to many to one
6223 #many to many to many
6229 ########Chado::Library_Feature########
6231 package Chado
::Library_Feature
;
6232 use base
'Chado::DBI';
6233 use Class
::DBI
::Pager
;
6234 no warnings
qw(redefine);
6236 Chado
::Library_Feature
->set_up_table('library_feature');
6239 # Primary key accessors
6242 sub id
{ shift->library_feature_id }
6243 sub library_feature
{ shift->library_feature_id }
6252 Chado
::Library_Feature
->has_a(library_id
=> 'Chado::Library');
6254 sub Chado
::Library_Feature
::library
{ return shift->library_id }
6257 Chado
::Library_Feature
->has_a(feature_id
=> 'Chado::Feature');
6259 sub Chado
::Library_Feature
::feature
{ return shift->feature_id }
6268 # one to many to one
6270 # one to many to many
6272 #many to many to one
6274 #many to many to many
6280 ########Chado::Stock_Dbxref########
6282 package Chado
::Stock_Dbxref
;
6283 use base
'Chado::DBI';
6284 use Class
::DBI
::Pager
;
6285 no warnings
qw(redefine);
6287 Chado
::Stock_Dbxref
->set_up_table('stock_dbxref');
6290 # Primary key accessors
6293 sub id
{ shift->stock_dbxref_id }
6294 sub stock_dbxref
{ shift->stock_dbxref_id }
6303 Chado
::Stock_Dbxref
->has_a(stock_id
=> 'Chado::Stock');
6305 sub Chado
::Stock_Dbxref
::stock
{ return shift->stock_id }
6308 Chado
::Stock_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
6310 sub Chado
::Stock_Dbxref
::dbxref
{ return shift->dbxref_id }
6319 # one to many to one
6321 # one to many to many
6323 #many to many to one
6325 #many to many to many
6331 ########Chado::Cvterm_Dbxref########
6333 package Chado
::Cvterm_Dbxref
;
6334 use base
'Chado::DBI';
6335 use Class
::DBI
::Pager
;
6336 no warnings
qw(redefine);
6338 Chado
::Cvterm_Dbxref
->set_up_table('cvterm_dbxref');
6341 # Primary key accessors
6344 sub id
{ shift->cvterm_dbxref_id }
6345 sub cvterm_dbxref
{ shift->cvterm_dbxref_id }
6354 Chado
::Cvterm_Dbxref
->has_a(cvterm_id
=> 'Chado::Cvterm');
6356 sub Chado
::Cvterm_Dbxref
::cvterm
{ return shift->cvterm_id }
6359 Chado
::Cvterm_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
6361 sub Chado
::Cvterm_Dbxref
::dbxref
{ return shift->dbxref_id }
6370 # one to many to one
6372 # one to many to many
6374 #many to many to one
6376 #many to many to many
6382 ########Chado::Feature_Relationshipprop########
6384 package Chado
::Feature_Relationshipprop
;
6385 use base
'Chado::DBI';
6386 use Class
::DBI
::Pager
;
6387 no warnings
qw(redefine);
6389 Chado
::Feature_Relationshipprop
->set_up_table('feature_relationshipprop');
6392 # Primary key accessors
6395 sub id
{ shift->feature_relationshipprop_id }
6396 sub feature_relationshipprop
{ shift->feature_relationshipprop_id }
6405 Chado
::Feature_Relationshipprop
->has_a(feature_relationship_id
=> 'Chado::Feature_Relationship');
6407 sub Chado
::Feature_Relationshipprop
::feature_relationship
{ return shift->feature_relationship_id }
6410 Chado
::Feature_Relationshipprop
->has_a(type_id
=> 'Chado::Cvterm');
6412 sub Chado
::Feature_Relationshipprop
::cvterm
{ return shift->type_id }
6420 Chado
::Feature_Relationshipprop
->has_many('feature_relationshipprop_pub_feature_relationshipprop_id', 'Chado::Feature_Relationshipprop_Pub' => 'feature_relationshipprop_id');
6426 # Has Compound Many (many to many relationships in all their flavors)
6430 sub feature_relationshipprop_pub_feature_relationshipprops
{ return shift->feature_relationshipprop_pub_feature_relationshipprop_id }
6433 # one to many to one
6437 sub pubs
{ my $self = shift; return map $_->pub_id, $self->feature_relationshipprop_pub_feature_relationshipprop_id }
6439 # one to many to many
6442 #many to many to one
6445 #many to many to many
6452 ########Chado::Stockcollection_Stock########
6454 package Chado
::Stockcollection_Stock
;
6455 use base
'Chado::DBI';
6456 use Class
::DBI
::Pager
;
6457 no warnings
qw(redefine);
6459 Chado
::Stockcollection_Stock
->set_up_table('stockcollection_stock');
6462 # Primary key accessors
6465 sub id
{ shift->stockcollection_stock_id }
6466 sub stockcollection_stock
{ shift->stockcollection_stock_id }
6475 Chado
::Stockcollection_Stock
->has_a(stockcollection_id
=> 'Chado::Stockcollection');
6477 sub Chado
::Stockcollection_Stock
::stockcollection
{ return shift->stockcollection_id }
6480 Chado
::Stockcollection_Stock
->has_a(stock_id
=> 'Chado::Stock');
6482 sub Chado
::Stockcollection_Stock
::stock
{ return shift->stock_id }
6491 # one to many to one
6493 # one to many to many
6495 #many to many to one
6497 #many to many to many
6503 ########Chado::Stockcollectionprop########
6505 package Chado
::Stockcollectionprop
;
6506 use base
'Chado::DBI';
6507 use Class
::DBI
::Pager
;
6508 no warnings
qw(redefine);
6510 Chado
::Stockcollectionprop
->set_up_table('stockcollectionprop');
6513 # Primary key accessors
6516 sub id
{ shift->stockcollectionprop_id }
6517 sub stockcollectionprop
{ shift->stockcollectionprop_id }
6526 Chado
::Stockcollectionprop
->has_a(stockcollection_id
=> 'Chado::Stockcollection');
6528 sub Chado
::Stockcollectionprop
::stockcollection
{ return shift->stockcollection_id }
6531 Chado
::Stockcollectionprop
->has_a(type_id
=> 'Chado::Cvterm');
6533 sub Chado
::Stockcollectionprop
::cvterm
{ return shift->type_id }
6542 # one to many to one
6544 # one to many to many
6546 #many to many to one
6548 #many to many to many
6554 ########Chado::Element_Relationship########
6556 package Chado
::Element_Relationship
;
6557 use base
'Chado::DBI';
6558 use Class
::DBI
::Pager
;
6559 no warnings
qw(redefine);
6561 Chado
::Element_Relationship
->set_up_table('element_relationship');
6564 # Primary key accessors
6567 sub id
{ shift->element_relationship_id }
6568 sub element_relationship
{ shift->element_relationship_id }
6577 Chado
::Element_Relationship
->has_a(subject_id
=> 'Chado::Element');
6579 sub subject
{ return shift->subject_id }
6582 Chado
::Element_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
6584 sub Chado
::Element_Relationship
::cvterm
{ return shift->type_id }
6587 Chado
::Element_Relationship
->has_a(object_id
=> 'Chado::Element');
6589 sub object
{ return shift->object_id }
6598 # one to many to one
6600 # one to many to many
6602 #many to many to one
6604 #many to many to many
6610 ########Chado::Stock########
6612 package Chado
::Stock
;
6613 use base
'Chado::DBI';
6614 use Class
::DBI
::Pager
;
6615 no warnings
qw(redefine);
6617 Chado
::Stock
->set_up_table('stock');
6620 # Primary key accessors
6623 sub id
{ shift->stock_id }
6624 sub stock
{ shift->stock_id }
6638 Chado
::Stock
->has_a(dbxref_id
=> 'Chado::Dbxref');
6640 sub Chado
::Stock
::dbxref
{ return shift->dbxref_id }
6643 Chado
::Stock
->has_a(organism_id
=> 'Chado::Organism');
6645 sub Chado
::Stock
::organism
{ return shift->organism_id }
6648 Chado
::Stock
->has_a(type_id
=> 'Chado::Cvterm');
6650 sub Chado
::Stock
::cvterm
{ return shift->type_id }
6660 Chado
::Stock
->has_many('stock_cvterm_stock_id', 'Chado::Stock_Cvterm' => 'stock_id');
6662 Chado
::Stock
->has_many('stock_relationship_subject_id', 'Chado::Stock_Relationship' => 'subject_id');
6665 sub stock_relationship_subject_ids
{ my $self = shift; return $self->stock_relationship_subject_id(@_) }
6667 Chado
::Stock
->has_many('stock_relationship_object_id', 'Chado::Stock_Relationship' => 'object_id');
6670 sub stock_relationship_object_ids
{ my $self = shift; return $self->stock_relationship_object_id(@_) }
6672 Chado
::Stock
->has_many('stock_dbxref_stock_id', 'Chado::Stock_Dbxref' => 'stock_id');
6675 sub stock_dbxrefs
{ return shift->stock_dbxref_stock_id }
6677 Chado
::Stock
->has_many('stockcollection_stock_stock_id', 'Chado::Stockcollection_Stock' => 'stock_id');
6679 Chado
::Stock
->has_many('stock_pub_stock_id', 'Chado::Stock_Pub' => 'stock_id');
6681 Chado
::Stock
->has_many('stock_genotype_stock_id', 'Chado::Stock_Genotype' => 'stock_id');
6683 Chado
::Stock
->has_many('stockprop_stock_id', 'Chado::Stockprop' => 'stock_id');
6686 sub stockprops
{ return shift->stockprop_stock_id }
6692 # Has Compound Many (many to many relationships in all their flavors)
6696 sub stock_cvterm_stocks
{ return shift->stock_cvterm_stock_id }
6701 sub stock_cvterm_stocks
{ return shift->stock_cvterm_stock_id }
6706 sub stock_genotype_stocks
{ return shift->stock_genotype_stock_id }
6712 sub stockcollection_stock_stocks
{ return shift->stockcollection_stock_stock_id }
6716 sub stock_pub_stocks
{ return shift->stock_pub_stock_id }
6719 # one to many to one
6723 sub cvterms
{ my $self = shift; return map $_->cvterm_id, $self->stock_cvterm_stock_id }
6727 sub pubs
{ my $self = shift; return map $_->pub_id, $self->stock_cvterm_stock_id }
6731 sub genotypes
{ my $self = shift; return map $_->genotype_id, $self->stock_genotype_stock_id }
6735 sub stockcollections
{ my $self = shift; return map $_->stockcollection_id, $self->stockcollection_stock_stock_id }
6739 sub pubs
{ my $self = shift; return map $_->pub_id, $self->stock_pub_stock_id }
6741 # one to many to many
6748 #many to many to one
6755 #many to many to many
6766 ########Chado::Featuremap########
6768 package Chado
::Featuremap
;
6769 use base
'Chado::DBI';
6770 use Class
::DBI
::Pager
;
6771 no warnings
qw(redefine);
6773 Chado
::Featuremap
->set_up_table('featuremap');
6776 # Primary key accessors
6779 sub id
{ shift->featuremap_id }
6780 sub featuremap
{ shift->featuremap_id }
6791 Chado
::Featuremap
->has_a(unittype_id
=> 'Chado::Cvterm');
6793 sub Chado
::Featuremap
::cvterm
{ return shift->unittype_id }
6801 Chado
::Featuremap
->has_many('featurerange_featuremap_id', 'Chado::Featurerange' => 'featuremap_id');
6804 sub featureranges
{ return shift->featurerange_featuremap_id }
6806 Chado
::Featuremap
->has_many('featurepos_featuremap_id', 'Chado::Featurepos' => 'featuremap_id');
6809 sub featureposs
{ return shift->featurepos_featuremap_id }
6811 Chado
::Featuremap
->has_many('featuremap_pub_featuremap_id', 'Chado::Featuremap_Pub' => 'featuremap_id');
6817 # Has Compound Many (many to many relationships in all their flavors)
6821 sub featuremap_pub_featuremaps
{ return shift->featuremap_pub_featuremap_id }
6824 # one to many to one
6828 sub pubs
{ my $self = shift; return map $_->pub_id, $self->featuremap_pub_featuremap_id }
6830 # one to many to many
6833 #many to many to one
6836 #many to many to many
6843 ########Chado::Treatment########
6845 package Chado
::Treatment
;
6846 use base
'Chado::DBI';
6847 use Class
::DBI
::Pager
;
6848 no warnings
qw(redefine);
6850 Chado
::Treatment
->set_up_table('treatment');
6853 # Primary key accessors
6856 sub id
{ shift->treatment_id }
6857 sub treatment
{ shift->treatment_id }
6867 Chado
::Treatment
->has_a(biomaterial_id
=> 'Chado::Biomaterial');
6869 sub Chado
::Treatment
::biomaterial
{ return shift->biomaterial_id }
6872 Chado
::Treatment
->has_a(type_id
=> 'Chado::Cvterm');
6874 sub Chado
::Treatment
::cvterm
{ return shift->type_id }
6877 Chado
::Treatment
->has_a(protocol_id
=> 'Chado::Protocol');
6879 sub Chado
::Treatment
::protocol
{ return shift->protocol_id }
6886 Chado
::Treatment
->has_many('biomaterial_treatment_treatment_id', 'Chado::Biomaterial_Treatment' => 'treatment_id');
6889 sub biomaterial_treatments
{ return shift->biomaterial_treatment_treatment_id }
6893 # one to many to one
6895 # one to many to many
6897 #many to many to one
6899 #many to many to many
6905 ########Chado::Pubprop########
6907 package Chado
::Pubprop
;
6908 use base
'Chado::DBI';
6909 use Class
::DBI
::Pager
;
6910 no warnings
qw(redefine);
6912 Chado
::Pubprop
->set_up_table('pubprop');
6915 # Primary key accessors
6918 sub id
{ shift->pubprop_id }
6919 sub pubprop
{ shift->pubprop_id }
6928 Chado
::Pubprop
->has_a(pub_id
=> 'Chado::Pub');
6930 sub Chado
::Pubprop
::pub
{ return shift->pub_id }
6933 Chado
::Pubprop
->has_a(type_id
=> 'Chado::Cvterm');
6935 sub Chado
::Pubprop
::cvterm
{ return shift->type_id }
6944 # one to many to one
6946 # one to many to many
6948 #many to many to one
6950 #many to many to many
6956 ########Chado::Phylonode_Dbxref########
6958 package Chado
::Phylonode_Dbxref
;
6959 use base
'Chado::DBI';
6960 use Class
::DBI
::Pager
;
6961 no warnings
qw(redefine);
6963 Chado
::Phylonode_Dbxref
->set_up_table('phylonode_dbxref');
6966 # Primary key accessors
6969 sub id
{ shift->phylonode_dbxref_id }
6970 sub phylonode_dbxref
{ shift->phylonode_dbxref_id }
6979 Chado
::Phylonode_Dbxref
->has_a(phylonode_id
=> 'Chado::Phylonode');
6981 sub Chado
::Phylonode_Dbxref
::phylonode
{ return shift->phylonode_id }
6984 Chado
::Phylonode_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
6986 sub Chado
::Phylonode_Dbxref
::dbxref
{ return shift->dbxref_id }
6995 # one to many to one
6997 # one to many to many
6999 #many to many to one
7001 #many to many to many
7007 ########Chado::Libraryprop########
7009 package Chado
::Libraryprop
;
7010 use base
'Chado::DBI';
7011 use Class
::DBI
::Pager
;
7012 no warnings
qw(redefine);
7014 Chado
::Libraryprop
->set_up_table('libraryprop');
7017 # Primary key accessors
7020 sub id
{ shift->libraryprop_id }
7021 sub libraryprop
{ shift->libraryprop_id }
7030 Chado
::Libraryprop
->has_a(library_id
=> 'Chado::Library');
7032 sub Chado
::Libraryprop
::library
{ return shift->library_id }
7035 Chado
::Libraryprop
->has_a(type_id
=> 'Chado::Cvterm');
7037 sub Chado
::Libraryprop
::cvterm
{ return shift->type_id }
7046 # one to many to one
7048 # one to many to many
7050 #many to many to one
7052 #many to many to many
7058 ########Chado::Quantificationprop########
7060 package Chado
::Quantificationprop
;
7061 use base
'Chado::DBI';
7062 use Class
::DBI
::Pager
;
7063 no warnings
qw(redefine);
7065 Chado
::Quantificationprop
->set_up_table('quantificationprop');
7068 # Primary key accessors
7071 sub id
{ shift->quantificationprop_id }
7072 sub quantificationprop
{ shift->quantificationprop_id }
7081 Chado
::Quantificationprop
->has_a(quantification_id
=> 'Chado::Quantification');
7083 sub Chado
::Quantificationprop
::quantification
{ return shift->quantification_id }
7086 Chado
::Quantificationprop
->has_a(type_id
=> 'Chado::Cvterm');
7088 sub Chado
::Quantificationprop
::cvterm
{ return shift->type_id }
7097 # one to many to one
7099 # one to many to many
7101 #many to many to one
7103 #many to many to many
7109 ########Chado::Expression_Cvterm########
7111 package Chado
::Expression_Cvterm
;
7112 use base
'Chado::DBI';
7113 use Class
::DBI
::Pager
;
7114 no warnings
qw(redefine);
7116 Chado
::Expression_Cvterm
->set_up_table('expression_cvterm');
7119 # Primary key accessors
7122 sub id
{ shift->expression_cvterm_id }
7123 sub expression_cvterm
{ shift->expression_cvterm_id }
7132 Chado
::Expression_Cvterm
->has_a(expression_id
=> 'Chado::Expression');
7134 sub Chado
::Expression_Cvterm
::expression
{ return shift->expression_id }
7137 Chado
::Expression_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
7139 sub cvterm
{ return shift->cvterm_id }
7142 Chado
::Expression_Cvterm
->has_a(cvterm_type_id
=> 'Chado::Cvterm');
7144 sub cvterm_type
{ return shift->cvterm_type_id }
7152 Chado
::Expression_Cvterm
->has_many('expression_cvtermprop_expression_cvterm_id', 'Chado::Expression_Cvtermprop' => 'expression_cvterm_id');
7155 sub expression_cvtermprops
{ return shift->expression_cvtermprop_expression_cvterm_id }
7159 # one to many to one
7161 # one to many to many
7163 #many to many to one
7165 #many to many to many
7171 ########Chado::Cv########
7174 use base
'Chado::DBI';
7175 use Class
::DBI
::Pager
;
7176 no warnings
qw(redefine);
7178 Chado
::Cv
->set_up_table('cv');
7181 # Primary key accessors
7184 sub id
{ shift->cv_id }
7185 sub cv
{ shift->cv_id }
7200 Chado
::Cv
->has_many('cvtermpath_cv_id', 'Chado::Cvtermpath' => 'cv_id');
7203 sub cvtermpaths
{ return shift->cvtermpath_cv_id }
7205 Chado
::Cv
->has_many('cvterm_cv_id', 'Chado::Cvterm' => 'cv_id');
7208 sub cvterms
{ return shift->cvterm_cv_id }
7212 # one to many to one
7214 # one to many to many
7216 #many to many to one
7218 #many to many to many
7224 ########Chado::Feature_Cvterm_Pub########
7226 package Chado
::Feature_Cvterm_Pub
;
7227 use base
'Chado::DBI';
7228 use Class
::DBI
::Pager
;
7229 no warnings
qw(redefine);
7231 Chado
::Feature_Cvterm_Pub
->set_up_table('feature_cvterm_pub');
7234 # Primary key accessors
7237 sub id
{ shift->feature_cvterm_pub_id }
7238 sub feature_cvterm_pub
{ shift->feature_cvterm_pub_id }
7247 Chado
::Feature_Cvterm_Pub
->has_a(feature_cvterm_id
=> 'Chado::Feature_Cvterm');
7249 sub Chado
::Feature_Cvterm_Pub
::feature_cvterm
{ return shift->feature_cvterm_id }
7252 Chado
::Feature_Cvterm_Pub
->has_a(pub_id
=> 'Chado::Pub');
7254 sub Chado
::Feature_Cvterm_Pub
::pub
{ return shift->pub_id }
7263 # one to many to one
7265 # one to many to many
7267 #many to many to one
7269 #many to many to many
7275 ########Chado::Project########
7277 package Chado
::Project
;
7278 use base
'Chado::DBI';
7279 use Class
::DBI
::Pager
;
7280 no warnings
qw(redefine);
7282 Chado
::Project
->set_up_table('project');
7285 # Primary key accessors
7288 sub id
{ shift->project_id }
7289 sub project
{ shift->project_id }
7303 Chado
::Project
->has_many('assay_project_project_id', 'Chado::Assay_Project' => 'project_id');
7309 # Has Compound Many (many to many relationships in all their flavors)
7314 sub assay_project_projects
{ return shift->assay_project_project_id }
7316 # one to many to one
7320 sub assays
{ my $self = shift; return map $_->assay_id, $self->assay_project_project_id }
7322 # one to many to many
7325 #many to many to one
7328 #many to many to many
7335 ########Chado::Library########
7337 package Chado
::Library
;
7338 use base
'Chado::DBI';
7339 use Class
::DBI
::Pager
;
7340 no warnings
qw(redefine);
7342 Chado
::Library
->set_up_table('library');
7345 # Primary key accessors
7348 sub id
{ shift->library_id }
7349 sub library
{ shift->library_id }
7362 Chado
::Library
->has_a(organism_id
=> 'Chado::Organism');
7364 sub Chado
::Library
::organism
{ return shift->organism_id }
7367 Chado
::Library
->has_a(type_id
=> 'Chado::Cvterm');
7369 sub Chado
::Library
::cvterm
{ return shift->type_id }
7377 Chado
::Library
->has_many('library_pub_library_id', 'Chado::Library_Pub' => 'library_id');
7379 Chado
::Library
->has_many('library_cvterm_library_id', 'Chado::Library_Cvterm' => 'library_id');
7381 Chado
::Library
->has_many('library_feature_library_id', 'Chado::Library_Feature' => 'library_id');
7383 Chado
::Library
->has_many('libraryprop_library_id', 'Chado::Libraryprop' => 'library_id');
7386 sub libraryprops
{ return shift->libraryprop_library_id }
7388 Chado
::Library
->has_many('library_synonym_library_id', 'Chado::Library_Synonym' => 'library_id');
7391 sub library_synonyms
{ return shift->library_synonym_library_id }
7397 # Has Compound Many (many to many relationships in all their flavors)
7401 sub library_feature_librarys
{ return shift->library_feature_library_id }
7406 sub library_pub_librarys
{ return shift->library_pub_library_id }
7411 sub library_cvterm_librarys
{ return shift->library_cvterm_library_id }
7416 sub library_cvterm_librarys
{ return shift->library_cvterm_library_id }
7419 # one to many to one
7423 sub features
{ my $self = shift; return map $_->feature_id, $self->library_feature_library_id }
7427 sub pubs
{ my $self = shift; return map $_->pub_id, $self->library_pub_library_id }
7431 sub cvterms
{ my $self = shift; return map $_->cvterm_id, $self->library_cvterm_library_id }
7435 sub pubs
{ my $self = shift; return map $_->pub_id, $self->library_cvterm_library_id }
7437 # one to many to many
7443 #many to many to one
7449 #many to many to many
7459 ########Chado::Contact########
7461 package Chado
::Contact
;
7462 use base
'Chado::DBI';
7463 use Class
::DBI
::Pager
;
7464 no warnings
qw(redefine);
7466 Chado
::Contact
->set_up_table('contact');
7469 # Primary key accessors
7472 sub id
{ shift->contact_id }
7473 sub contact
{ shift->contact_id }
7489 Chado
::Contact
->has_a(type_id
=> 'Chado::Cvterm');
7491 sub Chado
::Contact
::cvterm
{ return shift->type_id }
7499 Chado
::Contact
->has_many('assay_operator_id', 'Chado::Assay' => 'operator_id');
7502 sub assays
{ return shift->assay_operator_id }
7504 Chado
::Contact
->has_many('quantification_operator_id', 'Chado::Quantification' => 'operator_id');
7507 sub quantifications
{ return shift->quantification_operator_id }
7509 Chado
::Contact
->has_many('arraydesign_manufacturer_id', 'Chado::Arraydesign' => 'manufacturer_id');
7512 sub arraydesigns
{ return shift->arraydesign_manufacturer_id }
7514 Chado
::Contact
->has_many('study_contact_id', 'Chado::Study' => 'contact_id');
7517 sub studys
{ return shift->study_contact_id }
7519 Chado
::Contact
->has_many('contact_relationship_subject_id', 'Chado::Contact_Relationship' => 'subject_id');
7521 Chado
::Contact
->has_many('contact_relationship_object_id', 'Chado::Contact_Relationship' => 'object_id');
7523 Chado
::Contact
->has_many('stockcollection_contact_id', 'Chado::Stockcollection' => 'contact_id');
7526 sub stockcollections
{ return shift->stockcollection_contact_id }
7528 Chado
::Contact
->has_many('biomaterial_biosourceprovider_id', 'Chado::Biomaterial' => 'biosourceprovider_id');
7531 sub biomaterials
{ return shift->biomaterial_biosourceprovider_id }
7537 # Has Compound Many (many to many relationships in all their flavors)
7542 sub contact_relationship_subjects
{ return shift->contact_relationship_subject_id }
7545 sub contact_relationship_objects
{ return shift->contact_relationship_object_id }
7547 # one to many to one
7550 # one to many to many
7553 #many to many to one
7559 sub contact_relationship_subject_types
{ my $self = shift; return map $_->type_id, $self->contact_relationship_subject_id }
7562 sub contact_relationship_object_types
{ my $self = shift; return map $_->type_id, $self->contact_relationship_object_id }
7565 #many to many to many
7572 ########Chado::Featureprop########
7574 package Chado
::Featureprop
;
7575 use base
'Chado::DBI';
7576 use Class
::DBI
::Pager
;
7577 no warnings
qw(redefine);
7579 Chado
::Featureprop
->set_up_table('featureprop');
7582 # Primary key accessors
7585 sub id
{ shift->featureprop_id }
7586 sub featureprop
{ shift->featureprop_id }
7595 Chado
::Featureprop
->has_a(feature_id
=> 'Chado::Feature');
7597 sub Chado
::Featureprop
::feature
{ return shift->feature_id }
7600 Chado
::Featureprop
->has_a(type_id
=> 'Chado::Cvterm');
7602 sub Chado
::Featureprop
::cvterm
{ return shift->type_id }
7610 Chado
::Featureprop
->has_many('featureprop_pub_featureprop_id', 'Chado::Featureprop_Pub' => 'featureprop_id');
7616 # Has Compound Many (many to many relationships in all their flavors)
7620 sub featureprop_pub_featureprops
{ return shift->featureprop_pub_featureprop_id }
7623 # one to many to one
7627 sub pubs
{ my $self = shift; return map $_->pub_id, $self->featureprop_pub_featureprop_id }
7629 # one to many to many
7632 #many to many to one
7635 #many to many to many
7642 ########Chado::Phylonode_Relationship########
7644 package Chado
::Phylonode_Relationship
;
7645 use base
'Chado::DBI';
7646 use Class
::DBI
::Pager
;
7647 no warnings
qw(redefine);
7649 Chado
::Phylonode_Relationship
->set_up_table('phylonode_relationship');
7652 # Primary key accessors
7655 sub id
{ shift->phylonode_relationship_id }
7656 sub phylonode_relationship
{ shift->phylonode_relationship_id }
7665 Chado
::Phylonode_Relationship
->has_a(subject_id
=> 'Chado::Phylonode');
7667 sub subject
{ return shift->subject_id }
7670 Chado
::Phylonode_Relationship
->has_a(object_id
=> 'Chado::Phylonode');
7672 sub object
{ return shift->object_id }
7675 Chado
::Phylonode_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
7677 sub Chado
::Phylonode_Relationship
::cvterm
{ return shift->type_id }
7680 Chado
::Phylonode_Relationship
->has_a(phylotree_id
=> 'Chado::Phylotree');
7682 sub Chado
::Phylonode_Relationship
::phylotree
{ return shift->phylotree_id }
7691 # one to many to one
7693 # one to many to many
7695 #many to many to one
7697 #many to many to many
7703 ########Chado::Stock_Pub########
7705 package Chado
::Stock_Pub
;
7706 use base
'Chado::DBI';
7707 use Class
::DBI
::Pager
;
7708 no warnings
qw(redefine);
7710 Chado
::Stock_Pub
->set_up_table('stock_pub');
7713 # Primary key accessors
7716 sub id
{ shift->stock_pub_id }
7717 sub stock_pub
{ shift->stock_pub_id }
7726 Chado
::Stock_Pub
->has_a(stock_id
=> 'Chado::Stock');
7728 sub Chado
::Stock_Pub
::stock
{ return shift->stock_id }
7731 Chado
::Stock_Pub
->has_a(pub_id
=> 'Chado::Pub');
7733 sub Chado
::Stock_Pub
::pub
{ return shift->pub_id }
7742 # one to many to one
7744 # one to many to many
7746 #many to many to one
7748 #many to many to many
7754 ########Chado::Stock_Genotype########
7756 package Chado
::Stock_Genotype
;
7757 use base
'Chado::DBI';
7758 use Class
::DBI
::Pager
;
7759 no warnings
qw(redefine);
7761 Chado
::Stock_Genotype
->set_up_table('stock_genotype');
7764 # Primary key accessors
7767 sub id
{ shift->stock_genotype_id }
7768 sub stock_genotype
{ shift->stock_genotype_id }
7777 Chado
::Stock_Genotype
->has_a(stock_id
=> 'Chado::Stock');
7779 sub Chado
::Stock_Genotype
::stock
{ return shift->stock_id }
7782 Chado
::Stock_Genotype
->has_a(genotype_id
=> 'Chado::Genotype');
7784 sub Chado
::Stock_Genotype
::genotype
{ return shift->genotype_id }
7793 # one to many to one
7795 # one to many to many
7797 #many to many to one
7799 #many to many to many
7805 ########Chado::Protocolparam########
7807 package Chado
::Protocolparam
;
7808 use base
'Chado::DBI';
7809 use Class
::DBI
::Pager
;
7810 no warnings
qw(redefine);
7812 Chado
::Protocolparam
->set_up_table('protocolparam');
7815 # Primary key accessors
7818 sub id
{ shift->protocolparam_id }
7819 sub protocolparam
{ shift->protocolparam_id }
7828 Chado
::Protocolparam
->has_a(protocol_id
=> 'Chado::Protocol');
7830 sub Chado
::Protocolparam
::protocol
{ return shift->protocol_id }
7833 Chado
::Protocolparam
->has_a(datatype_id
=> 'Chado::Cvterm');
7835 sub datatype
{ return shift->datatype_id }
7838 Chado
::Protocolparam
->has_a(unittype_id
=> 'Chado::Cvterm');
7840 sub unittype
{ return shift->unittype_id }
7849 # one to many to one
7851 # one to many to many
7853 #many to many to one
7855 #many to many to many
7861 ########Chado::Feature_Synonym########
7863 package Chado
::Feature_Synonym
;
7864 use base
'Chado::DBI';
7865 use Class
::DBI
::Pager
;
7866 no warnings
qw(redefine);
7868 Chado
::Feature_Synonym
->set_up_table('feature_synonym');
7871 # Primary key accessors
7874 sub id
{ shift->feature_synonym_id }
7875 sub feature_synonym
{ shift->feature_synonym_id }
7884 Chado
::Feature_Synonym
->has_a(synonym_id
=> 'Chado::Synonym');
7886 sub Chado
::Feature_Synonym
::synonym
{ return shift->synonym_id }
7889 Chado
::Feature_Synonym
->has_a(feature_id
=> 'Chado::Feature');
7891 sub Chado
::Feature_Synonym
::feature
{ return shift->feature_id }
7894 Chado
::Feature_Synonym
->has_a(pub_id
=> 'Chado::Pub');
7896 sub Chado
::Feature_Synonym
::pub
{ return shift->pub_id }
7905 # one to many to one
7907 # one to many to many
7909 #many to many to one
7911 #many to many to many
7917 ########Chado::Control########
7919 package Chado
::Control
;
7920 use base
'Chado::DBI';
7921 use Class
::DBI
::Pager
;
7922 no warnings
qw(redefine);
7924 Chado
::Control
->set_up_table('control');
7927 # Primary key accessors
7930 sub id
{ shift->control_id }
7931 sub control
{ shift->control_id }
7940 Chado
::Control
->has_a(type_id
=> 'Chado::Cvterm');
7942 sub Chado
::Control
::cvterm
{ return shift->type_id }
7945 Chado
::Control
->has_a(assay_id
=> 'Chado::Assay');
7947 sub Chado
::Control
::assay
{ return shift->assay_id }
7950 Chado
::Control
->has_a(tableinfo_id
=> 'Chado::Tableinfo');
7952 sub Chado
::Control
::tableinfo
{ return shift->tableinfo_id }
7961 # one to many to one
7963 # one to many to many
7965 #many to many to one
7967 #many to many to many
7973 ########Chado::Phenotype_Cvterm########
7975 package Chado
::Phenotype_Cvterm
;
7976 use base
'Chado::DBI';
7977 use Class
::DBI
::Pager
;
7978 no warnings
qw(redefine);
7980 Chado
::Phenotype_Cvterm
->set_up_table('phenotype_cvterm');
7983 # Primary key accessors
7986 sub id
{ shift->phenotype_cvterm_id }
7987 sub phenotype_cvterm
{ shift->phenotype_cvterm_id }
7996 Chado
::Phenotype_Cvterm
->has_a(phenotype_id
=> 'Chado::Phenotype');
7998 sub Chado
::Phenotype_Cvterm
::phenotype
{ return shift->phenotype_id }
8001 Chado
::Phenotype_Cvterm
->has_a(cvterm_id
=> 'Chado::Cvterm');
8003 sub Chado
::Phenotype_Cvterm
::cvterm
{ return shift->cvterm_id }
8012 # one to many to one
8014 # one to many to many
8016 #many to many to one
8018 #many to many to many
8024 ########Chado::Stockprop########
8026 package Chado
::Stockprop
;
8027 use base
'Chado::DBI';
8028 use Class
::DBI
::Pager
;
8029 no warnings
qw(redefine);
8031 Chado
::Stockprop
->set_up_table('stockprop');
8034 # Primary key accessors
8037 sub id
{ shift->stockprop_id }
8038 sub stockprop
{ shift->stockprop_id }
8048 Chado
::Stockprop
->has_a(stock_id
=> 'Chado::Stock');
8050 sub Chado
::Stockprop
::stock
{ return shift->stock_id }
8053 Chado
::Stockprop
->has_a(type_id
=> 'Chado::Cvterm');
8055 sub Chado
::Stockprop
::cvterm
{ return shift->type_id }
8062 Chado
::Stockprop
->has_many('stockprop_pub_stockprop_id', 'Chado::Stockprop_Pub' => 'stockprop_id');
8068 # Has Compound Many (many to many relationships in all their flavors)
8072 sub stockprop_pub_stockprops
{ return shift->stockprop_pub_stockprop_id }
8075 # one to many to one
8079 sub pubs
{ my $self = shift; return map $_->pub_id, $self->stockprop_pub_stockprop_id }
8081 # one to many to many
8084 #many to many to one
8087 #many to many to many
8094 ########Chado::Feature_Genotype########
8096 package Chado
::Feature_Genotype
;
8097 use base
'Chado::DBI';
8098 use Class
::DBI
::Pager
;
8099 no warnings
qw(redefine);
8101 Chado
::Feature_Genotype
->set_up_table('feature_genotype');
8104 # Primary key accessors
8107 sub id
{ shift->feature_genotype_id }
8108 sub feature_genotype
{ shift->feature_genotype_id }
8117 Chado
::Feature_Genotype
->has_a(feature_id
=> 'Chado::Feature');
8119 sub feature
{ return shift->feature_id }
8122 Chado
::Feature_Genotype
->has_a(genotype_id
=> 'Chado::Genotype');
8124 sub Chado
::Feature_Genotype
::genotype
{ return shift->genotype_id }
8127 Chado
::Feature_Genotype
->has_a(chromosome_id
=> 'Chado::Feature');
8129 sub chromosome
{ return shift->chromosome_id }
8132 Chado
::Feature_Genotype
->has_a(cvterm_id
=> 'Chado::Cvterm');
8134 sub Chado
::Feature_Genotype
::cvterm
{ return shift->cvterm_id }
8143 # one to many to one
8145 # one to many to many
8147 #many to many to one
8149 #many to many to many
8155 ########Chado::Featuremap_Pub########
8157 package Chado
::Featuremap_Pub
;
8158 use base
'Chado::DBI';
8159 use Class
::DBI
::Pager
;
8160 no warnings
qw(redefine);
8162 Chado
::Featuremap_Pub
->set_up_table('featuremap_pub');
8165 # Primary key accessors
8168 sub id
{ shift->featuremap_pub_id }
8169 sub featuremap_pub
{ shift->featuremap_pub_id }
8178 Chado
::Featuremap_Pub
->has_a(featuremap_id
=> 'Chado::Featuremap');
8180 sub Chado
::Featuremap_Pub
::featuremap
{ return shift->featuremap_id }
8183 Chado
::Featuremap_Pub
->has_a(pub_id
=> 'Chado::Pub');
8185 sub Chado
::Featuremap_Pub
::pub
{ return shift->pub_id }
8194 # one to many to one
8196 # one to many to many
8198 #many to many to one
8200 #many to many to many
8206 ########Chado::Feature_Relationshipprop_Pub########
8208 package Chado
::Feature_Relationshipprop_Pub
;
8209 use base
'Chado::DBI';
8210 use Class
::DBI
::Pager
;
8211 no warnings
qw(redefine);
8213 Chado
::Feature_Relationshipprop_Pub
->set_up_table('feature_relationshipprop_pub');
8216 # Primary key accessors
8219 sub id
{ shift->feature_relationshipprop_pub_id }
8220 sub feature_relationshipprop_pub
{ shift->feature_relationshipprop_pub_id }
8229 Chado
::Feature_Relationshipprop_Pub
->has_a(feature_relationshipprop_id
=> 'Chado::Feature_Relationshipprop');
8231 sub Chado
::Feature_Relationshipprop_Pub
::feature_relationshipprop
{ return shift->feature_relationshipprop_id }
8234 Chado
::Feature_Relationshipprop_Pub
->has_a(pub_id
=> 'Chado::Pub');
8236 sub Chado
::Feature_Relationshipprop_Pub
::pub
{ return shift->pub_id }
8245 # one to many to one
8247 # one to many to many
8249 #many to many to one
8251 #many to many to many
8257 ########Chado::Cvterm########
8259 package Chado
::Cvterm
;
8260 use base
'Chado::DBI';
8261 use Class
::DBI
::Pager
;
8262 no warnings
qw(redefine);
8264 Chado
::Cvterm
->set_up_table('cvterm');
8267 # Primary key accessors
8270 sub id
{ shift->cvterm_id }
8271 sub cvterm
{ shift->cvterm_id }
8347 Chado
::Cvterm
->has_a(cv_id
=> 'Chado::Cv');
8349 sub Chado
::Cvterm
::cv
{ return shift->cv_id }
8352 Chado
::Cvterm
->has_a(dbxref_id
=> 'Chado::Dbxref');
8354 sub Chado
::Cvterm
::dbxref
{ return shift->dbxref_id }
8371 Chado
::Cvterm
->has_many('studyfactor_type_id', 'Chado::Studyfactor' => 'type_id');
8374 sub studyfactors
{ return shift->studyfactor_type_id }
8376 Chado
::Cvterm
->has_many('feature_cvterm_cvterm_id', 'Chado::Feature_Cvterm' => 'cvterm_id');
8379 sub feature_cvterms
{ return shift->feature_cvterm_cvterm_id }
8381 Chado
::Cvterm
->has_many('arraydesign_platformtype_id', 'Chado::Arraydesign' => 'platformtype_id');
8383 sub arraydesign_platformtypes
{ return shift->arraydesign_platformtype_id }
8384 #sub --arraydesign--platformtype_id-- {}
8386 Chado
::Cvterm
->has_many('arraydesign_substratetype_id', 'Chado::Arraydesign' => 'substratetype_id');
8388 sub arraydesign_substratetypes
{ return shift->arraydesign_substratetype_id }
8389 #sub --arraydesign--substratetype_id-- {}
8391 Chado
::Cvterm
->has_many('phylonodeprop_type_id', 'Chado::Phylonodeprop' => 'type_id');
8394 sub phylonodeprops
{ return shift->phylonodeprop_type_id }
8396 Chado
::Cvterm
->has_many('stock_cvterm_cvterm_id', 'Chado::Stock_Cvterm' => 'cvterm_id');
8398 Chado
::Cvterm
->has_many('biomaterial_relationship_type_id', 'Chado::Biomaterial_Relationship' => 'type_id');
8400 Chado
::Cvterm
->has_many('cvtermprop_cvterm_id', 'Chado::Cvtermprop' => 'cvterm_id');
8403 sub cvtermprop_cvterm_ids
{ my $self = shift; return $self->cvtermprop_cvterm_id(@_) }
8405 Chado
::Cvterm
->has_many('cvtermprop_type_id', 'Chado::Cvtermprop' => 'type_id');
8408 sub cvtermprop_type_ids
{ my $self = shift; return $self->cvtermprop_type_id(@_) }
8410 Chado
::Cvterm
->has_many('quantification_relationship_type_id', 'Chado::Quantification_Relationship' => 'type_id');
8412 Chado
::Cvterm
->has_many('element_type_id', 'Chado::Element' => 'type_id');
8414 Chado
::Cvterm
->has_many('phenotype_comparison_cvterm_cvterm_id', 'Chado::Phenotype_Comparison_Cvterm' => 'cvterm_id');
8417 sub phenotype_comparison_cvterms
{ return shift->phenotype_comparison_cvterm_cvterm_id }
8419 Chado
::Cvterm
->has_many('arraydesignprop_type_id', 'Chado::Arraydesignprop' => 'type_id');
8422 sub arraydesignprops
{ return shift->arraydesignprop_type_id }
8424 Chado
::Cvterm
->has_many('synonym_type_id', 'Chado::Synonym' => 'type_id');
8427 sub synonyms
{ return shift->synonym_type_id }
8429 Chado
::Cvterm
->has_many('cvtermpath_type_id', 'Chado::Cvtermpath' => 'type_id');
8432 sub cvtermpath_type_ids
{ my $self = shift; return $self->cvtermpath_type_id(@_) }
8434 Chado
::Cvterm
->has_many('cvtermpath_subject_id', 'Chado::Cvtermpath' => 'subject_id');
8437 sub cvtermpath_subject_ids
{ my $self = shift; return $self->cvtermpath_subject_id(@_) }
8439 Chado
::Cvterm
->has_many('cvtermpath_object_id', 'Chado::Cvtermpath' => 'object_id');
8442 sub cvtermpath_object_ids
{ my $self = shift; return $self->cvtermpath_object_id(@_) }
8444 Chado
::Cvterm
->has_many('biomaterial_treatment_unittype_id', 'Chado::Biomaterial_Treatment' => 'unittype_id');
8447 sub biomaterial_treatments
{ return shift->biomaterial_treatment_unittype_id }
8449 Chado
::Cvterm
->has_many('expressionprop_type_id', 'Chado::Expressionprop' => 'type_id');
8452 sub expressionprops
{ return shift->expressionprop_type_id }
8454 Chado
::Cvterm
->has_many('cvterm_relationship_type_id', 'Chado::Cvterm_Relationship' => 'type_id');
8456 Chado
::Cvterm
->has_many('cvterm_relationship_subject_id', 'Chado::Cvterm_Relationship' => 'subject_id');
8458 Chado
::Cvterm
->has_many('cvterm_relationship_object_id', 'Chado::Cvterm_Relationship' => 'object_id');
8460 Chado
::Cvterm
->has_many('acquisitionprop_type_id', 'Chado::Acquisitionprop' => 'type_id');
8463 sub acquisitionprops
{ return shift->acquisitionprop_type_id }
8465 Chado
::Cvterm
->has_many('studydesignprop_type_id', 'Chado::Studydesignprop' => 'type_id');
8468 sub studydesignprops
{ return shift->studydesignprop_type_id }
8470 Chado
::Cvterm
->has_many('assayprop_type_id', 'Chado::Assayprop' => 'type_id');
8473 sub assayprops
{ return shift->assayprop_type_id }
8475 Chado
::Cvterm
->has_many('environment_cvterm_cvterm_id', 'Chado::Environment_Cvterm' => 'cvterm_id');
8477 Chado
::Cvterm
->has_many('contact_relationship_type_id', 'Chado::Contact_Relationship' => 'type_id');
8479 Chado
::Cvterm
->has_many('pub_type_id', 'Chado::Pub' => 'type_id');
8481 sub pub_types
{ return shift->pub_type_id }
8482 #sub --pub--type_id-- {}
8484 Chado
::Cvterm
->has_many('organismprop_type_id', 'Chado::Organismprop' => 'type_id');
8487 sub organismprops
{ return shift->organismprop_type_id }
8489 Chado
::Cvterm
->has_many('dbxrefprop_type_id', 'Chado::Dbxrefprop' => 'type_id');
8492 sub dbxrefprops
{ return shift->dbxrefprop_type_id }
8494 Chado
::Cvterm
->has_many('feature_relationship_type_id', 'Chado::Feature_Relationship' => 'type_id');
8497 sub feature_relationships
{ return shift->feature_relationship_type_id }
8499 Chado
::Cvterm
->has_many('acquisition_relationship_type_id', 'Chado::Acquisition_Relationship' => 'type_id');
8502 sub acquisition_relationships
{ return shift->acquisition_relationship_type_id }
8504 Chado
::Cvterm
->has_many('feature_cvtermprop_type_id', 'Chado::Feature_Cvtermprop' => 'type_id');
8507 sub feature_cvtermprops
{ return shift->feature_cvtermprop_type_id }
8509 Chado
::Cvterm
->has_many('protocol_type_id', 'Chado::Protocol' => 'type_id');
8512 sub protocols
{ return shift->protocol_type_id }
8514 Chado
::Cvterm
->has_many('elementresult_relationship_type_id', 'Chado::Elementresult_Relationship' => 'type_id');
8517 sub elementresult_relationships
{ return shift->elementresult_relationship_type_id }
8519 Chado
::Cvterm
->has_many('cvtermsynonym_cvterm_id', 'Chado::Cvtermsynonym' => 'cvterm_id');
8522 sub cvtermsynonym_cvterm_ids
{ my $self = shift; return $self->cvtermsynonym_cvterm_id(@_) }
8524 Chado
::Cvterm
->has_many('cvtermsynonym_type_id', 'Chado::Cvtermsynonym' => 'type_id');
8527 sub cvtermsynonym_type_ids
{ my $self = shift; return $self->cvtermsynonym_type_id(@_) }
8529 Chado
::Cvterm
->has_many('phylonode_type_id', 'Chado::Phylonode' => 'type_id');
8532 sub phylonodes
{ return shift->phylonode_type_id }
8534 Chado
::Cvterm
->has_many('stock_relationship_type_id', 'Chado::Stock_Relationship' => 'type_id');
8537 sub stock_relationships
{ return shift->stock_relationship_type_id }
8539 Chado
::Cvterm
->has_many('feature_type_id', 'Chado::Feature' => 'type_id');
8541 sub feature_types
{ return shift->feature_type_id }
8542 #sub --feature--type_id-- {}
8544 Chado
::Cvterm
->has_many('feature_pubprop_type_id', 'Chado::Feature_Pubprop' => 'type_id');
8547 sub feature_pubprops
{ return shift->feature_pubprop_type_id }
8549 Chado
::Cvterm
->has_many('stockcollection_type_id', 'Chado::Stockcollection' => 'type_id');
8552 sub stockcollections
{ return shift->stockcollection_type_id }
8554 Chado
::Cvterm
->has_many('biomaterialprop_type_id', 'Chado::Biomaterialprop' => 'type_id');
8557 sub biomaterialprops
{ return shift->biomaterialprop_type_id }
8559 Chado
::Cvterm
->has_many('library_cvterm_cvterm_id', 'Chado::Library_Cvterm' => 'cvterm_id');
8561 Chado
::Cvterm
->has_many('analysisprop_type_id', 'Chado::Analysisprop' => 'type_id');
8564 sub analysisprops
{ return shift->analysisprop_type_id }
8566 Chado
::Cvterm
->has_many('cvterm_dbxref_cvterm_id', 'Chado::Cvterm_Dbxref' => 'cvterm_id');
8569 sub cvterm_dbxrefs
{ return shift->cvterm_dbxref_cvterm_id }
8571 Chado
::Cvterm
->has_many('feature_relationshipprop_type_id', 'Chado::Feature_Relationshipprop' => 'type_id');
8574 sub feature_relationshipprops
{ return shift->feature_relationshipprop_type_id }
8576 Chado
::Cvterm
->has_many('stockcollectionprop_type_id', 'Chado::Stockcollectionprop' => 'type_id');
8579 sub stockcollectionprops
{ return shift->stockcollectionprop_type_id }
8581 Chado
::Cvterm
->has_many('element_relationship_type_id', 'Chado::Element_Relationship' => 'type_id');
8584 sub element_relationships
{ return shift->element_relationship_type_id }
8586 Chado
::Cvterm
->has_many('stock_type_id', 'Chado::Stock' => 'type_id');
8588 sub stock_types
{ return shift->stock_type_id }
8589 #sub --stock--type_id-- {}
8591 Chado
::Cvterm
->has_many('featuremap_unittype_id', 'Chado::Featuremap' => 'unittype_id');
8594 sub featuremaps
{ return shift->featuremap_unittype_id }
8596 Chado
::Cvterm
->has_many('treatment_type_id', 'Chado::Treatment' => 'type_id');
8599 sub treatments
{ return shift->treatment_type_id }
8601 Chado
::Cvterm
->has_many('pubprop_type_id', 'Chado::Pubprop' => 'type_id');
8604 sub pubprops
{ return shift->pubprop_type_id }
8606 Chado
::Cvterm
->has_many('libraryprop_type_id', 'Chado::Libraryprop' => 'type_id');
8609 sub libraryprops
{ return shift->libraryprop_type_id }
8611 Chado
::Cvterm
->has_many('quantificationprop_type_id', 'Chado::Quantificationprop' => 'type_id');
8614 sub quantificationprops
{ return shift->quantificationprop_type_id }
8616 Chado
::Cvterm
->has_many('expression_cvterm_cvterm_id', 'Chado::Expression_Cvterm' => 'cvterm_id');
8619 sub expression_cvterm_cvterm_ids
{ my $self = shift; return $self->expression_cvterm_cvterm_id(@_) }
8621 Chado
::Cvterm
->has_many('expression_cvterm_cvterm_type_id', 'Chado::Expression_Cvterm' => 'cvterm_type_id');
8624 sub expression_cvterm_cvterm_type_ids
{ my $self = shift; return $self->expression_cvterm_cvterm_type_id(@_) }
8626 Chado
::Cvterm
->has_many('library_type_id', 'Chado::Library' => 'type_id');
8628 sub library_types
{ return shift->library_type_id }
8629 #sub --library--type_id-- {}
8631 Chado
::Cvterm
->has_many('contact_type_id', 'Chado::Contact' => 'type_id');
8634 sub contacts
{ return shift->contact_type_id }
8636 Chado
::Cvterm
->has_many('featureprop_type_id', 'Chado::Featureprop' => 'type_id');
8639 sub featureprops
{ return shift->featureprop_type_id }
8641 Chado
::Cvterm
->has_many('phylonode_relationship_type_id', 'Chado::Phylonode_Relationship' => 'type_id');
8644 sub phylonode_relationships
{ return shift->phylonode_relationship_type_id }
8646 Chado
::Cvterm
->has_many('protocolparam_datatype_id', 'Chado::Protocolparam' => 'datatype_id');
8649 sub protocolparam_datatype_ids
{ my $self = shift; return $self->protocolparam_datatype_id(@_) }
8651 Chado
::Cvterm
->has_many('protocolparam_unittype_id', 'Chado::Protocolparam' => 'unittype_id');
8654 sub protocolparam_unittype_ids
{ my $self = shift; return $self->protocolparam_unittype_id(@_) }
8656 Chado
::Cvterm
->has_many('control_type_id', 'Chado::Control' => 'type_id');
8659 sub controls
{ return shift->control_type_id }
8661 Chado
::Cvterm
->has_many('phenotype_cvterm_cvterm_id', 'Chado::Phenotype_Cvterm' => 'cvterm_id');
8664 sub phenotype_cvterms
{ return shift->phenotype_cvterm_cvterm_id }
8666 Chado
::Cvterm
->has_many('stockprop_type_id', 'Chado::Stockprop' => 'type_id');
8669 sub stockprops
{ return shift->stockprop_type_id }
8671 Chado
::Cvterm
->has_many('feature_genotype_cvterm_id', 'Chado::Feature_Genotype' => 'cvterm_id');
8674 sub feature_genotypes
{ return shift->feature_genotype_cvterm_id }
8676 Chado
::Cvterm
->has_many('phenstatement_type_id', 'Chado::Phenstatement' => 'type_id');
8678 Chado
::Cvterm
->has_many('expression_cvtermprop_type_id', 'Chado::Expression_Cvtermprop' => 'type_id');
8681 sub expression_cvtermprops
{ return shift->expression_cvtermprop_type_id }
8683 Chado
::Cvterm
->has_many('phenotype_observable_id', 'Chado::Phenotype' => 'observable_id');
8685 sub phenotype_observables
{ return shift->phenotype_observable_id }
8686 #sub --phenotype--observable_id-- {}
8688 Chado
::Cvterm
->has_many('phenotype_attr_id', 'Chado::Phenotype' => 'attr_id');
8690 sub phenotype_attrs
{ return shift->phenotype_attr_id }
8691 #sub --phenotype--attr_id-- {}
8693 Chado
::Cvterm
->has_many('phenotype_cvalue_id', 'Chado::Phenotype' => 'cvalue_id');
8695 sub phenotype_cvalues
{ return shift->phenotype_cvalue_id }
8696 #sub --phenotype--cvalue_id-- {}
8698 Chado
::Cvterm
->has_many('phenotype_assay_id', 'Chado::Phenotype' => 'assay_id');
8700 sub phenotype_assays
{ return shift->phenotype_assay_id }
8701 #sub --phenotype--assay_id-- {}
8703 Chado
::Cvterm
->has_many('phendesc_type_id', 'Chado::Phendesc' => 'type_id');
8706 sub phendescs
{ return shift->phendesc_type_id }
8708 Chado
::Cvterm
->has_many('phylotree_type_id', 'Chado::Phylotree' => 'type_id');
8711 sub phylotrees
{ return shift->phylotree_type_id }
8713 Chado
::Cvterm
->has_many('feature_expressionprop_type_id', 'Chado::Feature_Expressionprop' => 'type_id');
8716 sub feature_expressionprops
{ return shift->feature_expressionprop_type_id }
8718 Chado
::Cvterm
->has_many('pub_relationship_type_id', 'Chado::Pub_Relationship' => 'type_id');
8724 # Has Compound Many (many to many relationships in all their flavors)
8729 sub environment_cvterm_cvterms
{ return shift->environment_cvterm_cvterm_id }
8734 sub quantification_relationship_types
{ return shift->quantification_relationship_type_id }
8740 sub stock_cvterm_cvterms
{ return shift->stock_cvterm_cvterm_id }
8744 sub stock_cvterm_cvterms
{ return shift->stock_cvterm_cvterm_id }
8749 sub contact_relationship_types
{ return shift->contact_relationship_type_id }
8756 sub element_types
{ return shift->element_type_id }
8761 sub element_types
{ return shift->element_type_id }
8765 sub element_types
{ return shift->element_type_id }
8771 sub phenstatement_types
{ return shift->phenstatement_type_id }
8776 sub phenstatement_types
{ return shift->phenstatement_type_id }
8780 sub phenstatement_types
{ return shift->phenstatement_type_id }
8786 sub phenstatement_types
{ return shift->phenstatement_type_id }
8791 sub biomaterial_relationship_types
{ return shift->biomaterial_relationship_type_id }
8796 sub cvterm_relationship_types
{ return shift->cvterm_relationship_type_id }
8799 sub cvterm_relationship_subjects
{ return shift->cvterm_relationship_subject_id }
8802 sub cvterm_relationship_objects
{ return shift->cvterm_relationship_object_id }
8808 sub pub_relationship_types
{ return shift->pub_relationship_type_id }
8813 sub library_cvterm_cvterms
{ return shift->library_cvterm_cvterm_id }
8817 sub library_cvterm_cvterms
{ return shift->library_cvterm_cvterm_id }
8820 # one to many to one
8824 sub environments
{ my $self = shift; return map $_->environment_id, $self->environment_cvterm_cvterm_id }
8829 sub stocks
{ my $self = shift; return map $_->stock_id, $self->stock_cvterm_cvterm_id }
8833 sub pubs
{ my $self = shift; return map $_->pub_id, $self->stock_cvterm_cvterm_id }
8838 sub arraydesigns
{ my $self = shift; return map $_->arraydesign_id, $self->element_type_id }
8842 sub features
{ my $self = shift; return map $_->feature_id, $self->element_type_id }
8846 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->element_type_id }
8850 sub genotypes
{ my $self = shift; return map $_->genotype_id, $self->phenstatement_type_id }
8854 sub environments
{ my $self = shift; return map $_->environment_id, $self->phenstatement_type_id }
8858 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phenstatement_type_id }
8862 sub phenotypes
{ my $self = shift; return map $_->phenotype_id, $self->phenstatement_type_id }
8868 sub librarys
{ my $self = shift; return map $_->library_id, $self->library_cvterm_cvterm_id }
8872 sub pubs
{ my $self = shift; return map $_->pub_id, $self->library_cvterm_cvterm_id }
8874 # one to many to many
8883 sub quantification_relationship_subjects
{ my $self = shift; return map $_->subject_id, $self->quantification_relationship_type_id }
8895 sub contact_relationship_subjects
{ my $self = shift; return map $_->subject_id, $self->contact_relationship_type_id }
8912 sub biomaterial_relationship_subjects
{ my $self = shift; return map $_->subject_id, $self->biomaterial_relationship_type_id }
8922 sub pub_relationship_subjects
{ my $self = shift; return map $_->subject_id, $self->pub_relationship_type_id }
8928 #many to many to one
8946 #many to many to many
8968 ########Chado::Biomaterial########
8970 package Chado
::Biomaterial
;
8971 use base
'Chado::DBI';
8972 use Class
::DBI
::Pager
;
8973 no warnings
qw(redefine);
8975 Chado
::Biomaterial
->set_up_table('biomaterial');
8978 # Primary key accessors
8981 sub id
{ shift->biomaterial_id }
8982 sub biomaterial
{ shift->biomaterial_id }
8998 Chado
::Biomaterial
->has_a(taxon_id
=> 'Chado::Organism');
9000 sub Chado
::Biomaterial
::organism
{ return shift->taxon_id }
9003 Chado
::Biomaterial
->has_a(biosourceprovider_id
=> 'Chado::Contact');
9005 sub Chado
::Biomaterial
::contact
{ return shift->biosourceprovider_id }
9008 Chado
::Biomaterial
->has_a(dbxref_id
=> 'Chado::Dbxref');
9010 sub Chado
::Biomaterial
::dbxref
{ return shift->dbxref_id }
9017 Chado
::Biomaterial
->has_many('biomaterial_relationship_subject_id', 'Chado::Biomaterial_Relationship' => 'subject_id');
9019 Chado
::Biomaterial
->has_many('biomaterial_relationship_object_id', 'Chado::Biomaterial_Relationship' => 'object_id');
9021 Chado
::Biomaterial
->has_many('biomaterial_treatment_biomaterial_id', 'Chado::Biomaterial_Treatment' => 'biomaterial_id');
9024 sub biomaterial_treatments
{ return shift->biomaterial_treatment_biomaterial_id }
9026 Chado
::Biomaterial
->has_many('assay_biomaterial_biomaterial_id', 'Chado::Assay_Biomaterial' => 'biomaterial_id');
9029 sub assay_biomaterials
{ return shift->assay_biomaterial_biomaterial_id }
9031 Chado
::Biomaterial
->has_many('biomaterial_dbxref_biomaterial_id', 'Chado::Biomaterial_Dbxref' => 'biomaterial_id');
9033 Chado
::Biomaterial
->has_many('biomaterialprop_biomaterial_id', 'Chado::Biomaterialprop' => 'biomaterial_id');
9036 sub biomaterialprops
{ return shift->biomaterialprop_biomaterial_id }
9038 Chado
::Biomaterial
->has_many('treatment_biomaterial_id', 'Chado::Treatment' => 'biomaterial_id');
9041 sub treatments
{ return shift->treatment_biomaterial_id }
9047 # Has Compound Many (many to many relationships in all their flavors)
9051 sub biomaterial_dbxref_biomaterials
{ return shift->biomaterial_dbxref_biomaterial_id }
9056 sub biomaterial_relationship_subjects
{ return shift->biomaterial_relationship_subject_id }
9060 sub biomaterial_relationship_objects
{ return shift->biomaterial_relationship_object_id }
9062 # one to many to one
9066 sub dbxrefs
{ my $self = shift; return map $_->dbxref_id, $self->biomaterial_dbxref_biomaterial_id }
9069 # one to many to many
9073 #many to many to one
9080 sub biomaterial_relationship_subject_types
{ my $self = shift; return map $_->type_id, $self->biomaterial_relationship_subject_id }
9083 sub biomaterial_relationship_object_types
{ my $self = shift; return map $_->type_id, $self->biomaterial_relationship_object_id }
9086 #many to many to many
9094 ########Chado::Environment########
9096 package Chado
::Environment
;
9097 use base
'Chado::DBI';
9098 use Class
::DBI
::Pager
;
9099 no warnings
qw(redefine);
9101 Chado
::Environment
->set_up_table('environment');
9104 # Primary key accessors
9107 sub id
{ shift->environment_id }
9108 sub environment
{ shift->environment_id }
9126 Chado
::Environment
->has_many('environment_cvterm_environment_id', 'Chado::Environment_Cvterm' => 'environment_id');
9128 Chado
::Environment
->has_many('phenotype_comparison_environment1_id', 'Chado::Phenotype_Comparison' => 'environment1_id');
9130 Chado
::Environment
->has_many('phenotype_comparison_environment2_id', 'Chado::Phenotype_Comparison' => 'environment2_id');
9132 Chado
::Environment
->has_many('phenstatement_environment_id', 'Chado::Phenstatement' => 'environment_id');
9134 Chado
::Environment
->has_many('phendesc_environment_id', 'Chado::Phendesc' => 'environment_id');
9137 sub phendescs
{ return shift->phendesc_environment_id }
9143 # Has Compound Many (many to many relationships in all their flavors)
9147 sub environment_cvterm_environments
{ return shift->environment_cvterm_environment_id }
9153 sub phenotype_comparison_environment1s
{ return shift->phenotype_comparison_environment1_id }
9157 sub phenotype_comparison_environment2s
{ return shift->phenotype_comparison_environment2_id }
9161 sub phenotype_comparison_environment1s
{ return shift->phenotype_comparison_environment1_id }
9164 sub phenotype_comparison_environment2s
{ return shift->phenotype_comparison_environment2_id }
9169 sub phenotype_comparison_environment1s
{ return shift->phenotype_comparison_environment1_id }
9172 sub phenotype_comparison_environment2s
{ return shift->phenotype_comparison_environment2_id }
9177 sub phenotype_comparison_environment1s
{ return shift->phenotype_comparison_environment1_id }
9180 sub phenotype_comparison_environment2s
{ return shift->phenotype_comparison_environment2_id }
9187 sub phenstatement_environments
{ return shift->phenstatement_environment_id }
9191 sub phenstatement_environments
{ return shift->phenstatement_environment_id }
9196 sub phenstatement_environments
{ return shift->phenstatement_environment_id }
9201 sub phenstatement_environments
{ return shift->phenstatement_environment_id }
9204 # one to many to one
9208 sub cvterms
{ my $self = shift; return map $_->cvterm_id, $self->environment_cvterm_environment_id }
9216 sub genotypes
{ my $self = shift; return map $_->genotype_id, $self->phenstatement_environment_id }
9220 sub cvterms
{ my $self = shift; return map $_->type_id, $self->phenstatement_environment_id }
9224 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phenstatement_environment_id }
9228 sub phenotypes
{ my $self = shift; return map $_->phenotype_id, $self->phenstatement_environment_id }
9230 # one to many to many
9241 #many to many to one
9249 sub phenotype_comparison_environment1_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_environment1_id }
9252 sub phenotype_comparison_environment2_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_environment2_id }
9259 sub phenotype_comparison_environment1_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_environment1_id }
9262 sub phenotype_comparison_environment2_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_environment2_id }
9270 #many to many to many
9280 sub phenotype_comparison_environment1_genotype1s
{ my $self = shift; return map $_->phenotype_comparison_genotype1s, $self->phenotype_comparison_environment1s }
9283 sub phenotype_comparison_environment1_genotype2s
{ my $self = shift; return map $_->phenotype_comparison_genotype2s, $self->phenotype_comparison_environment1s }
9290 sub phenotype_comparison_environment2_genotype1s
{ my $self = shift; return map $_->phenotype_comparison_genotype1s, $self->phenotype_comparison_environment2s }
9293 sub phenotype_comparison_environment2_genotype2s
{ my $self = shift; return map $_->phenotype_comparison_genotype2s, $self->phenotype_comparison_environment2s }
9306 sub phenotype_comparison_environment1_phenotype1s
{ my $self = shift; return map $_->phenotype_comparison_phenotype1s, $self->phenotype_comparison_environment1s }
9309 sub phenotype_comparison_environment1_phenotype2s
{ my $self = shift; return map $_->phenotype_comparison_phenotype2s, $self->phenotype_comparison_environment1s }
9316 sub phenotype_comparison_environment2_phenotype1s
{ my $self = shift; return map $_->phenotype_comparison_phenotype1s, $self->phenotype_comparison_environment2s }
9319 sub phenotype_comparison_environment2_phenotype2s
{ my $self = shift; return map $_->phenotype_comparison_phenotype2s, $self->phenotype_comparison_environment2s }
9331 ########Chado::Phenstatement########
9333 package Chado
::Phenstatement
;
9334 use base
'Chado::DBI';
9335 use Class
::DBI
::Pager
;
9336 no warnings
qw(redefine);
9338 Chado
::Phenstatement
->set_up_table('phenstatement');
9341 # Primary key accessors
9344 sub id
{ shift->phenstatement_id }
9345 sub phenstatement
{ shift->phenstatement_id }
9354 Chado
::Phenstatement
->has_a(genotype_id
=> 'Chado::Genotype');
9356 sub Chado
::Phenstatement
::genotype
{ return shift->genotype_id }
9359 Chado
::Phenstatement
->has_a(environment_id
=> 'Chado::Environment');
9361 sub Chado
::Phenstatement
::environment
{ return shift->environment_id }
9364 Chado
::Phenstatement
->has_a(phenotype_id
=> 'Chado::Phenotype');
9366 sub Chado
::Phenstatement
::phenotype
{ return shift->phenotype_id }
9369 Chado
::Phenstatement
->has_a(type_id
=> 'Chado::Cvterm');
9371 sub Chado
::Phenstatement
::cvterm
{ return shift->type_id }
9374 Chado
::Phenstatement
->has_a(pub_id
=> 'Chado::Pub');
9376 sub Chado
::Phenstatement
::pub
{ return shift->pub_id }
9385 # one to many to one
9387 # one to many to many
9389 #many to many to one
9391 #many to many to many
9397 ########Chado::Studydesign########
9399 package Chado
::Studydesign
;
9400 use base
'Chado::DBI';
9401 use Class
::DBI
::Pager
;
9402 no warnings
qw(redefine);
9404 Chado
::Studydesign
->set_up_table('studydesign');
9407 # Primary key accessors
9410 sub id
{ shift->studydesign_id }
9411 sub studydesign
{ shift->studydesign_id }
9422 Chado
::Studydesign
->has_a(study_id
=> 'Chado::Study');
9424 sub Chado
::Studydesign
::study { return shift->study_id }
9431 Chado
::Studydesign
->has_many('studyfactor_studydesign_id', 'Chado::Studyfactor' => 'studydesign_id');
9434 sub studyfactors
{ return shift->studyfactor_studydesign_id }
9436 Chado
::Studydesign
->has_many('studydesignprop_studydesign_id', 'Chado::Studydesignprop' => 'studydesign_id');
9439 sub studydesignprops
{ return shift->studydesignprop_studydesign_id }
9443 # one to many to one
9445 # one to many to many
9447 #many to many to one
9449 #many to many to many
9455 ########Chado::Pub_Dbxref########
9457 package Chado
::Pub_Dbxref
;
9458 use base
'Chado::DBI';
9459 use Class
::DBI
::Pager
;
9460 no warnings
qw(redefine);
9462 Chado
::Pub_Dbxref
->set_up_table('pub_dbxref');
9465 # Primary key accessors
9468 sub id
{ shift->pub_dbxref_id }
9469 sub pub_dbxref
{ shift->pub_dbxref_id }
9478 Chado
::Pub_Dbxref
->has_a(pub_id
=> 'Chado::Pub');
9480 sub Chado
::Pub_Dbxref
::pub
{ return shift->pub_id }
9483 Chado
::Pub_Dbxref
->has_a(dbxref_id
=> 'Chado::Dbxref');
9485 sub Chado
::Pub_Dbxref
::dbxref
{ return shift->dbxref_id }
9494 # one to many to one
9496 # one to many to many
9498 #many to many to one
9500 #many to many to many
9506 ########Chado::Expression_Cvtermprop########
9508 package Chado
::Expression_Cvtermprop
;
9509 use base
'Chado::DBI';
9510 use Class
::DBI
::Pager
;
9511 no warnings
qw(redefine);
9513 Chado
::Expression_Cvtermprop
->set_up_table('expression_cvtermprop');
9516 # Primary key accessors
9519 sub id
{ shift->expression_cvtermprop_id }
9520 sub expression_cvtermprop
{ shift->expression_cvtermprop_id }
9529 Chado
::Expression_Cvtermprop
->has_a(expression_cvterm_id
=> 'Chado::Expression_Cvterm');
9531 sub Chado
::Expression_Cvtermprop
::expression_cvterm
{ return shift->expression_cvterm_id }
9534 Chado
::Expression_Cvtermprop
->has_a(type_id
=> 'Chado::Cvterm');
9536 sub Chado
::Expression_Cvtermprop
::cvterm
{ return shift->type_id }
9545 # one to many to one
9547 # one to many to many
9549 #many to many to one
9551 #many to many to many
9557 ########Chado::Phenotype########
9559 package Chado
::Phenotype
;
9560 use base
'Chado::DBI';
9561 use Class
::DBI
::Pager
;
9562 no warnings
qw(redefine);
9564 Chado
::Phenotype
->set_up_table('phenotype');
9567 # Primary key accessors
9570 sub id
{ shift->phenotype_id }
9571 sub phenotype
{ shift->phenotype_id }
9585 Chado
::Phenotype
->has_a(observable_id
=> 'Chado::Cvterm');
9587 sub observable
{ return shift->observable_id }
9590 Chado
::Phenotype
->has_a(attr_id
=> 'Chado::Cvterm');
9592 sub attr
{ return shift->attr_id }
9595 Chado
::Phenotype
->has_a(cvalue_id
=> 'Chado::Cvterm');
9597 sub cvalue
{ return shift->cvalue_id }
9600 Chado
::Phenotype
->has_a(assay_id
=> 'Chado::Cvterm');
9602 sub assay
{ return shift->assay_id }
9609 Chado
::Phenotype
->has_many('feature_phenotype_phenotype_id', 'Chado::Feature_Phenotype' => 'phenotype_id');
9611 Chado
::Phenotype
->has_many('phenotype_comparison_phenotype1_id', 'Chado::Phenotype_Comparison' => 'phenotype1_id');
9613 Chado
::Phenotype
->has_many('phenotype_comparison_phenotype2_id', 'Chado::Phenotype_Comparison' => 'phenotype2_id');
9615 Chado
::Phenotype
->has_many('phenotype_cvterm_phenotype_id', 'Chado::Phenotype_Cvterm' => 'phenotype_id');
9618 sub phenotype_cvterms
{ return shift->phenotype_cvterm_phenotype_id }
9620 Chado
::Phenotype
->has_many('phenstatement_phenotype_id', 'Chado::Phenstatement' => 'phenotype_id');
9626 # Has Compound Many (many to many relationships in all their flavors)
9632 sub phenotype_comparison_phenotype1s
{ return shift->phenotype_comparison_phenotype1_id }
9635 sub phenotype_comparison_phenotype2s
{ return shift->phenotype_comparison_phenotype2_id }
9641 sub phenotype_comparison_phenotype1s
{ return shift->phenotype_comparison_phenotype1_id }
9644 sub phenotype_comparison_phenotype2s
{ return shift->phenotype_comparison_phenotype2_id }
9648 sub phenotype_comparison_phenotype1s
{ return shift->phenotype_comparison_phenotype1_id }
9651 sub phenotype_comparison_phenotype2s
{ return shift->phenotype_comparison_phenotype2_id }
9656 sub phenotype_comparison_phenotype1s
{ return shift->phenotype_comparison_phenotype1_id }
9659 sub phenotype_comparison_phenotype2s
{ return shift->phenotype_comparison_phenotype2_id }
9665 sub phenstatement_phenotypes
{ return shift->phenstatement_phenotype_id }
9670 sub phenstatement_phenotypes
{ return shift->phenstatement_phenotype_id }
9674 sub phenstatement_phenotypes
{ return shift->phenstatement_phenotype_id }
9679 sub phenstatement_phenotypes
{ return shift->phenstatement_phenotype_id }
9685 sub feature_phenotype_phenotypes
{ return shift->feature_phenotype_phenotype_id }
9687 # one to many to one
9695 sub genotypes
{ my $self = shift; return map $_->genotype_id, $self->phenstatement_phenotype_id }
9699 sub environments
{ my $self = shift; return map $_->environment_id, $self->phenstatement_phenotype_id }
9703 sub cvterms
{ my $self = shift; return map $_->type_id, $self->phenstatement_phenotype_id }
9707 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phenstatement_phenotype_id }
9711 sub features
{ my $self = shift; return map $_->feature_id, $self->feature_phenotype_phenotype_id }
9713 # one to many to many
9724 #many to many to one
9732 sub phenotype_comparison_phenotype1_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_phenotype1_id }
9735 sub phenotype_comparison_phenotype2_organisms
{ my $self = shift; return map $_->organism_id, $self->phenotype_comparison_phenotype2_id }
9742 sub phenotype_comparison_phenotype1_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_phenotype1_id }
9745 sub phenotype_comparison_phenotype2_pubs
{ my $self = shift; return map $_->pub_id, $self->phenotype_comparison_phenotype2_id }
9753 #many to many to many
9762 sub phenotype_comparison_phenotype1_genotype1s
{ my $self = shift; return map $_->phenotype_comparison_genotype1s, $self->phenotype_comparison_phenotype1s }
9765 sub phenotype_comparison_phenotype1_genotype2s
{ my $self = shift; return map $_->phenotype_comparison_genotype2s, $self->phenotype_comparison_phenotype1s }
9772 sub phenotype_comparison_phenotype2_genotype1s
{ my $self = shift; return map $_->phenotype_comparison_genotype1s, $self->phenotype_comparison_phenotype2s }
9775 sub phenotype_comparison_phenotype2_genotype2s
{ my $self = shift; return map $_->phenotype_comparison_genotype2s, $self->phenotype_comparison_phenotype2s }
9786 sub phenotype_comparison_phenotype1_environment1s
{ my $self = shift; return map $_->phenotype_comparison_environment1s, $self->phenotype_comparison_phenotype1s }
9789 sub phenotype_comparison_phenotype1_environment2s
{ my $self = shift; return map $_->phenotype_comparison_environment2s, $self->phenotype_comparison_phenotype1s }
9796 sub phenotype_comparison_phenotype2_environment1s
{ my $self = shift; return map $_->phenotype_comparison_environment1s, $self->phenotype_comparison_phenotype2s }
9799 sub phenotype_comparison_phenotype2_environment2s
{ my $self = shift; return map $_->phenotype_comparison_environment2s, $self->phenotype_comparison_phenotype2s }
9814 ########Chado::Phendesc########
9816 package Chado
::Phendesc
;
9817 use base
'Chado::DBI';
9818 use Class
::DBI
::Pager
;
9819 no warnings
qw(redefine);
9821 Chado
::Phendesc
->set_up_table('phendesc');
9824 # Primary key accessors
9827 sub id
{ shift->phendesc_id }
9828 sub phendesc
{ shift->phendesc_id }
9837 Chado
::Phendesc
->has_a(genotype_id
=> 'Chado::Genotype');
9839 sub Chado
::Phendesc
::genotype
{ return shift->genotype_id }
9842 Chado
::Phendesc
->has_a(environment_id
=> 'Chado::Environment');
9844 sub Chado
::Phendesc
::environment
{ return shift->environment_id }
9847 Chado
::Phendesc
->has_a(type_id
=> 'Chado::Cvterm');
9849 sub Chado
::Phendesc
::cvterm
{ return shift->type_id }
9852 Chado
::Phendesc
->has_a(pub_id
=> 'Chado::Pub');
9854 sub Chado
::Phendesc
::pub
{ return shift->pub_id }
9863 # one to many to one
9865 # one to many to many
9867 #many to many to one
9869 #many to many to many
9875 ########Chado::Featureprop_Pub########
9877 package Chado
::Featureprop_Pub
;
9878 use base
'Chado::DBI';
9879 use Class
::DBI
::Pager
;
9880 no warnings
qw(redefine);
9882 Chado
::Featureprop_Pub
->set_up_table('featureprop_pub');
9885 # Primary key accessors
9888 sub id
{ shift->featureprop_pub_id }
9889 sub featureprop_pub
{ shift->featureprop_pub_id }
9898 Chado
::Featureprop_Pub
->has_a(featureprop_id
=> 'Chado::Featureprop');
9900 sub Chado
::Featureprop_Pub
::featureprop
{ return shift->featureprop_id }
9903 Chado
::Featureprop_Pub
->has_a(pub_id
=> 'Chado::Pub');
9905 sub Chado
::Featureprop_Pub
::pub
{ return shift->pub_id }
9914 # one to many to one
9916 # one to many to many
9918 #many to many to one
9920 #many to many to many
9926 ########Chado::Library_Synonym########
9928 package Chado
::Library_Synonym
;
9929 use base
'Chado::DBI';
9930 use Class
::DBI
::Pager
;
9931 no warnings
qw(redefine);
9933 Chado
::Library_Synonym
->set_up_table('library_synonym');
9936 # Primary key accessors
9939 sub id
{ shift->library_synonym_id }
9940 sub library_synonym
{ shift->library_synonym_id }
9949 Chado
::Library_Synonym
->has_a(synonym_id
=> 'Chado::Synonym');
9951 sub Chado
::Library_Synonym
::synonym
{ return shift->synonym_id }
9954 Chado
::Library_Synonym
->has_a(library_id
=> 'Chado::Library');
9956 sub Chado
::Library_Synonym
::library
{ return shift->library_id }
9959 Chado
::Library_Synonym
->has_a(pub_id
=> 'Chado::Pub');
9961 sub Chado
::Library_Synonym
::pub
{ return shift->pub_id }
9970 # one to many to one
9972 # one to many to many
9974 #many to many to one
9976 #many to many to many
9982 ########Chado::Phylotree########
9984 package Chado
::Phylotree
;
9985 use base
'Chado::DBI';
9986 use Class
::DBI
::Pager
;
9987 no warnings
qw(redefine);
9989 Chado
::Phylotree
->set_up_table('phylotree');
9992 # Primary key accessors
9995 sub id
{ shift->phylotree_id }
9996 sub phylotree
{ shift->phylotree_id }
10008 Chado
::Phylotree
->has_a(dbxref_id
=> 'Chado::Dbxref');
10010 sub Chado
::Phylotree
::dbxref
{ return shift->dbxref_id }
10013 Chado
::Phylotree
->has_a(type_id
=> 'Chado::Cvterm');
10015 sub Chado
::Phylotree
::cvterm
{ return shift->type_id }
10018 Chado
::Phylotree
->has_a(analysis_id
=> 'Chado::Analysis');
10020 sub Chado
::Phylotree
::analysis
{ return shift->analysis_id }
10027 Chado
::Phylotree
->has_many('phylotree_pub_phylotree_id', 'Chado::Phylotree_Pub' => 'phylotree_id');
10029 Chado
::Phylotree
->has_many('phylonode_phylotree_id', 'Chado::Phylonode' => 'phylotree_id');
10032 sub phylonodes
{ return shift->phylonode_phylotree_id }
10034 Chado
::Phylotree
->has_many('phylonode_relationship_phylotree_id', 'Chado::Phylonode_Relationship' => 'phylotree_id');
10037 sub phylonode_relationships
{ return shift->phylonode_relationship_phylotree_id }
10043 # Has Compound Many (many to many relationships in all their flavors)
10047 sub phylotree_pub_phylotrees
{ return shift->phylotree_pub_phylotree_id }
10050 # one to many to one
10054 sub pubs
{ my $self = shift; return map $_->pub_id, $self->phylotree_pub_phylotree_id }
10056 # one to many to many
10059 #many to many to one
10062 #many to many to many
10069 ########Chado::Feature_Expressionprop########
10071 package Chado
::Feature_Expressionprop
;
10072 use base
'Chado::DBI';
10073 use Class
::DBI
::Pager
;
10074 no warnings
qw(redefine);
10076 Chado
::Feature_Expressionprop
->set_up_table('feature_expressionprop');
10079 # Primary key accessors
10082 sub id
{ shift->feature_expressionprop_id }
10083 sub feature_expressionprop
{ shift->feature_expressionprop_id }
10092 Chado
::Feature_Expressionprop
->has_a(feature_expression_id
=> 'Chado::Feature_Expression');
10094 sub Chado
::Feature_Expressionprop
::feature_expression
{ return shift->feature_expression_id }
10097 Chado
::Feature_Expressionprop
->has_a(type_id
=> 'Chado::Cvterm');
10099 sub Chado
::Feature_Expressionprop
::cvterm
{ return shift->type_id }
10108 # one to many to one
10110 # one to many to many
10112 #many to many to one
10114 #many to many to many
10120 ########Chado::Pub_Relationship########
10122 package Chado
::Pub_Relationship
;
10123 use base
'Chado::DBI';
10124 use Class
::DBI
::Pager
;
10125 no warnings
qw(redefine);
10127 Chado
::Pub_Relationship
->set_up_table('pub_relationship');
10130 # Primary key accessors
10133 sub id
{ shift->pub_relationship_id }
10134 sub pub_relationship
{ shift->pub_relationship_id }
10143 Chado
::Pub_Relationship
->has_a(subject_id
=> 'Chado::Pub');
10145 sub subject
{ return shift->subject_id }
10148 Chado
::Pub_Relationship
->has_a(object_id
=> 'Chado::Pub');
10150 sub object
{ return shift->object_id }
10153 Chado
::Pub_Relationship
->has_a(type_id
=> 'Chado::Cvterm');
10155 sub Chado
::Pub_Relationship
::cvterm
{ return shift->type_id }
10164 # one to many to one
10166 # one to many to many
10168 #many to many to one
10170 #many to many to many