Debian Codegraph @

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

raw symbols SCIP
1 package Bio::Chado::Schema::Result::Cv::Chadopropscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Chadoprop/;
2 BEGIN {
3 $Bio::Chado::Schema::Result::Cv::Chadoprop::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Chadoprop/$AUTHORITY. = 'cpan:RBUELS';
4 }
5 {
6 $Bio::Chado::Schema::Result::Cv::Chadoprop::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Cv/Chadoprop/$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::Chadoprop
21
22 =head1 DESCRIPTION
23
24 This table is different from other prop tables in the database, as it is for storing information about the database itself, like schema version
25
26 =cut
27
28 __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("chadoprop");
29
30 =head1 ACCESSORS
31
32 =head2 chadoprop_id
33
34 data_type: 'integer'
35 is_auto_increment: 1
36 is_nullable: 0
37 sequence: 'chadoprop_chadoprop_id_seq'
38
39 =head2 type_id
40
41 data_type: 'integer'
42 is_foreign_key: 1
43 is_nullable: 0
44
45 The name of the property or slot is a cvterm. The meaning of the property is defined in that cvterm.
46
47 =head2 value
48
49 data_type: 'text'
50 is_nullable: 1
51
52 The value of the property, represented as text. Numeric values are converted to their text representation.
53
54 =head2 rank
55
56 data_type: 'integer'
57 default_value: 0
58 is_nullable: 0
59
60 Property-Value ordering. Any
61 cv can have multiple values for any particular property type -
62 these are ordered in a list using rank, counting from zero. For
63 properties that are single-valued rather than multi-valued, the
64 default 0 value should be used.
65
66 =cut
67
68 __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().(
69 "chadoprop_id",
70 {
71 data_type => "integer",
72 is_auto_increment => 1,
73 is_nullable => 0,
74 sequence => "chadoprop_chadoprop_id_seq",
75 },
76 "type_id",
77 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
78 "value",
79 { data_type => "text", is_nullable => 1 },
80 "rank",
81 { data_type => "integer", default_value => 0, is_nullable => 0 },
82 );
83 __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("chadoprop_id");
84 __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().("chadoprop_c1", ["type_id", "rank"]);
85
86 =head1 RELATIONS
87
88 =head2 type
89
90 Type: belongs_to
91
92 Related object: L<Bio::Chado::Schema::Result::Cv::Cvterm>
93
94 =cut
95
96 __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().(
97 "type",
98 "Bio::Chado::Schema::Result::Cv::Cvterm",
99 { cvterm_id => "type_id" },
100 {
101 cascade_copy => 0,
102 cascade_delete => 0,
103 is_deferrable => 1,
104 on_delete => "CASCADE",
105 on_update => "CASCADE",
106 },
107 );
108
109
110 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-09-22 08:45:24
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Zh5iGr+9B0FCmXj6pNcyTA
112
113
114 # You can replace this text with custom code or comments, and it will be preserved on regeneration
115 1;