Debian Codegraph @

lib/Bio/Chado/Schema/Result/Stock/StockpropPub.pm

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Stock::StockpropPubscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockpropPub/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Stock::StockpropPub::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockpropPub/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Stock::StockpropPub::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockpropPub/$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::Stock::StockpropPub
21
22 =head1 DESCRIPTION
23
24 Provenance. Any stockprop assignment can optionally be supported by a publication.
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("stockprop_pub");
29
30 =head1 ACCESSORS
31
32 =head2 stockprop_pub_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'stockprop_pub_stockprop_pub_id_seq'
38
39 =head2 stockprop_id
40
41 data_type: 'integer'
42 is_foreign_key: 1
43 is_nullable: 0
44
45 =head2 pub_id
46
47 data_type: 'integer'
48 is_foreign_key: 1
49 is_nullable: 0
50
51 =cut
52
53 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
54 "stockprop_pub_id",
55 {
56 data_type => "integer",
57 is_auto_increment => 1,
58 is_nullable => 0,
59 sequence => "stockprop_pub_stockprop_pub_id_seq",
60 },
61 "stockprop_id",
62 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
63 "pub_id",
64 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
65 );
66 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("stockprop_pub_id");
67 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("stockprop_pub_c1", ["stockprop_id", "pub_id"]);
68
69 =head1 RELATIONS
70
71 =head2 pub
72
73 Type: belongs_to
74
75 Related object: L<Bio::Chado::Schema::Result::Pub::Pub>
76
77 =cut
78
79 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
80 "pub",
81 "Bio::Chado::Schema::Result::Pub::Pub",
82 { pub_id => "pub_id" },
83 {
84 cascade_copy => 0,
85 cascade_delete => 0,
86 is_deferrable => 1,
87 on_delete => "CASCADE",
88 on_update => "CASCADE",
89 },
90 );
91
92 =head2 stockprop
93
94 Type: belongs_to
95
96 Related object: L<Bio::Chado::Schema::Result::Stock::Stockprop>
97
98 =cut
99
100 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
101 "stockprop",
102 "Bio::Chado::Schema::Result::Stock::Stockprop",
103 { stockprop_id => "stockprop_id" },
104 {
105 cascade_copy => 0,
106 cascade_delete => 0,
107 is_deferrable => 1,
108 on_delete => "CASCADE",
109 on_update => "CASCADE",
110 },
111 );
112
113
114 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dh5YZG1YoLxhdHNYL9w74w
116
117
118 # You can replace this text with custom content, and it will be preserved on regeneration
119 1;