initial commit
[Geo-EZLocate.git] / EZLocate / Types / NameValue.pm
1 package Geo::EZLocate::Types::NameValue;
2 use strict;
3 use warnings;
4
5
6 __PACKAGE__->_set_element_form_qualified(0);
7
8 sub get_xmlns { 'http://ezlocate.na.teleatlas.com/Geocoding.xsd1' };
9
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12
13 sub __get_attr_class {
14     return $XML_ATTRIBUTE_CLASS;
15 }
16
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
19
20 Class::Std::initialize();
21
22 { # BLOCK to scope variables
23
24 my %name_of :ATTR(:get<name>);
25 my %value_of :ATTR(:get<value>);
26
27 __PACKAGE__->_factory(
28     [ qw(        name
29         value
30
31     ) ],
32     {
33         'name' => \%name_of,
34         'value' => \%value_of,
35     },
36     {
37         'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
38         'value' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
39     },
40     {
41
42         'name' => 'name',
43         'value' => 'value',
44     }
45 );
46
47 } # end BLOCK
48
49
50
51
52
53
54
55 1;
56
57
58 =pod
59
60 =head1 NAME
61
62 Geo::EZLocate::Types::NameValue
63
64 =head1 DESCRIPTION
65
66 Perl data type class for the XML Schema defined complexType
67 NameValue from the namespace http://ezlocate.na.teleatlas.com/Geocoding.xsd1.
68
69
70
71
72
73
74 =head2 PROPERTIES
75
76 The following properties may be accessed using get_PROPERTY / set_PROPERTY
77 methods:
78
79 =over
80
81 =item * name
82
83
84 =item * value
85
86
87
88
89 =back
90
91
92 =head1 METHODS
93
94 =head2 new
95
96 Constructor. The following data structure may be passed to new():
97
98  { # Geo::EZLocate::Types::NameValue
99    name =>  $some_value, # string
100    value =>  $some_value, # string
101  },
102
103
104
105
106 =head1 AUTHOR
107
108 Generated by SOAP::WSDL
109
110 =cut
111