Debian Codegraph @

lib/Bio/Chado/Schema/Result/Pub/Pubprop.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Pub::Pubpropscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Pub/Pubprop/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Pub::Pubprop::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Pub/Pubprop/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Pub::Pubprop::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Pub/Pubprop/$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::Pub::Pubprop
21
22 =head1 DESCRIPTION
23
24 Property-value pairs for a pub. Follows standard chado pattern.
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("pubprop");
29
30 =head1 ACCESSORS
31
32 =head2 pubprop_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'pubprop_pubprop_id_seq'
38
39 =head2 pub_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 is_nullable: 0
55
56 =head2 rank
57
58 data_type: 'integer'
59 is_nullable: 1
60
61 =cut
62
63 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
64 "pubprop_id",
65 {
66 data_type => "integer",
67 is_auto_increment => 1,
68 is_nullable => 0,
69 sequence => "pubprop_pubprop_id_seq",
70 },
71 "pub_id",
72 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
73 "type_id",
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
75 "value",
76 { data_type => "text", is_nullable => 0 },
77 "rank",
78 { data_type => "integer", is_nullable => 1 },
79 );
80 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("pubprop_id");
81 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("pubprop_c1", ["pub_id", "type_id", "rank"]);
82
83 =head1 RELATIONS
84
85 =head2 type
86
87 Type: belongs_to
88
89 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
90
91 =cut
92
93 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
94 "type",
95 "Bio::Chado::Schema::Result::Cv::Cvterm",
96 { cvterm_id => "type_id" },
97 {
98 cascade_copy => 0,
99 cascade_delete => 0,
100 is_deferrable => 1,
101 on_delete => "CASCADE",
102 on_update => "CASCADE",
103 },
104 );
105
106 =head2 pub
107
108 Type: belongs_to
109
110 Related object: L<Bio::Chado::Schema::Result::Pub::Pub>
111
112 =cut
113
114 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
115 "pub",
116 "Bio::Chado::Schema::Result::Pub::Pub",
117 { pub_id => "pub_id" },
118 {
119 cascade_copy => 0,
120 cascade_delete => 0,
121 is_deferrable => 1,
122 on_delete => "CASCADE",
123 on_update => "CASCADE",
124 },
125 );
126
127
128 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
129 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g5Q0V9NeXfSTgkYfeQa8mQ
130
131
132 # You can replace this text with custom content, and it will be preserved on regeneration
133 1;