The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

#PASTOR: Code generated by XML::Pastor/1.0.4 at 'Sat Dec  1 23:13:04 2012'

use utf8;
use strict;
use warnings;
no warnings qw(uninitialized);

use XML::Pastor;



#================================================================

package XML::Pastor::Test::Type::Population;


our @ISA=qw(XML::Pastor::ComplexType);

XML::Pastor::Test::Type::Population->mk_accessors( qw(_date _figure));

# Attribute accessor aliases

sub date { &_date; }
sub figure { &_figure; }

XML::Pastor::Test::Type::Population->XmlSchemaType( bless( {
         'attributeInfo' => {
                              'date' => bless( {
                                               'class' => 'XML::Pastor::Builtin::date',
                                               'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                               'name' => 'date',
                                               'scope' => 'local',
                                               'targetNamespace' => 'http://www.example.com/country',
                                               'type' => 'date|http://www.w3.org/2001/XMLSchema'
                                             }, 'XML::Pastor::Schema::Attribute' ),
                              'figure' => bless( {
                                                 'class' => 'XML::Pastor::Builtin::nonNegativeInteger',
                                                 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                 'name' => 'figure',
                                                 'scope' => 'local',
                                                 'targetNamespace' => 'http://www.example.com/country',
                                                 'type' => 'nonNegativeInteger|http://www.w3.org/2001/XMLSchema'
                                               }, 'XML::Pastor::Schema::Attribute' )
                            },
         'attributePrefix' => '_',
         'attributes' => [
                           'date',
                           'figure'
                         ],
         'baseClasses' => [
                            'XML::Pastor::ComplexType'
                          ],
         'class' => 'XML::Pastor::Test::Type::Population',
         'contentType' => 'complex',
         'elementInfo' => {},
         'elements' => [],
         'isRedefinable' => 1,
         'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
         'name' => 'Population',
         'scope' => 'global',
         'targetNamespace' => 'http://www.example.com/country'
       }, 'XML::Pastor::Schema::ComplexType' ) );

1;


__END__



=head1 NAME

B<XML::Pastor::Test::Type::Population>  -  A class generated by L<XML::Pastor> . 


=head1 ISA

This class descends from L<XML::Pastor::ComplexType>.


=head1 CODE GENERATION

This module was automatically generated by L<XML::Pastor> version 1.0.4 at 'Sat Dec  1 23:13:04 2012'


=head1 ATTRIBUTE ACCESSORS

=over

=item B<_date>(), B<date>()      - See L<XML::Pastor::Builtin::date>.

=item B<_figure>(), B<figure>()      - See L<XML::Pastor::Builtin::nonNegativeInteger>.

=back


=head1 SEE ALSO

L<XML::Pastor::ComplexType>, L<XML::Pastor>, L<XML::Pastor::Type>, L<XML::Pastor::ComplexType>, L<XML::Pastor::SimpleType>


=cut