1 | <?php |
||
16 | class TFunctionType extends IsOK |
||
17 | { |
||
18 | use TFacetAttributesTrait, TCommandTextTrait, TSimpleIdentifierTrait; |
||
19 | /** |
||
20 | * @property string $name |
||
21 | */ |
||
22 | private $name = null; |
||
23 | |||
24 | /** |
||
25 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType[] $returnType |
||
26 | */ |
||
27 | private $returnType = []; |
||
28 | |||
29 | /** |
||
30 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
31 | */ |
||
32 | private $documentation = null; |
||
33 | |||
34 | /** |
||
35 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionParameterType[] $parameter |
||
36 | */ |
||
37 | private $parameter = []; |
||
38 | |||
39 | /** |
||
40 | * @property string[] $definingExpression |
||
41 | */ |
||
42 | private $definingExpression = []; |
||
43 | |||
44 | /** |
||
45 | * Gets as name |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getName() |
||
53 | |||
54 | /** |
||
55 | * Sets a new name |
||
56 | * |
||
57 | * @param string $name |
||
58 | * @return self |
||
59 | */ |
||
60 | public function setName($name) |
||
65 | |||
66 | /** |
||
67 | * Adds as returnType |
||
68 | * |
||
69 | * @return self |
||
70 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType $returnType |
||
71 | */ |
||
72 | public function addToReturnType(TFunctionReturnTypeType $returnType) |
||
77 | |||
78 | /** |
||
79 | * isset returnType |
||
80 | * |
||
81 | * @param scalar $index |
||
82 | * @return boolean |
||
83 | */ |
||
84 | public function issetReturnType($index) |
||
88 | |||
89 | /** |
||
90 | * unset returnType |
||
91 | * |
||
92 | * @param scalar $index |
||
93 | * @return void |
||
94 | */ |
||
95 | public function unsetReturnType($index) |
||
99 | |||
100 | /** |
||
101 | * Gets as returnType |
||
102 | * |
||
103 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType[] |
||
104 | */ |
||
105 | public function getReturnType() |
||
109 | |||
110 | /** |
||
111 | * Sets a new returnType |
||
112 | * |
||
113 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType[] $returnType |
||
114 | * @return self |
||
115 | */ |
||
116 | public function setReturnType(array $returnType) |
||
121 | |||
122 | /** |
||
123 | * Gets as documentation |
||
124 | * |
||
125 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType |
||
126 | */ |
||
127 | public function getDocumentation() |
||
131 | |||
132 | /** |
||
133 | * Sets a new documentation |
||
134 | * |
||
135 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
136 | * @return self |
||
137 | */ |
||
138 | public function setDocumentation(TDocumentationType $documentation) |
||
143 | |||
144 | /** |
||
145 | * Adds as parameter |
||
146 | * |
||
147 | * @return self |
||
148 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionParameterType $parameter |
||
149 | */ |
||
150 | public function addToParameter(TFunctionParameterType $parameter) |
||
155 | |||
156 | /** |
||
157 | * isset parameter |
||
158 | * |
||
159 | * @param scalar $index |
||
160 | * @return boolean |
||
161 | */ |
||
162 | public function issetParameter($index) |
||
166 | |||
167 | /** |
||
168 | * unset parameter |
||
169 | * |
||
170 | * @param scalar $index |
||
171 | * @return void |
||
172 | */ |
||
173 | public function unsetParameter($index) |
||
177 | |||
178 | /** |
||
179 | * Gets as parameter |
||
180 | * |
||
181 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionParameterType[] |
||
182 | */ |
||
183 | public function getParameter() |
||
187 | |||
188 | /** |
||
189 | * Sets a new parameter |
||
190 | * |
||
191 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionParameterType[] $parameter |
||
192 | * @return self |
||
193 | */ |
||
194 | public function setParameter(array $parameter) |
||
199 | |||
200 | /** |
||
201 | * Adds as definingExpression |
||
202 | * |
||
203 | * @return self |
||
204 | * @param string $definingExpression |
||
205 | */ |
||
206 | public function addToDefiningExpression($definingExpression) |
||
211 | |||
212 | /** |
||
213 | * isset definingExpression |
||
214 | * |
||
215 | * @param scalar $index |
||
216 | * @return boolean |
||
217 | */ |
||
218 | public function issetDefiningExpression($index) |
||
222 | |||
223 | /** |
||
224 | * unset definingExpression |
||
225 | * |
||
226 | * @param scalar $index |
||
227 | * @return void |
||
228 | */ |
||
229 | public function unsetDefiningExpression($index) |
||
233 | |||
234 | /** |
||
235 | * Gets as definingExpression |
||
236 | * |
||
237 | * @return string[] |
||
238 | */ |
||
239 | public function getDefiningExpression() |
||
243 | |||
244 | /** |
||
245 | * Sets a new definingExpression |
||
246 | * |
||
247 | * @param string $definingExpression |
||
248 | * @return self |
||
249 | */ |
||
250 | public function setDefiningExpression(array $definingExpression) |
||
255 | |||
256 | public function isOK(&$msg = null) |
||
290 | } |
||
291 |