| @@ 11-425 (lines=415) @@ | ||
| 8 | * |
|
| 9 | * XSD Type: TCollectionType |
|
| 10 | */ |
|
| 11 | class TCollectionTypeType |
|
| 12 | { |
|
| 13 | ||
| 14 | /** |
|
| 15 | * @property string $elementType |
|
| 16 | */ |
|
| 17 | private $elementType = null; |
|
| 18 | ||
| 19 | /** |
|
| 20 | * @property boolean $nullable |
|
| 21 | */ |
|
| 22 | private $nullable = null; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @property string $defaultValue |
|
| 26 | */ |
|
| 27 | private $defaultValue = null; |
|
| 28 | ||
| 29 | /** |
|
| 30 | * @property string $maxLength |
|
| 31 | */ |
|
| 32 | private $maxLength = null; |
|
| 33 | ||
| 34 | /** |
|
| 35 | * @property boolean $fixedLength |
|
| 36 | */ |
|
| 37 | private $fixedLength = null; |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @property integer $precision |
|
| 41 | */ |
|
| 42 | private $precision = null; |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @property integer $scale |
|
| 46 | */ |
|
| 47 | private $scale = null; |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @property boolean $unicode |
|
| 51 | */ |
|
| 52 | private $unicode = null; |
|
| 53 | ||
| 54 | /** |
|
| 55 | * @property string $collation |
|
| 56 | */ |
|
| 57 | private $collation = null; |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @property string $sRID |
|
| 61 | */ |
|
| 62 | private $sRID = null; |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @property \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 66 | */ |
|
| 67 | private $collectionType = null; |
|
| 68 | ||
| 69 | /** |
|
| 70 | * @property \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 71 | */ |
|
| 72 | private $referenceType = null; |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @property \MetadataV3\edm\TPropertyType[] $rowType |
|
| 76 | */ |
|
| 77 | private $rowType = null; |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @property \MetadataV3\edm\TTypeRefType $typeRef |
|
| 81 | */ |
|
| 82 | private $typeRef = null; |
|
| 83 | ||
| 84 | /** |
|
| 85 | * Gets as elementType |
|
| 86 | * |
|
| 87 | * @return string |
|
| 88 | */ |
|
| 89 | public function getElementType() |
|
| 90 | { |
|
| 91 | return $this->elementType; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * Sets a new elementType |
|
| 96 | * |
|
| 97 | * @param string $elementType |
|
| 98 | * @return self |
|
| 99 | */ |
|
| 100 | public function setElementType($elementType) |
|
| 101 | { |
|
| 102 | $this->elementType = $elementType; |
|
| 103 | return $this; |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * Gets as nullable |
|
| 108 | * |
|
| 109 | * @return boolean |
|
| 110 | */ |
|
| 111 | public function getNullable() |
|
| 112 | { |
|
| 113 | return $this->nullable; |
|
| 114 | } |
|
| 115 | ||
| 116 | /** |
|
| 117 | * Sets a new nullable |
|
| 118 | * |
|
| 119 | * @param boolean $nullable |
|
| 120 | * @return self |
|
| 121 | */ |
|
| 122 | public function setNullable($nullable) |
|
| 123 | { |
|
| 124 | $this->nullable = $nullable; |
|
| 125 | return $this; |
|
| 126 | } |
|
| 127 | ||
| 128 | /** |
|
| 129 | * Gets as defaultValue |
|
| 130 | * |
|
| 131 | * @return string |
|
| 132 | */ |
|
| 133 | public function getDefaultValue() |
|
| 134 | { |
|
| 135 | return $this->defaultValue; |
|
| 136 | } |
|
| 137 | ||
| 138 | /** |
|
| 139 | * Sets a new defaultValue |
|
| 140 | * |
|
| 141 | * @param string $defaultValue |
|
| 142 | * @return self |
|
| 143 | */ |
|
| 144 | public function setDefaultValue($defaultValue) |
|
| 145 | { |
|
| 146 | $this->defaultValue = $defaultValue; |
|
| 147 | return $this; |
|
| 148 | } |
|
| 149 | ||
| 150 | /** |
|
| 151 | * Gets as maxLength |
|
| 152 | * |
|
| 153 | * @return string |
|
| 154 | */ |
|
| 155 | public function getMaxLength() |
|
| 156 | { |
|
| 157 | return $this->maxLength; |
|
| 158 | } |
|
| 159 | ||
| 160 | /** |
|
| 161 | * Sets a new maxLength |
|
| 162 | * |
|
| 163 | * @param string $maxLength |
|
| 164 | * @return self |
|
| 165 | */ |
|
| 166 | public function setMaxLength($maxLength) |
|
| 167 | { |
|
| 168 | $this->maxLength = $maxLength; |
|
| 169 | return $this; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * Gets as fixedLength |
|
| 174 | * |
|
| 175 | * @return boolean |
|
| 176 | */ |
|
| 177 | public function getFixedLength() |
|
| 178 | { |
|
| 179 | return $this->fixedLength; |
|
| 180 | } |
|
| 181 | ||
| 182 | /** |
|
| 183 | * Sets a new fixedLength |
|
| 184 | * |
|
| 185 | * @param boolean $fixedLength |
|
| 186 | * @return self |
|
| 187 | */ |
|
| 188 | public function setFixedLength($fixedLength) |
|
| 189 | { |
|
| 190 | $this->fixedLength = $fixedLength; |
|
| 191 | return $this; |
|
| 192 | } |
|
| 193 | ||
| 194 | /** |
|
| 195 | * Gets as precision |
|
| 196 | * |
|
| 197 | * @return integer |
|
| 198 | */ |
|
| 199 | public function getPrecision() |
|
| 200 | { |
|
| 201 | return $this->precision; |
|
| 202 | } |
|
| 203 | ||
| 204 | /** |
|
| 205 | * Sets a new precision |
|
| 206 | * |
|
| 207 | * @param integer $precision |
|
| 208 | * @return self |
|
| 209 | */ |
|
| 210 | public function setPrecision($precision) |
|
| 211 | { |
|
| 212 | $this->precision = $precision; |
|
| 213 | return $this; |
|
| 214 | } |
|
| 215 | ||
| 216 | /** |
|
| 217 | * Gets as scale |
|
| 218 | * |
|
| 219 | * @return integer |
|
| 220 | */ |
|
| 221 | public function getScale() |
|
| 222 | { |
|
| 223 | return $this->scale; |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * Sets a new scale |
|
| 228 | * |
|
| 229 | * @param integer $scale |
|
| 230 | * @return self |
|
| 231 | */ |
|
| 232 | public function setScale($scale) |
|
| 233 | { |
|
| 234 | $this->scale = $scale; |
|
| 235 | return $this; |
|
| 236 | } |
|
| 237 | ||
| 238 | /** |
|
| 239 | * Gets as unicode |
|
| 240 | * |
|
| 241 | * @return boolean |
|
| 242 | */ |
|
| 243 | public function getUnicode() |
|
| 244 | { |
|
| 245 | return $this->unicode; |
|
| 246 | } |
|
| 247 | ||
| 248 | /** |
|
| 249 | * Sets a new unicode |
|
| 250 | * |
|
| 251 | * @param boolean $unicode |
|
| 252 | * @return self |
|
| 253 | */ |
|
| 254 | public function setUnicode($unicode) |
|
| 255 | { |
|
| 256 | $this->unicode = $unicode; |
|
| 257 | return $this; |
|
| 258 | } |
|
| 259 | ||
| 260 | /** |
|
| 261 | * Gets as collation |
|
| 262 | * |
|
| 263 | * @return string |
|
| 264 | */ |
|
| 265 | public function getCollation() |
|
| 266 | { |
|
| 267 | return $this->collation; |
|
| 268 | } |
|
| 269 | ||
| 270 | /** |
|
| 271 | * Sets a new collation |
|
| 272 | * |
|
| 273 | * @param string $collation |
|
| 274 | * @return self |
|
| 275 | */ |
|
| 276 | public function setCollation($collation) |
|
| 277 | { |
|
| 278 | $this->collation = $collation; |
|
| 279 | return $this; |
|
| 280 | } |
|
| 281 | ||
| 282 | /** |
|
| 283 | * Gets as sRID |
|
| 284 | * |
|
| 285 | * @return string |
|
| 286 | */ |
|
| 287 | public function getSRID() |
|
| 288 | { |
|
| 289 | return $this->sRID; |
|
| 290 | } |
|
| 291 | ||
| 292 | /** |
|
| 293 | * Sets a new sRID |
|
| 294 | * |
|
| 295 | * @param string $sRID |
|
| 296 | * @return self |
|
| 297 | */ |
|
| 298 | public function setSRID($sRID) |
|
| 299 | { |
|
| 300 | $this->sRID = $sRID; |
|
| 301 | return $this; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * Gets as collectionType |
|
| 306 | * |
|
| 307 | * @return \MetadataV3\edm\TCollectionTypeType |
|
| 308 | */ |
|
| 309 | public function getCollectionType() |
|
| 310 | { |
|
| 311 | return $this->collectionType; |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * Sets a new collectionType |
|
| 316 | * |
|
| 317 | * @param \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 318 | * @return self |
|
| 319 | */ |
|
| 320 | public function setCollectionType(\MetadataV3\edm\TCollectionTypeType $collectionType) |
|
| 321 | { |
|
| 322 | $this->collectionType = $collectionType; |
|
| 323 | return $this; |
|
| 324 | } |
|
| 325 | ||
| 326 | /** |
|
| 327 | * Gets as referenceType |
|
| 328 | * |
|
| 329 | * @return \MetadataV3\edm\TReferenceTypeType |
|
| 330 | */ |
|
| 331 | public function getReferenceType() |
|
| 332 | { |
|
| 333 | return $this->referenceType; |
|
| 334 | } |
|
| 335 | ||
| 336 | /** |
|
| 337 | * Sets a new referenceType |
|
| 338 | * |
|
| 339 | * @param \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 340 | * @return self |
|
| 341 | */ |
|
| 342 | public function setReferenceType(\MetadataV3\edm\TReferenceTypeType $referenceType) |
|
| 343 | { |
|
| 344 | $this->referenceType = $referenceType; |
|
| 345 | return $this; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * Adds as property |
|
| 350 | * |
|
| 351 | * @return self |
|
| 352 | * @param \MetadataV3\edm\TPropertyType $property |
|
| 353 | */ |
|
| 354 | public function addToRowType(\MetadataV3\edm\TPropertyType $property) |
|
| 355 | { |
|
| 356 | $this->rowType[] = $property; |
|
| 357 | return $this; |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * isset rowType |
|
| 362 | * |
|
| 363 | * @param scalar $index |
|
| 364 | * @return boolean |
|
| 365 | */ |
|
| 366 | public function issetRowType($index) |
|
| 367 | { |
|
| 368 | return isset($this->rowType[$index]); |
|
| 369 | } |
|
| 370 | ||
| 371 | /** |
|
| 372 | * unset rowType |
|
| 373 | * |
|
| 374 | * @param scalar $index |
|
| 375 | * @return void |
|
| 376 | */ |
|
| 377 | public function unsetRowType($index) |
|
| 378 | { |
|
| 379 | unset($this->rowType[$index]); |
|
| 380 | } |
|
| 381 | ||
| 382 | /** |
|
| 383 | * Gets as rowType |
|
| 384 | * |
|
| 385 | * @return \MetadataV3\edm\TPropertyType[] |
|
| 386 | */ |
|
| 387 | public function getRowType() |
|
| 388 | { |
|
| 389 | return $this->rowType; |
|
| 390 | } |
|
| 391 | ||
| 392 | /** |
|
| 393 | * Sets a new rowType |
|
| 394 | * |
|
| 395 | * @param \MetadataV3\edm\TPropertyType[] $rowType |
|
| 396 | * @return self |
|
| 397 | */ |
|
| 398 | public function setRowType(array $rowType) |
|
| 399 | { |
|
| 400 | $this->rowType = $rowType; |
|
| 401 | return $this; |
|
| 402 | } |
|
| 403 | ||
| 404 | /** |
|
| 405 | * Gets as typeRef |
|
| 406 | * |
|
| 407 | * @return \MetadataV3\edm\TTypeRefType |
|
| 408 | */ |
|
| 409 | public function getTypeRef() |
|
| 410 | { |
|
| 411 | return $this->typeRef; |
|
| 412 | } |
|
| 413 | ||
| 414 | /** |
|
| 415 | * Sets a new typeRef |
|
| 416 | * |
|
| 417 | * @param \MetadataV3\edm\TTypeRefType $typeRef |
|
| 418 | * @return self |
|
| 419 | */ |
|
| 420 | public function setTypeRef(\MetadataV3\edm\TTypeRefType $typeRef) |
|
| 421 | { |
|
| 422 | $this->typeRef = $typeRef; |
|
| 423 | return $this; |
|
| 424 | } |
|
| 425 | } |
|
| 426 | ||
| @@ 11-425 (lines=415) @@ | ||
| 8 | * |
|
| 9 | * XSD Type: TFunctionParameter |
|
| 10 | */ |
|
| 11 | class TFunctionParameterType |
|
| 12 | { |
|
| 13 | ||
| 14 | /** |
|
| 15 | * @property string $name |
|
| 16 | */ |
|
| 17 | private $name = null; |
|
| 18 | ||
| 19 | /** |
|
| 20 | * @property string $type |
|
| 21 | */ |
|
| 22 | private $type = null; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @property boolean $nullable |
|
| 26 | */ |
|
| 27 | private $nullable = null; |
|
| 28 | ||
| 29 | /** |
|
| 30 | * @property string $defaultValue |
|
| 31 | */ |
|
| 32 | private $defaultValue = null; |
|
| 33 | ||
| 34 | /** |
|
| 35 | * @property string $maxLength |
|
| 36 | */ |
|
| 37 | private $maxLength = null; |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @property boolean $fixedLength |
|
| 41 | */ |
|
| 42 | private $fixedLength = null; |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @property integer $precision |
|
| 46 | */ |
|
| 47 | private $precision = null; |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @property integer $scale |
|
| 51 | */ |
|
| 52 | private $scale = null; |
|
| 53 | ||
| 54 | /** |
|
| 55 | * @property boolean $unicode |
|
| 56 | */ |
|
| 57 | private $unicode = null; |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @property string $collation |
|
| 61 | */ |
|
| 62 | private $collation = null; |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @property string $sRID |
|
| 66 | */ |
|
| 67 | private $sRID = null; |
|
| 68 | ||
| 69 | /** |
|
| 70 | * @property \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 71 | */ |
|
| 72 | private $collectionType = null; |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @property \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 76 | */ |
|
| 77 | private $referenceType = null; |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @property \MetadataV3\edm\TPropertyType[] $rowType |
|
| 81 | */ |
|
| 82 | private $rowType = null; |
|
| 83 | ||
| 84 | /** |
|
| 85 | * Gets as name |
|
| 86 | * |
|
| 87 | * @return string |
|
| 88 | */ |
|
| 89 | public function getName() |
|
| 90 | { |
|
| 91 | return $this->name; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * Sets a new name |
|
| 96 | * |
|
| 97 | * @param string $name |
|
| 98 | * @return self |
|
| 99 | */ |
|
| 100 | public function setName($name) |
|
| 101 | { |
|
| 102 | $this->name = $name; |
|
| 103 | return $this; |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * Gets as type |
|
| 108 | * |
|
| 109 | * @return string |
|
| 110 | */ |
|
| 111 | public function getType() |
|
| 112 | { |
|
| 113 | return $this->type; |
|
| 114 | } |
|
| 115 | ||
| 116 | /** |
|
| 117 | * Sets a new type |
|
| 118 | * |
|
| 119 | * @param string $type |
|
| 120 | * @return self |
|
| 121 | */ |
|
| 122 | public function setType($type) |
|
| 123 | { |
|
| 124 | $this->type = $type; |
|
| 125 | return $this; |
|
| 126 | } |
|
| 127 | ||
| 128 | /** |
|
| 129 | * Gets as nullable |
|
| 130 | * |
|
| 131 | * @return boolean |
|
| 132 | */ |
|
| 133 | public function getNullable() |
|
| 134 | { |
|
| 135 | return $this->nullable; |
|
| 136 | } |
|
| 137 | ||
| 138 | /** |
|
| 139 | * Sets a new nullable |
|
| 140 | * |
|
| 141 | * @param boolean $nullable |
|
| 142 | * @return self |
|
| 143 | */ |
|
| 144 | public function setNullable($nullable) |
|
| 145 | { |
|
| 146 | $this->nullable = $nullable; |
|
| 147 | return $this; |
|
| 148 | } |
|
| 149 | ||
| 150 | /** |
|
| 151 | * Gets as defaultValue |
|
| 152 | * |
|
| 153 | * @return string |
|
| 154 | */ |
|
| 155 | public function getDefaultValue() |
|
| 156 | { |
|
| 157 | return $this->defaultValue; |
|
| 158 | } |
|
| 159 | ||
| 160 | /** |
|
| 161 | * Sets a new defaultValue |
|
| 162 | * |
|
| 163 | * @param string $defaultValue |
|
| 164 | * @return self |
|
| 165 | */ |
|
| 166 | public function setDefaultValue($defaultValue) |
|
| 167 | { |
|
| 168 | $this->defaultValue = $defaultValue; |
|
| 169 | return $this; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * Gets as maxLength |
|
| 174 | * |
|
| 175 | * @return string |
|
| 176 | */ |
|
| 177 | public function getMaxLength() |
|
| 178 | { |
|
| 179 | return $this->maxLength; |
|
| 180 | } |
|
| 181 | ||
| 182 | /** |
|
| 183 | * Sets a new maxLength |
|
| 184 | * |
|
| 185 | * @param string $maxLength |
|
| 186 | * @return self |
|
| 187 | */ |
|
| 188 | public function setMaxLength($maxLength) |
|
| 189 | { |
|
| 190 | $this->maxLength = $maxLength; |
|
| 191 | return $this; |
|
| 192 | } |
|
| 193 | ||
| 194 | /** |
|
| 195 | * Gets as fixedLength |
|
| 196 | * |
|
| 197 | * @return boolean |
|
| 198 | */ |
|
| 199 | public function getFixedLength() |
|
| 200 | { |
|
| 201 | return $this->fixedLength; |
|
| 202 | } |
|
| 203 | ||
| 204 | /** |
|
| 205 | * Sets a new fixedLength |
|
| 206 | * |
|
| 207 | * @param boolean $fixedLength |
|
| 208 | * @return self |
|
| 209 | */ |
|
| 210 | public function setFixedLength($fixedLength) |
|
| 211 | { |
|
| 212 | $this->fixedLength = $fixedLength; |
|
| 213 | return $this; |
|
| 214 | } |
|
| 215 | ||
| 216 | /** |
|
| 217 | * Gets as precision |
|
| 218 | * |
|
| 219 | * @return integer |
|
| 220 | */ |
|
| 221 | public function getPrecision() |
|
| 222 | { |
|
| 223 | return $this->precision; |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * Sets a new precision |
|
| 228 | * |
|
| 229 | * @param integer $precision |
|
| 230 | * @return self |
|
| 231 | */ |
|
| 232 | public function setPrecision($precision) |
|
| 233 | { |
|
| 234 | $this->precision = $precision; |
|
| 235 | return $this; |
|
| 236 | } |
|
| 237 | ||
| 238 | /** |
|
| 239 | * Gets as scale |
|
| 240 | * |
|
| 241 | * @return integer |
|
| 242 | */ |
|
| 243 | public function getScale() |
|
| 244 | { |
|
| 245 | return $this->scale; |
|
| 246 | } |
|
| 247 | ||
| 248 | /** |
|
| 249 | * Sets a new scale |
|
| 250 | * |
|
| 251 | * @param integer $scale |
|
| 252 | * @return self |
|
| 253 | */ |
|
| 254 | public function setScale($scale) |
|
| 255 | { |
|
| 256 | $this->scale = $scale; |
|
| 257 | return $this; |
|
| 258 | } |
|
| 259 | ||
| 260 | /** |
|
| 261 | * Gets as unicode |
|
| 262 | * |
|
| 263 | * @return boolean |
|
| 264 | */ |
|
| 265 | public function getUnicode() |
|
| 266 | { |
|
| 267 | return $this->unicode; |
|
| 268 | } |
|
| 269 | ||
| 270 | /** |
|
| 271 | * Sets a new unicode |
|
| 272 | * |
|
| 273 | * @param boolean $unicode |
|
| 274 | * @return self |
|
| 275 | */ |
|
| 276 | public function setUnicode($unicode) |
|
| 277 | { |
|
| 278 | $this->unicode = $unicode; |
|
| 279 | return $this; |
|
| 280 | } |
|
| 281 | ||
| 282 | /** |
|
| 283 | * Gets as collation |
|
| 284 | * |
|
| 285 | * @return string |
|
| 286 | */ |
|
| 287 | public function getCollation() |
|
| 288 | { |
|
| 289 | return $this->collation; |
|
| 290 | } |
|
| 291 | ||
| 292 | /** |
|
| 293 | * Sets a new collation |
|
| 294 | * |
|
| 295 | * @param string $collation |
|
| 296 | * @return self |
|
| 297 | */ |
|
| 298 | public function setCollation($collation) |
|
| 299 | { |
|
| 300 | $this->collation = $collation; |
|
| 301 | return $this; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * Gets as sRID |
|
| 306 | * |
|
| 307 | * @return string |
|
| 308 | */ |
|
| 309 | public function getSRID() |
|
| 310 | { |
|
| 311 | return $this->sRID; |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * Sets a new sRID |
|
| 316 | * |
|
| 317 | * @param string $sRID |
|
| 318 | * @return self |
|
| 319 | */ |
|
| 320 | public function setSRID($sRID) |
|
| 321 | { |
|
| 322 | $this->sRID = $sRID; |
|
| 323 | return $this; |
|
| 324 | } |
|
| 325 | ||
| 326 | /** |
|
| 327 | * Gets as collectionType |
|
| 328 | * |
|
| 329 | * @return \MetadataV3\edm\TCollectionTypeType |
|
| 330 | */ |
|
| 331 | public function getCollectionType() |
|
| 332 | { |
|
| 333 | return $this->collectionType; |
|
| 334 | } |
|
| 335 | ||
| 336 | /** |
|
| 337 | * Sets a new collectionType |
|
| 338 | * |
|
| 339 | * @param \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 340 | * @return self |
|
| 341 | */ |
|
| 342 | public function setCollectionType(\MetadataV3\edm\TCollectionTypeType $collectionType) |
|
| 343 | { |
|
| 344 | $this->collectionType = $collectionType; |
|
| 345 | return $this; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * Gets as referenceType |
|
| 350 | * |
|
| 351 | * @return \MetadataV3\edm\TReferenceTypeType |
|
| 352 | */ |
|
| 353 | public function getReferenceType() |
|
| 354 | { |
|
| 355 | return $this->referenceType; |
|
| 356 | } |
|
| 357 | ||
| 358 | /** |
|
| 359 | * Sets a new referenceType |
|
| 360 | * |
|
| 361 | * @param \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 362 | * @return self |
|
| 363 | */ |
|
| 364 | public function setReferenceType(\MetadataV3\edm\TReferenceTypeType $referenceType) |
|
| 365 | { |
|
| 366 | $this->referenceType = $referenceType; |
|
| 367 | return $this; |
|
| 368 | } |
|
| 369 | ||
| 370 | /** |
|
| 371 | * Adds as property |
|
| 372 | * |
|
| 373 | * @return self |
|
| 374 | * @param \MetadataV3\edm\TPropertyType $property |
|
| 375 | */ |
|
| 376 | public function addToRowType(\MetadataV3\edm\TPropertyType $property) |
|
| 377 | { |
|
| 378 | $this->rowType[] = $property; |
|
| 379 | return $this; |
|
| 380 | } |
|
| 381 | ||
| 382 | /** |
|
| 383 | * isset rowType |
|
| 384 | * |
|
| 385 | * @param scalar $index |
|
| 386 | * @return boolean |
|
| 387 | */ |
|
| 388 | public function issetRowType($index) |
|
| 389 | { |
|
| 390 | return isset($this->rowType[$index]); |
|
| 391 | } |
|
| 392 | ||
| 393 | /** |
|
| 394 | * unset rowType |
|
| 395 | * |
|
| 396 | * @param scalar $index |
|
| 397 | * @return void |
|
| 398 | */ |
|
| 399 | public function unsetRowType($index) |
|
| 400 | { |
|
| 401 | unset($this->rowType[$index]); |
|
| 402 | } |
|
| 403 | ||
| 404 | /** |
|
| 405 | * Gets as rowType |
|
| 406 | * |
|
| 407 | * @return \MetadataV3\edm\TPropertyType[] |
|
| 408 | */ |
|
| 409 | public function getRowType() |
|
| 410 | { |
|
| 411 | return $this->rowType; |
|
| 412 | } |
|
| 413 | ||
| 414 | /** |
|
| 415 | * Sets a new rowType |
|
| 416 | * |
|
| 417 | * @param \MetadataV3\edm\TPropertyType[] $rowType |
|
| 418 | * @return self |
|
| 419 | */ |
|
| 420 | public function setRowType(array $rowType) |
|
| 421 | { |
|
| 422 | $this->rowType = $rowType; |
|
| 423 | return $this; |
|
| 424 | } |
|
| 425 | } |
|
| 426 | ||
| @@ 11-425 (lines=415) @@ | ||
| 8 | * |
|
| 9 | * XSD Type: TProperty |
|
| 10 | */ |
|
| 11 | class TPropertyType |
|
| 12 | { |
|
| 13 | ||
| 14 | /** |
|
| 15 | * @property string $name |
|
| 16 | */ |
|
| 17 | private $name = null; |
|
| 18 | ||
| 19 | /** |
|
| 20 | * @property string $type |
|
| 21 | */ |
|
| 22 | private $type = null; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @property boolean $nullable |
|
| 26 | */ |
|
| 27 | private $nullable = null; |
|
| 28 | ||
| 29 | /** |
|
| 30 | * @property string $defaultValue |
|
| 31 | */ |
|
| 32 | private $defaultValue = null; |
|
| 33 | ||
| 34 | /** |
|
| 35 | * @property string $maxLength |
|
| 36 | */ |
|
| 37 | private $maxLength = null; |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @property boolean $fixedLength |
|
| 41 | */ |
|
| 42 | private $fixedLength = null; |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @property integer $precision |
|
| 46 | */ |
|
| 47 | private $precision = null; |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @property integer $scale |
|
| 51 | */ |
|
| 52 | private $scale = null; |
|
| 53 | ||
| 54 | /** |
|
| 55 | * @property boolean $unicode |
|
| 56 | */ |
|
| 57 | private $unicode = null; |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @property string $collation |
|
| 61 | */ |
|
| 62 | private $collation = null; |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @property string $sRID |
|
| 66 | */ |
|
| 67 | private $sRID = null; |
|
| 68 | ||
| 69 | /** |
|
| 70 | * @property \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 71 | */ |
|
| 72 | private $collectionType = null; |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @property \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 76 | */ |
|
| 77 | private $referenceType = null; |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @property \MetadataV3\edm\TPropertyType[] $rowType |
|
| 81 | */ |
|
| 82 | private $rowType = null; |
|
| 83 | ||
| 84 | /** |
|
| 85 | * Gets as name |
|
| 86 | * |
|
| 87 | * @return string |
|
| 88 | */ |
|
| 89 | public function getName() |
|
| 90 | { |
|
| 91 | return $this->name; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * Sets a new name |
|
| 96 | * |
|
| 97 | * @param string $name |
|
| 98 | * @return self |
|
| 99 | */ |
|
| 100 | public function setName($name) |
|
| 101 | { |
|
| 102 | $this->name = $name; |
|
| 103 | return $this; |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * Gets as type |
|
| 108 | * |
|
| 109 | * @return string |
|
| 110 | */ |
|
| 111 | public function getType() |
|
| 112 | { |
|
| 113 | return $this->type; |
|
| 114 | } |
|
| 115 | ||
| 116 | /** |
|
| 117 | * Sets a new type |
|
| 118 | * |
|
| 119 | * @param string $type |
|
| 120 | * @return self |
|
| 121 | */ |
|
| 122 | public function setType($type) |
|
| 123 | { |
|
| 124 | $this->type = $type; |
|
| 125 | return $this; |
|
| 126 | } |
|
| 127 | ||
| 128 | /** |
|
| 129 | * Gets as nullable |
|
| 130 | * |
|
| 131 | * @return boolean |
|
| 132 | */ |
|
| 133 | public function getNullable() |
|
| 134 | { |
|
| 135 | return $this->nullable; |
|
| 136 | } |
|
| 137 | ||
| 138 | /** |
|
| 139 | * Sets a new nullable |
|
| 140 | * |
|
| 141 | * @param boolean $nullable |
|
| 142 | * @return self |
|
| 143 | */ |
|
| 144 | public function setNullable($nullable) |
|
| 145 | { |
|
| 146 | $this->nullable = $nullable; |
|
| 147 | return $this; |
|
| 148 | } |
|
| 149 | ||
| 150 | /** |
|
| 151 | * Gets as defaultValue |
|
| 152 | * |
|
| 153 | * @return string |
|
| 154 | */ |
|
| 155 | public function getDefaultValue() |
|
| 156 | { |
|
| 157 | return $this->defaultValue; |
|
| 158 | } |
|
| 159 | ||
| 160 | /** |
|
| 161 | * Sets a new defaultValue |
|
| 162 | * |
|
| 163 | * @param string $defaultValue |
|
| 164 | * @return self |
|
| 165 | */ |
|
| 166 | public function setDefaultValue($defaultValue) |
|
| 167 | { |
|
| 168 | $this->defaultValue = $defaultValue; |
|
| 169 | return $this; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * Gets as maxLength |
|
| 174 | * |
|
| 175 | * @return string |
|
| 176 | */ |
|
| 177 | public function getMaxLength() |
|
| 178 | { |
|
| 179 | return $this->maxLength; |
|
| 180 | } |
|
| 181 | ||
| 182 | /** |
|
| 183 | * Sets a new maxLength |
|
| 184 | * |
|
| 185 | * @param string $maxLength |
|
| 186 | * @return self |
|
| 187 | */ |
|
| 188 | public function setMaxLength($maxLength) |
|
| 189 | { |
|
| 190 | $this->maxLength = $maxLength; |
|
| 191 | return $this; |
|
| 192 | } |
|
| 193 | ||
| 194 | /** |
|
| 195 | * Gets as fixedLength |
|
| 196 | * |
|
| 197 | * @return boolean |
|
| 198 | */ |
|
| 199 | public function getFixedLength() |
|
| 200 | { |
|
| 201 | return $this->fixedLength; |
|
| 202 | } |
|
| 203 | ||
| 204 | /** |
|
| 205 | * Sets a new fixedLength |
|
| 206 | * |
|
| 207 | * @param boolean $fixedLength |
|
| 208 | * @return self |
|
| 209 | */ |
|
| 210 | public function setFixedLength($fixedLength) |
|
| 211 | { |
|
| 212 | $this->fixedLength = $fixedLength; |
|
| 213 | return $this; |
|
| 214 | } |
|
| 215 | ||
| 216 | /** |
|
| 217 | * Gets as precision |
|
| 218 | * |
|
| 219 | * @return integer |
|
| 220 | */ |
|
| 221 | public function getPrecision() |
|
| 222 | { |
|
| 223 | return $this->precision; |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * Sets a new precision |
|
| 228 | * |
|
| 229 | * @param integer $precision |
|
| 230 | * @return self |
|
| 231 | */ |
|
| 232 | public function setPrecision($precision) |
|
| 233 | { |
|
| 234 | $this->precision = $precision; |
|
| 235 | return $this; |
|
| 236 | } |
|
| 237 | ||
| 238 | /** |
|
| 239 | * Gets as scale |
|
| 240 | * |
|
| 241 | * @return integer |
|
| 242 | */ |
|
| 243 | public function getScale() |
|
| 244 | { |
|
| 245 | return $this->scale; |
|
| 246 | } |
|
| 247 | ||
| 248 | /** |
|
| 249 | * Sets a new scale |
|
| 250 | * |
|
| 251 | * @param integer $scale |
|
| 252 | * @return self |
|
| 253 | */ |
|
| 254 | public function setScale($scale) |
|
| 255 | { |
|
| 256 | $this->scale = $scale; |
|
| 257 | return $this; |
|
| 258 | } |
|
| 259 | ||
| 260 | /** |
|
| 261 | * Gets as unicode |
|
| 262 | * |
|
| 263 | * @return boolean |
|
| 264 | */ |
|
| 265 | public function getUnicode() |
|
| 266 | { |
|
| 267 | return $this->unicode; |
|
| 268 | } |
|
| 269 | ||
| 270 | /** |
|
| 271 | * Sets a new unicode |
|
| 272 | * |
|
| 273 | * @param boolean $unicode |
|
| 274 | * @return self |
|
| 275 | */ |
|
| 276 | public function setUnicode($unicode) |
|
| 277 | { |
|
| 278 | $this->unicode = $unicode; |
|
| 279 | return $this; |
|
| 280 | } |
|
| 281 | ||
| 282 | /** |
|
| 283 | * Gets as collation |
|
| 284 | * |
|
| 285 | * @return string |
|
| 286 | */ |
|
| 287 | public function getCollation() |
|
| 288 | { |
|
| 289 | return $this->collation; |
|
| 290 | } |
|
| 291 | ||
| 292 | /** |
|
| 293 | * Sets a new collation |
|
| 294 | * |
|
| 295 | * @param string $collation |
|
| 296 | * @return self |
|
| 297 | */ |
|
| 298 | public function setCollation($collation) |
|
| 299 | { |
|
| 300 | $this->collation = $collation; |
|
| 301 | return $this; |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * Gets as sRID |
|
| 306 | * |
|
| 307 | * @return string |
|
| 308 | */ |
|
| 309 | public function getSRID() |
|
| 310 | { |
|
| 311 | return $this->sRID; |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * Sets a new sRID |
|
| 316 | * |
|
| 317 | * @param string $sRID |
|
| 318 | * @return self |
|
| 319 | */ |
|
| 320 | public function setSRID($sRID) |
|
| 321 | { |
|
| 322 | $this->sRID = $sRID; |
|
| 323 | return $this; |
|
| 324 | } |
|
| 325 | ||
| 326 | /** |
|
| 327 | * Gets as collectionType |
|
| 328 | * |
|
| 329 | * @return \MetadataV3\edm\TCollectionTypeType |
|
| 330 | */ |
|
| 331 | public function getCollectionType() |
|
| 332 | { |
|
| 333 | return $this->collectionType; |
|
| 334 | } |
|
| 335 | ||
| 336 | /** |
|
| 337 | * Sets a new collectionType |
|
| 338 | * |
|
| 339 | * @param \MetadataV3\edm\TCollectionTypeType $collectionType |
|
| 340 | * @return self |
|
| 341 | */ |
|
| 342 | public function setCollectionType(\MetadataV3\edm\TCollectionTypeType $collectionType) |
|
| 343 | { |
|
| 344 | $this->collectionType = $collectionType; |
|
| 345 | return $this; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * Gets as referenceType |
|
| 350 | * |
|
| 351 | * @return \MetadataV3\edm\TReferenceTypeType |
|
| 352 | */ |
|
| 353 | public function getReferenceType() |
|
| 354 | { |
|
| 355 | return $this->referenceType; |
|
| 356 | } |
|
| 357 | ||
| 358 | /** |
|
| 359 | * Sets a new referenceType |
|
| 360 | * |
|
| 361 | * @param \MetadataV3\edm\TReferenceTypeType $referenceType |
|
| 362 | * @return self |
|
| 363 | */ |
|
| 364 | public function setReferenceType(\MetadataV3\edm\TReferenceTypeType $referenceType) |
|
| 365 | { |
|
| 366 | $this->referenceType = $referenceType; |
|
| 367 | return $this; |
|
| 368 | } |
|
| 369 | ||
| 370 | /** |
|
| 371 | * Adds as property |
|
| 372 | * |
|
| 373 | * @return self |
|
| 374 | * @param \MetadataV3\edm\TPropertyType $property |
|
| 375 | */ |
|
| 376 | public function addToRowType(\MetadataV3\edm\TPropertyType $property) |
|
| 377 | { |
|
| 378 | $this->rowType[] = $property; |
|
| 379 | return $this; |
|
| 380 | } |
|
| 381 | ||
| 382 | /** |
|
| 383 | * isset rowType |
|
| 384 | * |
|
| 385 | * @param scalar $index |
|
| 386 | * @return boolean |
|
| 387 | */ |
|
| 388 | public function issetRowType($index) |
|
| 389 | { |
|
| 390 | return isset($this->rowType[$index]); |
|
| 391 | } |
|
| 392 | ||
| 393 | /** |
|
| 394 | * unset rowType |
|
| 395 | * |
|
| 396 | * @param scalar $index |
|
| 397 | * @return void |
|
| 398 | */ |
|
| 399 | public function unsetRowType($index) |
|
| 400 | { |
|
| 401 | unset($this->rowType[$index]); |
|
| 402 | } |
|
| 403 | ||
| 404 | /** |
|
| 405 | * Gets as rowType |
|
| 406 | * |
|
| 407 | * @return \MetadataV3\edm\TPropertyType[] |
|
| 408 | */ |
|
| 409 | public function getRowType() |
|
| 410 | { |
|
| 411 | return $this->rowType; |
|
| 412 | } |
|
| 413 | ||
| 414 | /** |
|
| 415 | * Sets a new rowType |
|
| 416 | * |
|
| 417 | * @param \MetadataV3\edm\TPropertyType[] $rowType |
|
| 418 | * @return self |
|
| 419 | */ |
|
| 420 | public function setRowType(array $rowType) |
|
| 421 | { |
|
| 422 | $this->rowType = $rowType; |
|
| 423 | return $this; |
|
| 424 | } |
|
| 425 | } |
|
| 426 | ||