Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/*
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; under version 2
7 * of the License (non-upgradable).
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 *
18 * Copyright (c) 2009-2012 (original work) Public Research Centre Henri Tudor (under the project TAO-SUSTAIN & TAO-DEV);
19 *
20 *
21 */
22
23/**
24 * Short description of class core_kernel_persistence_PropertyInterface
25 *
26 * @access public
27 * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
28 * @package generis
29
30 */
31interface core_kernel_persistence_PropertyInterface
32{
33    /**
34     * Short description of method isLgDependent
35     *
36     * @access public
37     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
38     * @param  Resource resource
39     * @return boolean
40     */
41    public function isLgDependent(core_kernel_classes_Resource $resource);
42
43    /**
44     * Short description of method isMultiple
45     *
46     * @access public
47     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
48     * @param  Resource resource
49     * @return boolean
50     */
51    public function isMultiple(core_kernel_classes_Resource $resource);
52
53    /**
54     * Short description of method getRange
55     *
56     * @access public
57     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
58     * @param  Resource resource
59     * @return core_kernel_classes_Class
60     */
61    public function getRange(core_kernel_classes_Resource $resource);
62
63    /**
64     * Short description of method delete
65     *
66     * @access public
67     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
68     * @param  Resource resource
69     * @param  boolean deleteReference
70     * @return boolean
71     */
72    public function delete(core_kernel_classes_Resource $resource, $deleteReference = false);
73
74    /**
75     * Short description of method setRange
76     *
77     * @access public
78     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
79     * @param  Resource resource
80     * @param  Class class
81     * @return core_kernel_classes_Class
82     */
83    public function setRange(core_kernel_classes_Resource $resource, core_kernel_classes_Class $class);
84
85    public function setDependsOnProperty(
86        core_kernel_classes_Resource $resource,
87        core_kernel_classes_Property $property
88    ): void;
89
90    /**
91     * Short description of method setMultiple
92     *
93     * @access public
94     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
95     * @param  Resource resource
96     * @param  boolean isMultiple
97     * @return void
98     */
99    public function setMultiple(core_kernel_classes_Resource $resource, $isMultiple);
100
101    /**
102     * Short description of method setLgDependent
103     *
104     * @access public
105     * @author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
106     * @param  Resource resource
107     * @param  boolean isLgDependent
108     * @return void
109     */
110    public function setLgDependent(core_kernel_classes_Resource $resource, $isLgDependent);
111}