line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::NewsML_G2::ElectionDistrict; |
2
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
133
|
use Moose; |
|
18
|
|
|
|
|
41
|
|
|
18
|
|
|
|
|
110
|
|
4
|
18
|
|
|
18
|
|
107320
|
use namespace::autoclean; |
|
18
|
|
|
|
|
37
|
|
|
18
|
|
|
|
|
121
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with 'XML::NewsML_G2::Role::HasQCode'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'province', isa => 'XML::NewsML_G2::ElectionProvince', is => 'ro'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
__END__ |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
XML::NewsML_G2::ElectionDistrict - a city region used during an election |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $at = XML::NewsML_G2::ElectionDistrict->new |
22
|
|
|
|
|
|
|
(name => 'Mistelbach', qcode => 'electiondistrict:12345'); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
my $vie = XML::NewsML_G2::ElectionDistrict->new |
25
|
|
|
|
|
|
|
(name => 'Traun', qcode => 'electiondistrict:23455', province => XML::NewsML_G2::ElectionProvince->new(name => 'Oberoesterreich', qcode => 'electionprovince:8765')); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over 4 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item name |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Name of the City or District the Election News Item is for |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item province |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Optional Province of the Election News Item |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=back |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHOR |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Mario Paumann C<< <mario.paumann@apa.at> >> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Copyright (c) 2013-2019, APA-IT. All rights reserved. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |