line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package XML::SRS::ACL; |
3
|
|
|
|
|
|
|
BEGIN { |
4
|
1
|
|
|
1
|
|
1933
|
$XML::SRS::ACL::VERSION = '0.09'; |
5
|
|
|
|
|
|
|
} |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
507
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use PRANG::Graph; |
9
|
|
|
|
|
|
|
use XML::SRS::Types; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has_attr 'Resource' => |
12
|
|
|
|
|
|
|
is => "ro", |
13
|
|
|
|
|
|
|
isa => "Str", |
14
|
|
|
|
|
|
|
required => 1, |
15
|
|
|
|
|
|
|
; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has_attr 'List' => |
18
|
|
|
|
|
|
|
is => "ro", |
19
|
|
|
|
|
|
|
isa => "Str", |
20
|
|
|
|
|
|
|
required => 1, |
21
|
|
|
|
|
|
|
; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
has_attr 'Size' => |
24
|
|
|
|
|
|
|
is => "ro", |
25
|
|
|
|
|
|
|
isa => "XML::SRS::Number", |
26
|
|
|
|
|
|
|
xml_required => 0, |
27
|
|
|
|
|
|
|
; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has_attr 'SizeChange' => |
30
|
|
|
|
|
|
|
is => "ro", |
31
|
|
|
|
|
|
|
isa => "XML::SRS::Number", |
32
|
|
|
|
|
|
|
xml_required => 0, |
33
|
|
|
|
|
|
|
; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub BUILD { |
36
|
|
|
|
|
|
|
my $self = shift; |
37
|
|
|
|
|
|
|
defined($self->Size//$self->SizeChange) |
38
|
|
|
|
|
|
|
or die "Must specify either Size or SizeChange"; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has_attr 'Type' => |
42
|
|
|
|
|
|
|
is => "ro", |
43
|
|
|
|
|
|
|
isa => "Str", |
44
|
|
|
|
|
|
|
xml_required => 0, |
45
|
|
|
|
|
|
|
; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
use XML::SRS::ACL::Entry; |
48
|
|
|
|
|
|
|
has_element 'entries' => |
49
|
|
|
|
|
|
|
is => "ro", |
50
|
|
|
|
|
|
|
isa => "ArrayRef[XML::SRS::ACL::Entry]", |
51
|
|
|
|
|
|
|
xml_nodeName => "AccessControlListEntry", |
52
|
|
|
|
|
|
|
xml_required => 0, |
53
|
|
|
|
|
|
|
; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
sub root_element { |
56
|
|
|
|
|
|
|
"AccessControlList"; |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
with 'XML::SRS::ActionResponse'; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |