Debian Codegraph @

lib/Bio/Chado/Schema/Result/Cv/Dbxrefprop.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Cv::Dbxrefpropscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Dbxrefprop/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Cv::Dbxrefprop::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Dbxrefprop/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Cv::Dbxrefprop::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Dbxrefprop/$VERSION. = '0.20000';
7 }
8
9 # Created by DBIx::Class::Schema::Loader
10 # DO NOT MODIFY THE FIRST PART OF THIS FILE
11
12 use strictscip-perl cpan Bio-Chado-Schema 0.20000 strict/;
13 use warningsscip-perl cpan Bio-Chado-Schema 0.20000 warnings/;
14
15 use basescip-perl cpan Bio-Chado-Schema 0.20000 base/ 'DBIx::Class::Core';
16
17
18 =head1 NAME
19
20 Bio::Chado::Schema::Result::Cv::Dbxrefprop
21
22 =head1 DESCRIPTION
23
24 Metadata about a dbxref. Note that this is not defined in the dbxref module, as it depends on the cvterm table. This table has a structure analagous to cvtermprop.
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("dbxrefprop");
29
30 =head1 ACCESSORS
31
32 =head2 dbxrefprop_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'dbxrefprop_dbxrefprop_id_seq'
38
39 =head2 dbxref_id
40
41 data_type: 'integer'
42 is_foreign_key: 1
43 is_nullable: 0
44
45 =head2 type_id
46
47 data_type: 'integer'
48 is_foreign_key: 1
49 is_nullable: 0
50
51 =head2 value
52
53 data_type: 'text'
54 default_value: (empty string)
55 is_nullable: 0
56
57 =head2 rank
58
59 data_type: 'integer'
60 default_value: 0
61 is_nullable: 0
62
63 =cut
64
65 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
66 "dbxrefprop_id",
67 {
68 data_type => "integer",
69 is_auto_increment => 1,
70 is_nullable => 0,
71 sequence => "dbxrefprop_dbxrefprop_id_seq",
72 },
73 "dbxref_id",
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
75 "type_id",
76 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
77 "value",
78 { data_type => "text", default_value => "", is_nullable => 0 },
79 "rank",
80 { data_type => "integer", default_value => 0, is_nullable => 0 },
81 );
82 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("dbxrefprop_id");
83 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("dbxrefprop_c1", ["dbxref_id", "type_id", "rank"]);
84
85 =head1 RELATIONS
86
87 =head2 type
88
89 Type: belongs_to
90
91 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
92
93 =cut
94
95 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
96 "type",
97 "Bio::Chado::Schema::Result::Cv::Cvterm",
98 { cvterm_id => "type_id" },
99 {
100 cascade_copy => 0,
101 cascade_delete => 0,
102 is_deferrable => 1,
103 on_delete => "CASCADE",
104 on_update => "CASCADE",
105 },
106 );
107
108 =head2 dbxref
109
110 Type: belongs_to
111
112 Related object: L<Bio::Chado::Schema::Result::General::Dbxref>
113
114 =cut
115
116 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
117 "dbxref",
118 "Bio::Chado::Schema::Result::General::Dbxref",
119 { dbxref_id => "dbxref_id" },
120 {
121 cascade_copy => 0,
122 cascade_delete => 0,
123 is_deferrable => 1,
124 on_delete => "CASCADE",
125 on_update => "CASCADE",
126 },
127 );
128
129
130 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:58
131 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7wF5gI3DwsAEmU6dfNx3Hw
132
133
134 # You can replace this text with custom content, and it will be preserved on regeneration
135 1;