
#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::Pastor::Meta;


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

XML::Pastor::Test::Pastor::Meta->Model( bless( {
         'attribute' => {},
         'attributeGroup' => {},
         'defaultNamespace' => bless( {
                                        'classPrefix' => undef,
                                        'id' => 0,
                                        'nsPrefix' => undef,
                                        'uri' => 'http://www.example.com/country',
                                        'usageCount' => 1
                                      }, 'XML::Pastor::Schema::NamespaceInfo' ),
         'element' => {
                        'city|http://www.example.com/country' => bless( {
                                                                        'baseClasses' => [
                                                                                           'XML::Pastor::Test::Type::City',
                                                                                           'XML::Pastor::Element'
                                                                                         ],
                                                                        'class' => 'XML::Pastor::Test::city',
                                                                        'isRedefinable' => 1,
                                                                        'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                        'name' => 'city',
                                                                        'scope' => 'global',
                                                                        'targetNamespace' => 'http://www.example.com/country',
                                                                        'type' => 'City|http://www.example.com/country'
                                                                      }, 'XML::Pastor::Schema::Element' ),
                        'country|http://www.example.com/country' => bless( {
                                                                           'baseClasses' => [
                                                                                              'XML::Pastor::Test::Type::Country',
                                                                                              'XML::Pastor::Element'
                                                                                            ],
                                                                           'class' => 'XML::Pastor::Test::country',
                                                                           'isRedefinable' => 1,
                                                                           'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                           'name' => 'country',
                                                                           'scope' => 'global',
                                                                           'targetNamespace' => 'http://www.example.com/country',
                                                                           'type' => 'Country|http://www.example.com/country'
                                                                         }, 'XML::Pastor::Schema::Element' ),
                        'population|http://www.example.com/country' => bless( {
                                                                              'baseClasses' => [
                                                                                                 'XML::Pastor::Test::Type::Population',
                                                                                                 'XML::Pastor::Element'
                                                                                               ],
                                                                              'class' => 'XML::Pastor::Test::population',
                                                                              'isRedefinable' => 1,
                                                                              'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                              'name' => 'population',
                                                                              'scope' => 'global',
                                                                              'targetNamespace' => 'http://www.example.com/country',
                                                                              'type' => 'Population|http://www.example.com/country'
                                                                            }, 'XML::Pastor::Schema::Element' )
                      },
         'group' => {},
         'namespaceCounter' => 1,
         'namespaces' => {
                           'http://www.example.com/country' => bless( {
                                                                      'classPrefix' => undef,
                                                                      'id' => 0,
                                                                      'nsPrefix' => undef,
                                                                      'uri' => 'http://www.example.com/country',
                                                                      'usageCount' => 1
                                                                    }, 'XML::Pastor::Schema::NamespaceInfo' )
                         },
         'type' => {
                     'City|http://www.example.com/country' => bless( {
                                                                     'attributeInfo' => {
                                                                                          'code' => bless( {
                                                                                                           'class' => 'XML::Pastor::Test::Type::Code',
                                                                                                           'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                           'name' => 'code',
                                                                                                           'scope' => 'local',
                                                                                                           'targetNamespace' => 'http://www.example.com/country',
                                                                                                           'type' => 'Code|http://www.example.com/country',
                                                                                                           'use' => 'required'
                                                                                                         }, 'XML::Pastor::Schema::Attribute' )
                                                                                        },
                                                                     'attributePrefix' => '_',
                                                                     'attributes' => [
                                                                                       'code'
                                                                                     ],
                                                                     'baseClasses' => [
                                                                                        'XML::Pastor::ComplexType'
                                                                                      ],
                                                                     'class' => 'XML::Pastor::Test::Type::City',
                                                                     'contentType' => 'complex',
                                                                     'elementInfo' => {
                                                                                        'name' => bless( {
                                                                                                         'class' => 'XML::Pastor::Builtin::string',
                                                                                                         'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                         'minOccurs' => '0',
                                                                                                         'name' => 'name',
                                                                                                         'scope' => 'local',
                                                                                                         'targetNamespace' => 'http://www.example.com/country',
                                                                                                         'type' => 'string|http://www.w3.org/2001/XMLSchema'
                                                                                                       }, 'XML::Pastor::Schema::Element' ),
                                                                                        'population' => bless( {
                                                                                                               'class' => 'XML::Pastor::Test::Type::Population',
                                                                                                               'definition' => bless( {
                                                                                                                                        'baseClasses' => [
                                                                                                                                                           'XML::Pastor::Test::Type::Population',
                                                                                                                                                           'XML::Pastor::Element'
                                                                                                                                                         ],
                                                                                                                                        'class' => 'XML::Pastor::Test::population',
                                                                                                                                        'isRedefinable' => 1,
                                                                                                                                        'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                                        'name' => 'population',
                                                                                                                                        'scope' => 'global',
                                                                                                                                        'targetNamespace' => 'http://www.example.com/country',
                                                                                                                                        'type' => 'Population|http://www.example.com/country'
                                                                                                                                      }, 'XML::Pastor::Schema::Element' ),
                                                                                                               'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                               'minOccurs' => '0',
                                                                                                               'name' => 'population',
                                                                                                               'nameIsAutoGenerated' => 1,
                                                                                                               'ref' => 'population|http://www.example.com/country',
                                                                                                               'scope' => 'local',
                                                                                                               'targetNamespace' => 'http://www.example.com/country'
                                                                                                             }, 'XML::Pastor::Schema::Element' )
                                                                                      },
                                                                     'elements' => [
                                                                                     'name',
                                                                                     'population'
                                                                                   ],
                                                                     'isRedefinable' => 1,
                                                                     'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                     'name' => 'City',
                                                                     'scope' => 'global',
                                                                     'targetNamespace' => 'http://www.example.com/country'
                                                                   }, 'XML::Pastor::Schema::ComplexType' ),
                     'CodeIATA|http://www.example.com/country' => bless( {
                                                                         'base' => 'string|http://www.w3.org/2001/XMLSchema',
                                                                         'baseClasses' => [
                                                                                            'XML::Pastor::Builtin::string'
                                                                                          ],
                                                                         'class' => 'XML::Pastor::Test::Type::CodeIATA',
                                                                         'contentType' => 'simple',
                                                                         'derivedBy' => 'restriction',
                                                                         'documentation' => bless( [
                                                                                                     bless( {
                                                                                                              'text' => '
				The IATA code.
			',
                                                                                                              'xml:lang' => 'en'
                                                                                                            }, 'XML::Pastor::Schema::Documentation' )
                                                                                                   ], 'Data::HashArray' ),
                                                                         'isRedefinable' => 1,
                                                                         'length' => '3',
                                                                         'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                         'name' => 'CodeIATA',
                                                                         'scope' => 'global',
                                                                         'targetNamespace' => 'http://www.example.com/country',
                                                                         'whiteSpace' => 'collapse'
                                                                       }, 'XML::Pastor::Schema::SimpleType' ),
                     'CodeList|http://www.example.com/country' => bless( {
                                                                         'base' => 'List|http://www.w3.org/2001/XMLSchema',
                                                                         'baseClasses' => [
                                                                                            'XML::Pastor::Builtin::List'
                                                                                          ],
                                                                         'class' => 'XML::Pastor::Test::Type::CodeList',
                                                                         'contentType' => 'simple',
                                                                         'derivedBy' => 'list',
                                                                         'isRedefinable' => 1,
                                                                         'itemClass' => 'XML::Pastor::Test::Type::Code',
                                                                         'itemType' => 'Code',
                                                                         'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                         'name' => 'CodeList',
                                                                         'scope' => 'global',
                                                                         'targetNamespace' => 'http://www.example.com/country'
                                                                       }, 'XML::Pastor::Schema::SimpleType' ),
                     'CodeUNLocode|http://www.example.com/country' => bless( {
                                                                             'base' => 'string|http://www.w3.org/2001/XMLSchema',
                                                                             'baseClasses' => [
                                                                                                'XML::Pastor::Builtin::string'
                                                                                              ],
                                                                             'class' => 'XML::Pastor::Test::Type::CodeUNLocode',
                                                                             'contentType' => 'simple',
                                                                             'derivedBy' => 'restriction',
                                                                             'isRedefinable' => 1,
                                                                             'maxLength' => '6',
                                                                             'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                             'minLength' => '2',
                                                                             'name' => 'CodeUNLocode',
                                                                             'pattern' => [
                                                                                          'qsd',
                                                                                          'hello'
                                                                                        ],
                                                                             'scope' => 'global',
                                                                             'targetNamespace' => 'http://www.example.com/country'
                                                                           }, 'XML::Pastor::Schema::SimpleType' ),
                     'Code_item_0001|http://www.example.com/country' => bless( {
                                                                               'base' => 'Union|http://www.w3.org/2001/XMLSchema',
                                                                               'baseClasses' => [
                                                                                                  'XML::Pastor::Builtin::Union'
                                                                                                ],
                                                                               'class' => 'XML::Pastor::Test::Type::Code_item_0001',
                                                                               'contentType' => 'simple',
                                                                               'derivedBy' => 'union',
                                                                               'isRedefinable' => 1,
                                                                               'memberClasses' => [
                                                                                                    'XML::Pastor::Test::Type::Code_item_0002',
                                                                                                    'XML::Pastor::Test::Type::Code_item_0003'
                                                                                                  ],
                                                                               'memberTypes' => 'Code_item_0002 Code_item_0003',
                                                                               'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                               'name' => 'Code_item_0001',
                                                                               'nameIsAutoGenerated' => 1,
                                                                               'scope' => 'local',
                                                                               'targetNamespace' => 'http://www.example.com/country'
                                                                             }, 'XML::Pastor::Schema::SimpleType' ),
                     'Code_item_0002|http://www.example.com/country' => bless( {
                                                                               'base' => 'string|http://www.w3.org/2001/XMLSchema',
                                                                               'baseClasses' => [
                                                                                                  'XML::Pastor::Builtin::string'
                                                                                                ],
                                                                               'class' => 'XML::Pastor::Test::Type::Code_item_0002',
                                                                               'contentType' => 'simple',
                                                                               'derivedBy' => 'restriction',
                                                                               'isRedefinable' => 1,
                                                                               'maxLength' => '6',
                                                                               'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                               'minLength' => '1',
                                                                               'name' => 'Code_item_0002',
                                                                               'nameIsAutoGenerated' => 1,
                                                                               'scope' => 'local',
                                                                               'targetNamespace' => 'http://www.example.com/country'
                                                                             }, 'XML::Pastor::Schema::SimpleType' ),
                     'Code_item_0003|http://www.example.com/country' => bless( {
                                                                               'base' => 'date|http://www.w3.org/2001/XMLSchema',
                                                                               'baseClasses' => [
                                                                                                  'XML::Pastor::Builtin::date'
                                                                                                ],
                                                                               'class' => 'XML::Pastor::Test::Type::Code_item_0003',
                                                                               'contentType' => 'simple',
                                                                               'derivedBy' => 'restriction',
                                                                               'isRedefinable' => 1,
                                                                               'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                               'name' => 'Code_item_0003',
                                                                               'nameIsAutoGenerated' => 1,
                                                                               'scope' => 'local',
                                                                               'targetNamespace' => 'http://www.example.com/country'
                                                                             }, 'XML::Pastor::Schema::SimpleType' ),
                     'Code|http://www.example.com/country' => bless( {
                                                                     'base' => 'Union|http://www.w3.org/2001/XMLSchema',
                                                                     'baseClasses' => [
                                                                                        'XML::Pastor::Builtin::Union'
                                                                                      ],
                                                                     'class' => 'XML::Pastor::Test::Type::Code',
                                                                     'contentType' => 'simple',
                                                                     'derivedBy' => 'union',
                                                                     'isRedefinable' => 1,
                                                                     'memberClasses' => [
                                                                                          'XML::Pastor::Test::Type::CodeIATA',
                                                                                          'XML::Pastor::Test::Type::CodeUNLocode',
                                                                                          'XML::Pastor::Test::Type::Code_item_0001'
                                                                                        ],
                                                                     'memberTypes' => 'CodeIATA|http://www.example.com/country CodeUNLocode|http://www.example.com/country Code_item_0001',
                                                                     'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                     'name' => 'Code',
                                                                     'scope' => 'global',
                                                                     'targetNamespace' => 'http://www.example.com/country'
                                                                   }, 'XML::Pastor::Schema::SimpleType' ),
                     'Country_currency|http://www.example.com/country' => 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' ),
                     'Country_name|http://www.example.com/country' => bless( {
                                                                             'attributeInfo' => {
                                                                                                  'lang' => bless( {
                                                                                                                   'class' => 'XML::Pastor::Builtin::string',
                                                                                                                   'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                   'name' => 'lang',
                                                                                                                   'scope' => 'local',
                                                                                                                   'targetNamespace' => 'http://www.example.com/country',
                                                                                                                   'type' => 'string|http://www.w3.org/2001/XMLSchema'
                                                                                                                 }, 'XML::Pastor::Schema::Attribute' )
                                                                                                },
                                                                             'attributePrefix' => '_',
                                                                             'attributes' => [
                                                                                               'lang'
                                                                                             ],
                                                                             'base' => 'string|http://www.w3.org/2001/XMLSchema',
                                                                             'baseClasses' => [
                                                                                                'XML::Pastor::Builtin::string'
                                                                                              ],
                                                                             'class' => 'XML::Pastor::Test::Type::Country_name',
                                                                             'contentType' => 'complex',
                                                                             'derivedBy' => 'extension',
                                                                             'elementInfo' => {},
                                                                             'elements' => [],
                                                                             'isRedefinable' => 1,
                                                                             'isSimpleContent' => 1,
                                                                             'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                             'name' => 'Country_name',
                                                                             'nameIsAutoGenerated' => 1,
                                                                             'scope' => 'local',
                                                                             'targetNamespace' => 'http://www.example.com/country'
                                                                           }, 'XML::Pastor::Schema::ComplexType' ),
                     'Country|http://www.example.com/country' => 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' )
                                                                                           },
                                                                        'attributePrefix' => '_',
                                                                        'attributes' => [
                                                                                          'code'
                                                                                        ],
                                                                        'baseClasses' => [
                                                                                           'XML::Pastor::ComplexType'
                                                                                         ],
                                                                        'class' => 'XML::Pastor::Test::Type::Country',
                                                                        'contentType' => 'complex',
                                                                        'elementInfo' => {
                                                                                           'city' => bless( {
                                                                                                            'class' => 'XML::Pastor::Test::Type::City',
                                                                                                            'definition' => bless( {
                                                                                                                                     'baseClasses' => [
                                                                                                                                                        'XML::Pastor::Test::Type::City',
                                                                                                                                                        'XML::Pastor::Element'
                                                                                                                                                      ],
                                                                                                                                     'class' => 'XML::Pastor::Test::city',
                                                                                                                                     'isRedefinable' => 1,
                                                                                                                                     'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                                     'name' => 'city',
                                                                                                                                     'scope' => 'global',
                                                                                                                                     'targetNamespace' => 'http://www.example.com/country',
                                                                                                                                     'type' => 'City|http://www.example.com/country'
                                                                                                                                   }, 'XML::Pastor::Schema::Element' ),
                                                                                                            'maxOccurs' => 'unbounded',
                                                                                                            'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                            'minOccurs' => '0',
                                                                                                            'name' => 'city',
                                                                                                            'nameIsAutoGenerated' => 1,
                                                                                                            'ref' => 'city|http://www.example.com/country',
                                                                                                            'scope' => 'local',
                                                                                                            'targetNamespace' => 'http://www.example.com/country'
                                                                                                          }, 'XML::Pastor::Schema::Element' ),
                                                                                           'currency' => bless( {
                                                                                                                'class' => 'XML::Pastor::Test::Type::Country_currency',
                                                                                                                'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                'minOccurs' => '0',
                                                                                                                'name' => 'currency',
                                                                                                                'scope' => 'local',
                                                                                                                'targetNamespace' => 'http://www.example.com/country',
                                                                                                                'type' => 'Country_currency|http://www.example.com/country'
                                                                                                              }, 'XML::Pastor::Schema::Element' ),
                                                                                           'name' => bless( {
                                                                                                            'class' => 'XML::Pastor::Test::Type::Country_name',
                                                                                                            'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                            'minOccurs' => '0',
                                                                                                            'name' => 'name',
                                                                                                            'scope' => 'local',
                                                                                                            'targetNamespace' => 'http://www.example.com/country',
                                                                                                            'type' => 'Country_name|http://www.example.com/country'
                                                                                                          }, 'XML::Pastor::Schema::Element' ),
                                                                                           'population' => bless( {
                                                                                                                  'class' => 'XML::Pastor::Test::Type::Population',
                                                                                                                  'definition' => bless( {
                                                                                                                                           'baseClasses' => [
                                                                                                                                                              'XML::Pastor::Test::Type::Population',
                                                                                                                                                              'XML::Pastor::Element'
                                                                                                                                                            ],
                                                                                                                                           'class' => 'XML::Pastor::Test::population',
                                                                                                                                           'isRedefinable' => 1,
                                                                                                                                           'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                                           'name' => 'population',
                                                                                                                                           'scope' => 'global',
                                                                                                                                           'targetNamespace' => 'http://www.example.com/country',
                                                                                                                                           'type' => 'Population|http://www.example.com/country'
                                                                                                                                         }, 'XML::Pastor::Schema::Element' ),
                                                                                                                  'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                                                                  'minOccurs' => '0',
                                                                                                                  'name' => 'population',
                                                                                                                  'nameIsAutoGenerated' => 1,
                                                                                                                  'ref' => 'population|http://www.example.com/country',
                                                                                                                  'scope' => 'local',
                                                                                                                  'targetNamespace' => 'http://www.example.com/country'
                                                                                                                }, 'XML::Pastor::Schema::Element' )
                                                                                         },
                                                                        'elements' => [
                                                                                        'name',
                                                                                        'population',
                                                                                        'currency',
                                                                                        'city'
                                                                                      ],
                                                                        'isRedefinable' => 1,
                                                                        'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
                                                                        'name' => 'Country',
                                                                        'scope' => 'global',
                                                                        'targetNamespace' => 'http://www.example.com/country'
                                                                      }, 'XML::Pastor::Schema::ComplexType' ),
                     'Population|http://www.example.com/country' => 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' )
                   }
       }, 'XML::Pastor::Schema::Model' ) );

1;
