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 | /** |
||
62 | * Gets as name |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getName() |
||
70 | |||
71 | /** |
||
72 | * Sets a new name |
||
73 | * |
||
74 | * @param string $name |
||
75 | * @return self |
||
76 | */ |
||
77 | public function setName($name) |
||
82 | |||
83 | /** |
||
84 | * Gets as extends |
||
85 | * |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getExtends() |
||
92 | |||
93 | /** |
||
94 | * Sets a new extends |
||
95 | * |
||
96 | * @param string $extends |
||
97 | * @return self |
||
98 | */ |
||
99 | public function setExtends($extends) |
||
104 | |||
105 | /** |
||
106 | * Gets as typeAccess |
||
107 | * |
||
108 | * @return string |
||
109 | */ |
||
110 | public function getTypeAccess() |
||
114 | |||
115 | /** |
||
116 | * Sets a new typeAccess |
||
117 | * |
||
118 | * @param string $typeAccess |
||
119 | * @return self |
||
120 | */ |
||
121 | public function setTypeAccess($typeAccess) |
||
126 | |||
127 | /** |
||
128 | * Gets as lazyLoadingEnabled |
||
129 | * |
||
130 | * @return boolean |
||
131 | */ |
||
132 | public function getLazyLoadingEnabled() |
||
136 | |||
137 | /** |
||
138 | * Sets a new lazyLoadingEnabled |
||
139 | * |
||
140 | * @param boolean $lazyLoadingEnabled |
||
141 | * @return self |
||
142 | */ |
||
143 | public function setLazyLoadingEnabled($lazyLoadingEnabled) |
||
148 | |||
149 | /** |
||
150 | * Gets as documentation |
||
151 | * |
||
152 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType |
||
153 | */ |
||
154 | public function getDocumentation() |
||
158 | |||
159 | /** |
||
160 | * Sets a new documentation |
||
161 | * |
||
162 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
163 | * @return self |
||
164 | */ |
||
165 | public function setDocumentation(TDocumentationType $documentation) |
||
170 | |||
171 | /** |
||
172 | * Adds as functionImport |
||
173 | * |
||
174 | * @return self |
||
175 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType |
||
176 | * $functionImport |
||
177 | */ |
||
178 | public function addToFunctionImport(FunctionImportAnonymousType $functionImport) |
||
183 | |||
184 | /** |
||
185 | * isset functionImport |
||
186 | * |
||
187 | * @param scalar $index |
||
188 | * @return boolean |
||
189 | */ |
||
190 | public function issetFunctionImport($index) |
||
194 | |||
195 | /** |
||
196 | * unset functionImport |
||
197 | * |
||
198 | * @param scalar $index |
||
199 | * @return void |
||
200 | */ |
||
201 | public function unsetFunctionImport($index) |
||
205 | |||
206 | /** |
||
207 | * Gets as functionImport |
||
208 | * |
||
209 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType[] |
||
210 | */ |
||
211 | public function getFunctionImport() |
||
215 | |||
216 | /** |
||
217 | * Sets a new functionImport |
||
218 | * |
||
219 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\FunctionImportAnonymousType[] |
||
220 | * $functionImport |
||
221 | * @return self |
||
222 | */ |
||
223 | public function setFunctionImport(array $functionImport) |
||
228 | |||
229 | /** |
||
230 | * Adds as entitySet |
||
231 | * |
||
232 | * @return self |
||
233 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType $entitySet |
||
234 | */ |
||
235 | public function addToEntitySet(EntitySetAnonymousType $entitySet) |
||
240 | |||
241 | /** |
||
242 | * isset entitySet |
||
243 | * |
||
244 | * @param scalar $index |
||
245 | * @return boolean |
||
246 | */ |
||
247 | public function issetEntitySet($index) |
||
251 | |||
252 | /** |
||
253 | * unset entitySet |
||
254 | * |
||
255 | * @param scalar $index |
||
256 | * @return void |
||
257 | */ |
||
258 | public function unsetEntitySet($index) |
||
262 | |||
263 | /** |
||
264 | * Gets as entitySet |
||
265 | * |
||
266 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType[] |
||
267 | */ |
||
268 | public function getEntitySet() |
||
272 | |||
273 | /** |
||
274 | * Sets a new entitySet |
||
275 | * |
||
276 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\EntitySetAnonymousType[] $entitySet |
||
277 | * @return self |
||
278 | */ |
||
279 | public function setEntitySet(array $entitySet) |
||
284 | |||
285 | /** |
||
286 | * Adds as associationSet |
||
287 | * |
||
288 | * @return self |
||
289 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType |
||
290 | * $associationSet |
||
291 | */ |
||
292 | public function addToAssociationSet(AssociationSetAnonymousType $associationSet) |
||
297 | |||
298 | /** |
||
299 | * isset associationSet |
||
300 | * |
||
301 | * @param scalar $index |
||
302 | * @return boolean |
||
303 | */ |
||
304 | public function issetAssociationSet($index) |
||
308 | |||
309 | /** |
||
310 | * unset associationSet |
||
311 | * |
||
312 | * @param scalar $index |
||
313 | * @return void |
||
314 | */ |
||
315 | public function unsetAssociationSet($index) |
||
319 | |||
320 | /** |
||
321 | * Gets as associationSet |
||
322 | * |
||
323 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType[] |
||
324 | */ |
||
325 | public function getAssociationSet() |
||
329 | |||
330 | /** |
||
331 | * Sets a new associationSet |
||
332 | * |
||
333 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer\AssociationSetAnonymousType[] |
||
334 | * $associationSet |
||
335 | * @return self |
||
336 | */ |
||
337 | public function setAssociationSet(array $associationSet) |
||
342 | |||
343 | public function isOK(&$msg = null) |
||
387 | } |
||
388 |