1 | <?php |
||
16 | class EntityContainer extends IsOK |
||
17 | { |
||
18 | use IsOKToolboxTrait, TSimpleIdentifierTrait, AccessTypeTraits; |
||
19 | /** |
||
20 | * @property string $name |
||
21 | */ |
||
22 | private $name = null; |
||
23 | |||
24 | /** |
||
25 | * @property string $extends |
||
26 | */ |
||
27 | private $extends = null; |
||
28 | |||
29 | /** |
||
30 | * @property string $typeAccess |
||
31 | */ |
||
32 | private $typeAccess = null; |
||
33 | |||
34 | /** |
||
35 | * @property boolean $lazyLoadingEnabled |
||
36 | */ |
||
37 | private $lazyLoadingEnabled = null; |
||
38 | |||
39 | /** |
||
40 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
41 | */ |
||
42 | private $documentation = null; |
||
43 | |||
44 | /** |
||
45 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType[] |
||
46 | * $functionImport |
||
47 | */ |
||
48 | private $functionImport = []; |
||
49 | |||
50 | /** |
||
51 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType[] $entitySet |
||
52 | */ |
||
53 | private $entitySet = []; |
||
54 | |||
55 | /** |
||
56 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType[] |
||
57 | * $associationSet |
||
58 | */ |
||
59 | private $associationSet = []; |
||
60 | |||
61 | public function __construct($name = "DefaultContainer") |
||
65 | |||
66 | /** |
||
67 | * Gets as name |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | public function getName() |
||
75 | |||
76 | /** |
||
77 | * Sets a new name |
||
78 | * |
||
79 | * @param string $name |
||
80 | * @return self |
||
81 | */ |
||
82 | public function setName($name) |
||
87 | |||
88 | /** |
||
89 | * Gets as extends |
||
90 | * |
||
91 | * @return string |
||
92 | */ |
||
93 | public function getExtends() |
||
97 | |||
98 | /** |
||
99 | * Sets a new extends |
||
100 | * |
||
101 | * @param string $extends |
||
102 | * @return self |
||
103 | */ |
||
104 | public function setExtends($extends) |
||
109 | |||
110 | /** |
||
111 | * Gets as typeAccess |
||
112 | * |
||
113 | * @return string |
||
114 | */ |
||
115 | public function getTypeAccess() |
||
119 | |||
120 | /** |
||
121 | * Sets a new typeAccess |
||
122 | * |
||
123 | * @param string $typeAccess |
||
124 | * @return self |
||
125 | */ |
||
126 | public function setTypeAccess($typeAccess) |
||
131 | |||
132 | /** |
||
133 | * Gets as lazyLoadingEnabled |
||
134 | * |
||
135 | * @return boolean |
||
136 | */ |
||
137 | public function getLazyLoadingEnabled() |
||
141 | |||
142 | /** |
||
143 | * Sets a new lazyLoadingEnabled |
||
144 | * |
||
145 | * @param boolean $lazyLoadingEnabled |
||
146 | * @return self |
||
147 | */ |
||
148 | public function setLazyLoadingEnabled($lazyLoadingEnabled) |
||
153 | |||
154 | /** |
||
155 | * Gets as documentation |
||
156 | * |
||
157 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType |
||
158 | */ |
||
159 | public function getDocumentation() |
||
163 | |||
164 | /** |
||
165 | * Sets a new documentation |
||
166 | * |
||
167 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
168 | * @return self |
||
169 | */ |
||
170 | public function setDocumentation(TDocumentationType $documentation) |
||
175 | |||
176 | /** |
||
177 | * Adds as functionImport |
||
178 | * |
||
179 | * @return self |
||
180 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType |
||
181 | * $functionImport |
||
182 | */ |
||
183 | public function addToFunctionImport(FunctionImportAnonymousType $functionImport) |
||
188 | |||
189 | /** |
||
190 | * isset functionImport |
||
191 | * |
||
192 | * @param scalar $index |
||
193 | * @return boolean |
||
194 | */ |
||
195 | public function issetFunctionImport($index) |
||
199 | |||
200 | /** |
||
201 | * unset functionImport |
||
202 | * |
||
203 | * @param scalar $index |
||
204 | * @return void |
||
205 | */ |
||
206 | public function unsetFunctionImport($index) |
||
210 | |||
211 | /** |
||
212 | * Gets as functionImport |
||
213 | * |
||
214 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType[] |
||
215 | */ |
||
216 | public function getFunctionImport() |
||
220 | |||
221 | /** |
||
222 | * Sets a new functionImport |
||
223 | * |
||
224 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType[] |
||
225 | * $functionImport |
||
226 | * @return self |
||
227 | */ |
||
228 | public function setFunctionImport(array $functionImport) |
||
233 | |||
234 | /** |
||
235 | * Adds as entitySet |
||
236 | * |
||
237 | * @return self |
||
238 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType $entitySet |
||
239 | */ |
||
240 | public function addToEntitySet(EntitySetAnonymousType $entitySet) |
||
245 | |||
246 | /** |
||
247 | * isset entitySet |
||
248 | * |
||
249 | * @param scalar $index |
||
250 | * @return boolean |
||
251 | */ |
||
252 | public function issetEntitySet($index) |
||
256 | |||
257 | /** |
||
258 | * unset entitySet |
||
259 | * |
||
260 | * @param scalar $index |
||
261 | * @return void |
||
262 | */ |
||
263 | public function unsetEntitySet($index) |
||
267 | |||
268 | /** |
||
269 | * Gets as entitySet |
||
270 | * |
||
271 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType[] |
||
272 | */ |
||
273 | public function getEntitySet() |
||
277 | |||
278 | /** |
||
279 | * Sets a new entitySet |
||
280 | * |
||
281 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType[] $entitySet |
||
282 | * @return self |
||
283 | */ |
||
284 | public function setEntitySet(array $entitySet) |
||
289 | |||
290 | /** |
||
291 | * Adds as associationSet |
||
292 | * |
||
293 | * @return self |
||
294 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType |
||
295 | * $associationSet |
||
296 | */ |
||
297 | public function addToAssociationSet(AssociationSetAnonymousType $associationSet) |
||
302 | |||
303 | /** |
||
304 | * isset associationSet |
||
305 | * |
||
306 | * @param scalar $index |
||
307 | * @return boolean |
||
308 | */ |
||
309 | public function issetAssociationSet($index) |
||
313 | |||
314 | /** |
||
315 | * unset associationSet |
||
316 | * |
||
317 | * @param scalar $index |
||
318 | * @return void |
||
319 | */ |
||
320 | public function unsetAssociationSet($index) |
||
324 | |||
325 | /** |
||
326 | * Gets as associationSet |
||
327 | * |
||
328 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType[] |
||
329 | */ |
||
330 | public function getAssociationSet() |
||
334 | |||
335 | /** |
||
336 | * Sets a new associationSet |
||
337 | * |
||
338 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType[] |
||
339 | * $associationSet |
||
340 | * @return self |
||
341 | */ |
||
342 | public function setAssociationSet(array $associationSet) |
||
347 | |||
348 | public function isOK(&$msg = null) |
||
395 | } |
||
396 |