blib/lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/Role.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role;
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", "TimeStamp");
12  
13  
14 __PACKAGE__->table("role");
15  
16  
17 __PACKAGE__->add_columns(
18 "id",
19 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
20 "role",
21 { data_type => "text", is_nullable => 0 },
22 );
23 __PACKAGE__->set_primary_key("id");
24  
25  
26 __PACKAGE__->has_many(
27 "users_roles",
28 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersRole",
29 { "foreign.role_id" => "self.id" },
30 { cascade_copy => 0, cascade_delete => 0 },
31 );
32  
33  
34 __PACKAGE__->has_many(
35 "aclrule_roles",
36 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclruleRole",
37 { "foreign.role_id" => "self.id" },
38 { cascade_copy => 0, cascade_delete => 0 },
39 );
40  
41  
42 __PACKAGE__->has_many(
43 "roles_allowed_roles_allowed",
44 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed",
45 { "foreign.role_allowed" => "self.id" },
46 { cascade_copy => 0, cascade_delete => 0 },
47 );
48  
49  
50 __PACKAGE__->has_many(
51 "roles_allowed_roles",
52 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed",
53 { "foreign.role" => "self.id" },
54 { cascade_copy => 0, cascade_delete => 0 },
55 );
56  
57  
58 __PACKAGE__->might_have(
59 "role_admin",
60 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAdmin",
61 { "foreign.role_id" => "self.id" },
62 { cascade_copy => 0, cascade_delete => 0 },
63 );
64  
65  
66  
67 __PACKAGE__->has_many(
68 "aclfeature_roles",
69 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole",
70 { "foreign.role_id" => "self.id" },
71 { cascade_copy => 0, cascade_delete => 0 },
72 );
73  
74  
75  
76 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-24 12:44:30
77 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T2FAHyM0e4W0uyrAkJ34Jg
78  
79 use Moose;
80 use OpusVL::AppKit::RolesFor::Schema::AppKitAuthDB::Result::Role;
81 with 'OpusVL::AppKit::RolesFor::Schema::AppKitAuthDB::Result::Role';
82 __PACKAGE__->setup_authdb;
83  
84 __END__
85  
86 =pod
87  
88 =encoding UTF-8
89  
90 =head1 NAME
91  
92 OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role
93  
94 =head1 VERSION
95  
96 version 2.22
97  
98 =head1 NAME
99  
100 OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role
101  
102 =head1 ACCESSORS
103  
104 =head2 id
105  
106 data_type: 'integer'
107 is_auto_increment: 1
108 is_nullable: 0
109  
110 =head2 role
111  
112 data_type: 'text'
113 is_nullable: 0
114  
115 =head1 RELATIONS
116  
117 =head2 users_roles
118  
119 Type: has_many
120  
121 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersRole>
122  
123 =head2 aclrule_roles
124  
125 Type: has_many
126  
127 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclruleRole>
128  
129 =head2 roles_allowed_roles_allowed
130  
131 Type: has_many
132  
133 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed>
134  
135 =head2 roles_allowed_roles
136  
137 Type: has_many
138  
139 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAllowed>
140  
141 =head2 role_admin
142  
143 Type: might_have
144  
145 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::RoleAdmin>
146  
147 =head2 aclfeature_roles
148  
149 Type: has_many
150  
151 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole>
152  
153 =head1 AUTHOR
154  
155 OpusVL - www.opusvl.com
156  
157 =head1 COPYRIGHT AND LICENSE
158  
159 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
160  
161 This is free software; you can redistribute it and/or modify it under
162 the same terms as the Perl 5 programming language system itself.
163  
164 =cut