line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package XML::SRS::Request; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
1474
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Moose::Util::TypeConstraints; |
6
|
|
|
|
|
|
|
use MooseX::Method::Signatures; |
7
|
|
|
|
|
|
|
use PRANG::Graph; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use XML::SRS::Types; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use XML::SRS::Query; |
12
|
|
|
|
|
|
|
use XML::SRS::Action; |
13
|
|
|
|
|
|
|
use XML::SRS::ActionResponse; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has_attr "registrar_id" => |
16
|
|
|
|
|
|
|
is => "ro", |
17
|
|
|
|
|
|
|
isa => "XML::SRS::RegistrarId", |
18
|
|
|
|
|
|
|
xml_name => "RegistrarId", |
19
|
|
|
|
|
|
|
xml_required => 0, |
20
|
|
|
|
|
|
|
; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
role_type 'XML::SRS::Action'; |
23
|
|
|
|
|
|
|
role_type 'XML::SRS::Query'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has_element "requests" => |
26
|
|
|
|
|
|
|
is => "ro", |
27
|
|
|
|
|
|
|
isa => "ArrayRef[XML::SRS::Action|XML::SRS::Query]", |
28
|
|
|
|
|
|
|
; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub root_element { "NZSRSRequest" } |
31
|
|
|
|
|
|
|
with 'XML::SRS', "XML::SRS::Version"; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub BUILDARGS { |
34
|
|
|
|
|
|
|
my $inv = shift; |
35
|
|
|
|
|
|
|
my %args = @_; |
36
|
|
|
|
|
|
|
if ( $args{version} ) { |
37
|
|
|
|
|
|
|
%args = (%args, $inv->buildargs_version($args{version})); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
\%args; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|