| 1 | package OpenERP::OOM::Meta::Class::Trait::HasRelationship; | ||
| 2 | 2 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | 1 | ▶ | default => sub {{}}, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 24 | 2 | ); | |
| 25 | |||
| 26 | 2 | 1; | |