line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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
|
|
|
2
|
|
6992
|
use Moose; |
|
2
|
|
|
|
|
384434
|
|
|
2
|
|
|
|
|
13
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has 'schema' => ( |
30
|
|
|
|
|
|
|
is => 'ro', |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
has 'config' => ( |
34
|
|
|
|
|
|
|
isa => 'HashRef', |
35
|
|
|
|
|
|
|
is => 'ro', |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |