File Coverage

blib/lib/OpenERP/OOM/Meta/Class/Trait/HasRelationship.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package OpenERP::OOM::Meta::Class::Trait::HasRelationship;
2 2     2   2605 use Moose::Role;
  2         4  
  2         14  
3              
4             =head1 NAME
5              
6             OpenERP::OOM::Meta::Class::Trait::HasRelationship
7              
8             =head1 DESCRIPTION
9              
10             A trait used internally for managing the relationships
11              
12             =head1 COPYRIGHT & LICENSE
13              
14             Copyright (C) 2011 OpusVL
15              
16             This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
17              
18             =cut
19              
20             has relationship => (
21             isa => 'HashRef',
22             is => 'rw',
23             default => sub {{}},
24             );
25              
26             1;