| 1 | package OpenERP::OOM::Link; | ||
| 2 | =head1 NAME | ||
| 3 | |||
| 4 | OpenERP::OOM::Link | ||
| 5 | |||
| 6 | =head1 DESCRIPTION | ||
| 7 | |||
| 8 | Base class for the link classes used to span OpenERP data and data in other | ||
| 9 | systems. See OpenERP::OOM::Object for more information about the links that | ||
| 10 | can be setup between two data sources with the has_link property. | ||
| 11 | |||
| 12 | =head1 PROPERTIES | ||
| 13 | |||
| 14 | =head2 config | ||
| 15 | |||
| 16 | This property is usually used to store the configuration for the database connection | ||
| 17 | for the link. | ||
| 18 | |||
| 19 | =head1 COPYRIGHT & LICENSE | ||
| 20 | |||
| 21 | Copyright (C) 2011 OpusVL | ||
| 22 | |||
| 23 | This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | |||
| 29 | 2 | has 'schema' => ( | |
| 30 | is => 'ro', | ||
| 31 | ); | ||
| 32 | |||
| 33 | 2 | has 'config' => ( | |
| 34 | isa => 'HashRef', | ||
| 35 | is => 'ro', | ||
| 36 | ); | ||
| 37 | |||
| 38 | 2 | 1; | |