#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::Country_currency;


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

XML::Pastor::Test::Type::Country_currency->mk_accessors( qw(_code _name));

# Attribute accessor aliases

sub code { &_code; }
sub name { &_name; }

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

1;


__END__



=head1 NAME

B<XML::Pastor::Test::Type::Country_currency>  -  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<_code>(), B<code>()      - See L<XML::Pastor::Builtin::string>.

=item B<_name>(), B<name>()      - See L<XML::Pastor::Builtin::string>.

=back


=head1 SEE ALSO

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


=cut