ETLp/Schema/Result/EtlpItem.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ETLp::Schema::Result::EtlpItem;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 use strict;
7 use warnings;
8  
9 use base 'DBIx::Class::Core';
10  
11 __PACKAGE__->load_components("InflateColumn::DateTime");
12  
13 =head1 NAME
14  
15 ETLp::Schema::Result::EtlpItem
16  
17 =cut
18  
19 __PACKAGE__->table("etlp_item");
20  
21 =head1 ACCESSORS
22  
23 =head2 item_id
24  
25 data_type: 'integer'
26 is_nullable: 0
27 original: {data_type => "number",size => [38,0]}
28  
29 =head2 status_id
30  
31 data_type: 'integer'
32 is_foreign_key: 1
33 is_nullable: 0
34 original: {data_type => "number",size => [38,0]}
35  
36 =head2 job_id
37  
38 data_type: 'integer'
39 is_foreign_key: 1
40 is_nullable: 0
41 original: {data_type => "number",size => [38,0]}
42  
43 =head2 phase_id
44  
45 data_type: 'integer'
46 is_foreign_key: 1
47 is_nullable: 0
48 original: {data_type => "number",size => [38,0]}
49  
50 =head2 item_name
51  
52 data_type: 'varchar2'
53 is_nullable: 0
54 size: 255
55  
56 =head2 item_type
57  
58 data_type: 'varchar2'
59 is_nullable: 0
60 size: 30
61  
62 =head2 message
63  
64 data_type: 'clob'
65 is_nullable: 1
66  
67 =head2 date_created
68  
69 data_type: 'datetime'
70 is_nullable: 0
71 original: {data_type => "date"}
72  
73 =head2 date_updated
74  
75 data_type: 'datetime'
76 is_nullable: 0
77 original: {data_type => "date"}
78  
79 =cut
80  
81 __PACKAGE__->add_columns(
82 "item_id",
83 {
84 data_type => "integer",
85 is_nullable => 0,
86 original => { data_type => "number", size => [38, 0] },
87 },
88 "status_id",
89 {
90 data_type => "integer",
91 is_foreign_key => 1,
92 is_nullable => 0,
93 original => { data_type => "number", size => [38, 0] },
94 },
95 "job_id",
96 {
97 data_type => "integer",
98 is_foreign_key => 1,
99 is_nullable => 0,
100 original => { data_type => "number", size => [38, 0] },
101 },
102 "phase_id",
103 {
104 data_type => "integer",
105 is_foreign_key => 1,
106 is_nullable => 0,
107 original => { data_type => "number", size => [38, 0] },
108 },
109 "item_name",
110 { data_type => "varchar2", is_nullable => 0, size => 255 },
111 "item_type",
112 { data_type => "varchar2", is_nullable => 0, size => 30 },
113 "message",
114 { data_type => "clob", is_nullable => 1 },
115 "date_created",
116 {
117 data_type => "datetime",
118 is_nullable => 0,
119 original => { data_type => "date" },
120 },
121 "date_updated",
122 {
123 data_type => "datetime",
124 is_nullable => 0,
125 original => { data_type => "date" },
126 },
127 );
128 __PACKAGE__->set_primary_key("item_id");
129  
130 =head1 RELATIONS
131  
132 =head2 etlp_file_processes
133  
134 Type: has_many
135  
136 Related object: L<ETLp::Schema::Result::EtlpFileProcess>
137  
138 =cut
139  
140 __PACKAGE__->has_many(
141 "etlp_file_processes",
142 "ETLp::Schema::Result::EtlpFileProcess",
143 { "foreign.item_id" => "self.item_id" },
144 { cascade_copy => 0, cascade_delete => 0 },
145 );
146  
147 =head2 phase
148  
149 Type: belongs_to
150  
151 Related object: L<ETLp::Schema::Result::EtlpPhase>
152  
153 =cut
154  
155 __PACKAGE__->belongs_to(
156 "phase",
157 "ETLp::Schema::Result::EtlpPhase",
158 { phase_id => "phase_id" },
159 { on_delete => "CASCADE", on_update => "CASCADE" },
160 );
161  
162 =head2 job
163  
164 Type: belongs_to
165  
166 Related object: L<ETLp::Schema::Result::EtlpJob>
167  
168 =cut
169  
170 __PACKAGE__->belongs_to(
171 "job",
172 "ETLp::Schema::Result::EtlpJob",
173 { job_id => "job_id" },
174 { on_delete => "CASCADE", on_update => "CASCADE" },
175 );
176  
177 =head2 status
178  
179 Type: belongs_to
180  
181 Related object: L<ETLp::Schema::Result::EtlpStatus>
182  
183 =cut
184  
185 __PACKAGE__->belongs_to(
186 "status",
187 "ETLp::Schema::Result::EtlpStatus",
188 { status_id => "status_id" },
189 { on_delete => "CASCADE", on_update => "CASCADE" },
190 );
191  
192  
193 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-12 15:25:39
194 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J16Zy9m1o8bWMU6HHSBTvw
195  
196 use Data::Page::Navigation;
197 # You can replace this text with custom content, and it will be preserved on regeneration
198 1;