1 | <?php |
||
16 | class TTypeAssertExpressionType extends IsOK |
||
17 | { |
||
18 | use IsOKToolboxTrait, TFacetAttributesTrait, TWrappedFunctionReturnTypeTrait; |
||
19 | /** |
||
20 | * @property string $type |
||
21 | */ |
||
22 | private $type = null; |
||
23 | |||
24 | /** |
||
25 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType[] $operand |
||
26 | */ |
||
27 | private $operand = []; |
||
28 | |||
29 | /** |
||
30 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TCollectionTypeType[] $collectionType |
||
31 | */ |
||
32 | private $collectionType = []; |
||
33 | |||
34 | /** |
||
35 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferenceTypeType[] $referenceType |
||
36 | */ |
||
37 | private $referenceType = []; |
||
38 | |||
39 | /** |
||
40 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyType[] $rowType |
||
41 | */ |
||
42 | private $rowType = []; |
||
43 | |||
44 | /** |
||
45 | * Gets as type |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getType() |
||
53 | |||
54 | /** |
||
55 | * Sets a new type |
||
56 | * |
||
57 | * @param string $type |
||
58 | * @return self |
||
59 | */ |
||
60 | public function setType($type) |
||
65 | |||
66 | /** |
||
67 | * Adds as operand |
||
68 | * |
||
69 | * @return self |
||
70 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType $operand |
||
71 | */ |
||
72 | public function addToOperand(TOperandType $operand) |
||
77 | |||
78 | /** |
||
79 | * isset operand |
||
80 | * |
||
81 | * @param scalar $index |
||
82 | * @return boolean |
||
83 | */ |
||
84 | public function issetOperand($index) |
||
88 | |||
89 | /** |
||
90 | * unset operand |
||
91 | * |
||
92 | * @param scalar $index |
||
93 | * @return void |
||
94 | */ |
||
95 | public function unsetOperand($index) |
||
99 | |||
100 | /** |
||
101 | * Gets as operand |
||
102 | * |
||
103 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType[] |
||
104 | */ |
||
105 | public function getOperand() |
||
109 | |||
110 | /** |
||
111 | * Sets a new operand |
||
112 | * |
||
113 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType[] $operand |
||
114 | * @return self |
||
115 | */ |
||
116 | public function setOperand(array $operand) |
||
121 | |||
122 | /** |
||
123 | * Adds as collectionType |
||
124 | * |
||
125 | * @return self |
||
126 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TCollectionTypeType $collectionType |
||
127 | */ |
||
128 | public function addToCollectionType(TCollectionTypeType $collectionType) |
||
133 | |||
134 | /** |
||
135 | * isset collectionType |
||
136 | * |
||
137 | * @param scalar $index |
||
138 | * @return boolean |
||
139 | */ |
||
140 | public function issetCollectionType($index) |
||
144 | |||
145 | /** |
||
146 | * unset collectionType |
||
147 | * |
||
148 | * @param scalar $index |
||
149 | * @return void |
||
150 | */ |
||
151 | public function unsetCollectionType($index) |
||
155 | |||
156 | /** |
||
157 | * Gets as collectionType |
||
158 | * |
||
159 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TCollectionTypeType[] |
||
160 | */ |
||
161 | public function getCollectionType() |
||
165 | |||
166 | /** |
||
167 | * Sets a new collectionType |
||
168 | * |
||
169 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TCollectionTypeType[] $collectionType |
||
170 | * @return self |
||
171 | */ |
||
172 | public function setCollectionType(array $collectionType) |
||
177 | |||
178 | /** |
||
179 | * Adds as referenceType |
||
180 | * |
||
181 | * @return self |
||
182 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferenceTypeType $referenceType |
||
183 | */ |
||
184 | public function addToReferenceType(TReferenceTypeType $referenceType) |
||
189 | |||
190 | /** |
||
191 | * isset referenceType |
||
192 | * |
||
193 | * @param scalar $index |
||
194 | * @return boolean |
||
195 | */ |
||
196 | public function issetReferenceType($index) |
||
200 | |||
201 | /** |
||
202 | * unset referenceType |
||
203 | * |
||
204 | * @param scalar $index |
||
205 | * @return void |
||
206 | */ |
||
207 | public function unsetReferenceType($index) |
||
211 | |||
212 | /** |
||
213 | * Gets as referenceType |
||
214 | * |
||
215 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferenceTypeType[] |
||
216 | */ |
||
217 | public function getReferenceType() |
||
221 | |||
222 | /** |
||
223 | * Sets a new referenceType |
||
224 | * |
||
225 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferenceTypeType[] $referenceType |
||
226 | * @return self |
||
227 | */ |
||
228 | public function setReferenceType(array $referenceType) |
||
233 | |||
234 | /** |
||
235 | * Adds as property |
||
236 | * |
||
237 | * @return self |
||
238 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyType $property |
||
239 | */ |
||
240 | public function addToRowType(TPropertyType $property) |
||
245 | |||
246 | /** |
||
247 | * isset rowType |
||
248 | * |
||
249 | * @param scalar $index |
||
250 | * @return boolean |
||
251 | */ |
||
252 | public function issetRowType($index) |
||
256 | |||
257 | /** |
||
258 | * unset rowType |
||
259 | * |
||
260 | * @param scalar $index |
||
261 | * @return void |
||
262 | */ |
||
263 | public function unsetRowType($index) |
||
267 | |||
268 | /** |
||
269 | * Gets as rowType |
||
270 | * |
||
271 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyType[] |
||
272 | */ |
||
273 | public function getRowType() |
||
277 | |||
278 | /** |
||
279 | * Sets a new rowType |
||
280 | * |
||
281 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyType[] $rowType |
||
282 | * @return self |
||
283 | */ |
||
284 | public function setRowType(array $rowType) |
||
289 | |||
290 | public function isOK(&$msg = null) |
||
333 | } |
||
334 |