SQL/Amazon/Tables/EditorialReviews.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # Copyright (c) 2005, Presicient Corp., USA
3 #
4 # Permission is granted to use this software according to the terms of the
5 # Artistic License, as specified in the Perl README file,
6 # with the exception that commercial redistribution, either
7 # electronic or via physical media, as either a standalone package,
8 # or incorporated into a third party product, requires prior
9 # written approval of the author.
10 #
11 # This software is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 #
15 # Presicient Corp. reserves the right to provide support for this software
16 # to individual sites under a separate (possibly fee-based)
17 # agreement.
18 #
19 # History:
20 #
21 # 2005-Jan-27 D. Arnold
22 # Coded.
23 #
24 =pod
25  
26 =head4 EditorialReviews (table, readonly)
27  
28 Product reviews by professional published sources, keyed by ASIN
29  
30 =over 4
31  
32 =item ASIN
33  
34 =item EditorialReview
35  
36 =back
37  
38 =cut
39  
40 package SQL::Amazon::Tables::EditorialReviews;
41  
42 use DBI qw(:sql_types);
43 use base qw(SQL::Amazon::Tables::Table);
44  
45 use strict;
46  
47 our %metadata = (
48 NAME => [ qw/ASIN EditorialReview Source/ ],
49 TYPE => [
50 SQL_VARCHAR,
51 SQL_VARCHAR,
52 SQL_VARCHAR
53 ],
54 PRECISION => [
55 32,
56 1024,
57 256,
58 ],
59 SCALE => [undef, undef, undef],
60 NULLABLE => [undef, undef, undef]
61 );
62  
63 sub new {
64 my $class = shift;
65 my $obj = $class->SUPER::new(\%metadata);
66 return $obj;
67 }
68  
69 1;
70