line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::ThemeGroupType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1346
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ThemeGroupType.pm |
12
|
|
|
|
|
|
|
# Generated by: ......... genEBayApiDataTypes.pl |
13
|
|
|
|
|
|
|
# Last Generated: ....... 08/24/2008 16:44 |
14
|
|
|
|
|
|
|
# API Release Number: ... 579 |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
########################################################################## |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
eBay::API::XML::DataType::ThemeGroupType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Data for one theme group. Returned for GetDescriptionTemplates |
25
|
|
|
|
|
|
|
if theme groups are requested. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::ThemeGroupType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'GroupID', 'xs:int', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'GroupName', 'xs:string', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'ThemeID', 'xs:int', '1', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'ThemeTotal', 'xs:int', '', '', '' ] |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
my @gaAttributes = ( |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 Subroutines: |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
sub new { |
61
|
|
|
|
|
|
|
my $classname = shift; |
62
|
|
|
|
|
|
|
my %args = @_; |
63
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
64
|
|
|
|
|
|
|
return $self; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
sub isScalar { |
68
|
|
|
|
|
|
|
return 0; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 setGroupID() |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Unique identifier for this theme group. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
# Argument: 'xs:int' |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=cut |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
sub setGroupID { |
82
|
|
|
|
|
|
|
my $self = shift; |
83
|
|
|
|
|
|
|
$self->{'GroupID'} = shift |
84
|
|
|
|
|
|
|
} |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 getGroupID() |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
89
|
|
|
|
|
|
|
Returned: Conditionally |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
# Returns: 'xs:int' |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
sub getGroupID { |
96
|
|
|
|
|
|
|
my $self = shift; |
97
|
|
|
|
|
|
|
return $self->{'GroupID'}; |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 setGroupName() |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Name of this theme group (localized to the language associated |
104
|
|
|
|
|
|
|
with the eBay site). |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
# Argument: 'xs:string' |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub setGroupName { |
111
|
|
|
|
|
|
|
my $self = shift; |
112
|
|
|
|
|
|
|
$self->{'GroupName'} = shift |
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 getGroupName() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
118
|
|
|
|
|
|
|
Returned: Conditionally |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
# Returns: 'xs:string' |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub getGroupName { |
125
|
|
|
|
|
|
|
my $self = shift; |
126
|
|
|
|
|
|
|
return $self->{'GroupName'}; |
127
|
|
|
|
|
|
|
} |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 setThemeID() |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Unique identifier for each theme in this group. There |
133
|
|
|
|
|
|
|
is at least one theme in a theme group. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
# Argument: reference to an array |
136
|
|
|
|
|
|
|
of 'xs:int' |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub setThemeID { |
141
|
|
|
|
|
|
|
my $self = shift; |
142
|
|
|
|
|
|
|
$self->{'ThemeID'} = |
143
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
144
|
|
|
|
|
|
|
} |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 getThemeID() |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
149
|
|
|
|
|
|
|
Returned: Conditionally |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
# Returns: reference to an array |
152
|
|
|
|
|
|
|
of 'xs:int' |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=cut |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
sub getThemeID { |
157
|
|
|
|
|
|
|
my $self = shift; |
158
|
|
|
|
|
|
|
return $self->_getDataTypeArray('ThemeID'); |
159
|
|
|
|
|
|
|
} |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 setThemeTotal() |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
The number of ThemeID elements in this group. |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
# Argument: 'xs:int' |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=cut |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
sub setThemeTotal { |
171
|
|
|
|
|
|
|
my $self = shift; |
172
|
|
|
|
|
|
|
$self->{'ThemeTotal'} = shift |
173
|
|
|
|
|
|
|
} |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=head2 getThemeTotal() |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
178
|
|
|
|
|
|
|
Returned: Conditionally |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
# Returns: 'xs:int' |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=cut |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
sub getThemeTotal { |
185
|
|
|
|
|
|
|
my $self = shift; |
186
|
|
|
|
|
|
|
return $self->{'ThemeTotal'}; |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
## Attribute and Property lists |
194
|
|
|
|
|
|
|
sub getPropertiesList { |
195
|
|
|
|
|
|
|
my $self = shift; |
196
|
|
|
|
|
|
|
return \@gaProperties; |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
sub getAttributesList { |
200
|
|
|
|
|
|
|
my $self = shift; |
201
|
|
|
|
|
|
|
return \@gaAttributes; |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
1; |