File Coverage

blib/lib/Rose/DB/Object/Metadata/Column/Serial.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Rose::DB::Object::Metadata::Column::Serial;
2              
3 1     1   7 use strict;
  1         3  
  1         44  
4              
5 1     1   7 use Rose::DB::Object::Metadata::Column::Integer;
  1         3  
  1         110  
6             our @ISA = qw(Rose::DB::Object::Metadata::Column::Integer);
7              
8             our $VERSION = '0.70';
9              
10 43     43 1 210 sub type { 'serial' }
11              
12             1;
13              
14             __END__
15              
16             =head1 NAME
17              
18             Rose::DB::Object::Metadata::Column::Serial - Serial column metadata.
19              
20             =head1 SYNOPSIS
21              
22             use Rose::DB::Object::Metadata::Column::Serial;
23              
24             $col = Rose::DB::Object::Metadata::Column::Serial->new(...);
25             $col->make_methods(...);
26             ...
27              
28             =head1 DESCRIPTION
29              
30             Objects of this class store and manipulate metadata for serial columns in a database. Column metadata objects store information about columns (data type, size, etc.) and are responsible for creating object methods that manipulate column values.
31              
32             This class inherits from L<Rose::DB::Object::Metadata::Column::Integer>. Inherited methods that are not overridden will not be documented a second time here. See the L<Rose::DB::Object::Metadata::Column::Integer> documentation for more information.
33              
34             =head1 METHOD MAP
35              
36             =over 4
37              
38             =item C<get_set>
39              
40             L<Rose::DB::Object::MakeMethods::Generic>, L<scalar|Rose::DB::Object::MakeMethods::Generic/scalar>, C<interface =E<gt> 'get_set', ...>
41              
42             =item C<get>
43              
44             L<Rose::DB::Object::MakeMethods::Generic>, L<scalar|Rose::DB::Object::MakeMethods::Generic/scalar>, C<interface =E<gt> 'get', ...>
45              
46             =item C<get_set>
47              
48             L<Rose::DB::Object::MakeMethods::Generic>, L<scalar|Rose::DB::Object::MakeMethods::Generic/scalar>, C<interface =E<gt> 'set', ...>
49              
50             =back
51              
52             See the L<Rose::DB::Object::Metadata::Column|Rose::DB::Object::Metadata::Column/"MAKING METHODS"> documentation for an explanation of this method map.
53              
54             =head1 OBJECT METHODS
55              
56             =over 4
57              
58             =item B<type>
59              
60             Returns "serial".
61              
62             =back
63              
64             =head1 AUTHOR
65              
66             John C. Siracusa (siracusa@gmail.com)
67              
68             =head1 LICENSE
69              
70             Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is
71             free software; you can redistribute it and/or modify it under the same terms
72             as Perl itself.