File Coverage

blib/lib/OpenERP/OOM.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package OpenERP::OOM;
2              
3 2     2   124118 use warnings;
  2         4  
  2         51  
4 2     2   8 use strict;
  2         2  
  2         74  
5              
6             =head1 NAME
7              
8             OpenERP::OOM - OpenERP Object to Object Mapper
9              
10             =cut
11              
12             our $VERSION = '0.47';
13              
14             =head1 SYNOPSIS
15              
16             OpenERP::OOM (Object to Object Mapper) maps OpenERP objects to Perl objects, in
17             a similar way to how an ORM like DBIx::Class maps database tables to Perl classes.
18              
19             Relationships between objects can be defined in Perl code so that the OpenERP
20             schema can be traversed using Perl method calls, and related objects can be created
21             by calling methods on their parent (again, this corresponds closely to the
22             relationship model in an ORM).
23              
24             Additionally, links can be defined to join OpenERP objects with DBIx::Class
25             schemas, so that an OpenERP object can be augmented with additional data
26             structures, methods, and application logic that is held outside of OpenERP.
27              
28             =head1 TUTORIAL
29              
30             L<OpenERP::OOM::Tutorial> gives a walkthrough of how to use OpenERP::OOM.
31              
32              
33             =cut
34              
35             1; # End of OpenERP::OOM