line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package OpusVL::Preferences::Schema::Result::PrfOwnerType; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
1952
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
26
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
4
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
8
|
1
|
|
|
1
|
|
5550
|
use MooseX::NonMoose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
9
|
1
|
|
|
1
|
|
4424
|
use namespace::autoclean; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
extends 'DBIx::Class::Core'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
__PACKAGE__->table ("prf_owner_type"); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->add_columns |
16
|
|
|
|
|
|
|
( |
17
|
|
|
|
|
|
|
prf_owner_type_id => |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
data_type => 'integer', |
20
|
|
|
|
|
|
|
is_nullable => 0, |
21
|
|
|
|
|
|
|
is_auto_increment => 1, |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
owner_table => |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
data_type => 'varchar', |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
owner_resultset => |
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
data_type => 'varchar', |
33
|
|
|
|
|
|
|
is_nullable => 0 |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key ('prf_owner_type_id'); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraints |
40
|
|
|
|
|
|
|
( |
41
|
|
|
|
|
|
|
prf_owner_type__table => ['owner_table'], |
42
|
|
|
|
|
|
|
prf_owner_type__resultset => ['owner_resultset'], |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__PACKAGE__->has_many |
46
|
|
|
|
|
|
|
( |
47
|
|
|
|
|
|
|
prf_owners => 'OpusVL::Preferences::Schema::Result::PrfOwner', |
48
|
|
|
|
|
|
|
{ |
49
|
|
|
|
|
|
|
'foreign.prf_owner_type_id' => 'self.prf_owner_type_id' |
50
|
|
|
|
|
|
|
}, |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
__PACKAGE__->has_many |
54
|
|
|
|
|
|
|
( |
55
|
|
|
|
|
|
|
prf_defaults => 'OpusVL::Preferences::Schema::Result::PrfDefault', |
56
|
|
|
|
|
|
|
{ |
57
|
|
|
|
|
|
|
'foreign.prf_owner_type_id' => 'self.prf_owner_type_id' |
58
|
|
|
|
|
|
|
}, |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
return 1; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
__END__ |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=pod |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=encoding UTF-8 |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 NAME |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
OpusVL::Preferences::Schema::Result::PrfOwnerType |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 VERSION |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
version 0.27 |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 DESCRIPTION |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 METHODS |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 prf_owners |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 prf_defaults |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 prf_owner_type_id |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 owner_table |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 owner_resultset |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Copyright 2012 OpusVL. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This software is licensed according to the "IP Assignment Schedule" provided with the development project. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 AUTHOR |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
OpusVL - www.opusvl.com |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
This software is copyright (c) 2011 by OpusVL - www.opusvl.com. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
108
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |