File Coverage

lib/eBay/API/XML/DataType/UUIDType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::DataType::UUIDType;
4              
5 1     1   1333 use strict;
  1         4  
  1         25  
6 1     1   6 use warnings;
  1         2  
  1         26  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. UUIDType.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::UUIDType
21              
22             =head1 DESCRIPTION
23              
24             Specifies a universally unique identifier. The identifier can only contain digits
25             from 0-9 and letters from A-F. The identifier must be 32 characters long. For
26             example, 9CEBD9A6825644EC8D06C436D6CF494B.
27              
28              
29              
30             =head1 SYNOPSIS
31              
32             =cut
33              
34              
35             =head1 INHERITANCE
36              
37             eBay::API::XML::DataType::UUIDType inherits from the L class
38              
39             =cut
40              
41 1     1   32 use eBay::API::XML::BaseDataType;
  0            
  0            
42             our @ISA = ("eBay::API::XML::BaseDataType");
43              
44              
45              
46             my @gaProperties = ( [ 'content', 'xs:string', '', '', '' ]
47             );
48             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
49              
50             my @gaAttributes = (
51             );
52             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
53              
54             =head1 Subroutines:
55              
56             =cut
57              
58             sub new {
59             my $classname = shift;
60             my %args = @_;
61             my $self = $classname->SUPER::new(%args);
62             return $self;
63             }
64              
65             sub isScalar {
66             return 0;
67             }
68              
69              
70              
71             =head2 setValue()
72              
73             # Argument: 'xs:string'
74              
75             =cut
76              
77             sub setValue {
78             my $self = shift;
79             $self->{'content'} = shift
80             }
81              
82             =head2 getValue()
83              
84             # Returns: 'xs:string'
85              
86             =cut
87              
88             sub getValue {
89             my $self = shift;
90             return $self->{'content'};
91             }
92              
93              
94              
95              
96              
97             ## Attribute and Property lists
98             sub getPropertiesList {
99             my $self = shift;
100             return \@gaProperties;
101             }
102              
103             sub getAttributesList {
104             my $self = shift;
105             return \@gaAttributes;
106             }
107              
108              
109              
110             1;