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