src/MetadataV3/edm/ssdl/TAssociationEndType.php 1 location
|
@@ 162-165 (lines=4) @@
|
| 159 |
|
$msg = "Multiplicity cannot be null or empty"; |
| 160 |
|
return false; |
| 161 |
|
} |
| 162 |
|
if (null != $this->role && !$this->isStringNotNullOrEmpty($this->role)) { |
| 163 |
|
$msg = "Role cannot be empty"; |
| 164 |
|
return false; |
| 165 |
|
} |
| 166 |
|
if (null != $this->role && !$this->isTSimpleIdentifierValid($this->role)) { |
| 167 |
|
$msg = "Role must be a valid TSimpleIdentifier"; |
| 168 |
|
return false; |
src/MetadataV3/edm/ssdl/TEntityPropertyType.php 2 locations
|
@@ 399-402 (lines=4) @@
|
| 396 |
|
$msg = "Type cannot be null or empty"; |
| 397 |
|
return false; |
| 398 |
|
} |
| 399 |
|
if (null != $this->defaultValue && !$this->isStringNotNullOrEmpty($this->defaultValue)) { |
| 400 |
|
$msg = "Default value cannot be empty"; |
| 401 |
|
return false; |
| 402 |
|
} |
| 403 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 < $this->maxLength)) { |
| 404 |
|
$msg = "Max length must be positive and numeric"; |
| 405 |
|
return false; |
|
@@ 419-422 (lines=4) @@
|
| 416 |
|
$msg = "Collation cannot be empty"; |
| 417 |
|
return false; |
| 418 |
|
} |
| 419 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 420 |
|
$msg = "SRID cannot be empty"; |
| 421 |
|
return false; |
| 422 |
|
} |
| 423 |
|
if (null != $this->storeGeneratedPattern && !$this->isStringNotNullOrEmpty($this->storeGeneratedPattern)) { |
| 424 |
|
$msg = "Store generated pattern cannot be empty"; |
| 425 |
|
return false; |
src/MetadataV3/edm/ssdl/TParameterType.php 2 locations
|
@@ 276-279 (lines=4) @@
|
| 273 |
|
$msg = "Type cannot be null or empty"; |
| 274 |
|
return false; |
| 275 |
|
} |
| 276 |
|
if (null != $this->mode && !$this->isStringNotNullOrEmpty($this->mode)) { |
| 277 |
|
$msg = "Mode cannot be empty"; |
| 278 |
|
return false; |
| 279 |
|
} |
| 280 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 281 |
|
$msg = "SRID cannot be empty"; |
| 282 |
|
return false; |
|
@@ 280-283 (lines=4) @@
|
| 277 |
|
$msg = "Mode cannot be empty"; |
| 278 |
|
return false; |
| 279 |
|
} |
| 280 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 281 |
|
$msg = "SRID cannot be empty"; |
| 282 |
|
return false; |
| 283 |
|
} |
| 284 |
|
if (null != $this->type && !$this->isTFunctionTypeValid($this->type)) { |
| 285 |
|
$msg = "Type must be a valid TFunctionType"; |
| 286 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 2 locations
|
@@ 373-376 (lines=4) @@
|
| 370 |
|
$msg = "Type cannot be null or empty"; |
| 371 |
|
return false; |
| 372 |
|
} |
| 373 |
|
if (null != $this->defaultValue && !$this->isStringNotNullOrEmpty($this->defaultValue)) { |
| 374 |
|
$msg = "Default value cannot be empty"; |
| 375 |
|
return false; |
| 376 |
|
} |
| 377 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 378 |
|
$msg = "SRID value cannot be empty"; |
| 379 |
|
return false; |
|
@@ 377-380 (lines=4) @@
|
| 374 |
|
$msg = "Default value cannot be empty"; |
| 375 |
|
return false; |
| 376 |
|
} |
| 377 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 378 |
|
$msg = "SRID value cannot be empty"; |
| 379 |
|
return false; |
| 380 |
|
} |
| 381 |
|
if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) { |
| 382 |
|
$msg = "Collation value cannot be empty"; |
| 383 |
|
return false; |