| blib/lib/OpenERP/OOM/Meta/Class/Trait/HasLink.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 | use Moose::Role; | ||||||
| 2 | 1 | 1 | 957 | ||||
| 1 | 2 | ||||||
| 1 | 6 | ||||||
| 3 | =head1 NAME | ||||||
| 4 | |||||||
| 5 | OpenERP::OOM::Meta::Class::Trait::HasLink | ||||||
| 6 | |||||||
| 7 | =head1 DESCRIPTION | ||||||
| 8 | |||||||
| 9 | A trait used internally for managing the links | ||||||
| 10 | |||||||
| 11 | =head1 COPYRIGHT & LICENSE | ||||||
| 12 | |||||||
| 13 | Copyright (C) 2011 OpusVL | ||||||
| 14 | |||||||
| 15 | This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. | ||||||
| 16 | |||||||
| 17 | =cut | ||||||
| 18 | |||||||
| 19 | has link => ( | ||||||
| 20 | isa => 'HashRef', | ||||||
| 21 | is => 'rw', | ||||||
| 22 | default => sub {{}}, | ||||||
| 23 | ); | ||||||
| 24 | |||||||
| 25 | 1; |