src/MetadataV3/mapping/cs/TAssociationSetMappingType.php 1 location
|
@@ 338-341 (lines=4) @@
|
| 335 |
|
$msg = 'Name cannot be null or empty'; |
| 336 |
|
return false; |
| 337 |
|
} |
| 338 |
|
if (null != $this->typeName && !$this->isStringNotNullOrEmpty($this->typeName)) { |
| 339 |
|
$msg = 'Type name cannot be empty'; |
| 340 |
|
return false; |
| 341 |
|
} |
| 342 |
|
if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) { |
| 343 |
|
$msg = 'Store entity set cannot be empty'; |
| 344 |
|
return false; |
src/MetadataV3/mapping/cs/TEntitySetMappingType.php 1 location
|
@@ 364-367 (lines=4) @@
|
| 361 |
|
$msg = 'Name cannot be null or empty'; |
| 362 |
|
return false; |
| 363 |
|
} |
| 364 |
|
if (null != $this->typeName && !$this->isStringNotNullOrEmpty($this->typeName)) { |
| 365 |
|
$msg = 'Type name cannot be empty'; |
| 366 |
|
return false; |
| 367 |
|
} |
| 368 |
|
if (null != $this->storeEntitySet && !$this->isStringNotNullOrEmpty($this->storeEntitySet)) { |
| 369 |
|
$msg = 'Store entity set cannot be empty'; |
| 370 |
|
return false; |
src/MetadataV3/mapping/cs/TComplexPropertyType.php 1 location
|
@@ 421-424 (lines=4) @@
|
| 418 |
|
$msg = 'Name cannot be null or empty'; |
| 419 |
|
return false; |
| 420 |
|
} |
| 421 |
|
if (null != $this->typeName && !$this->isStringNotNullOrEmpty($this->typeName)) { |
| 422 |
|
$msg = 'Type name cannot be empty'; |
| 423 |
|
return false; |
| 424 |
|
} |
| 425 |
|
if (!$this->isTSimpleIdentifierValid($this->name)) { |
| 426 |
|
$msg = 'Name must be a valid TSimpleIdentifier'; |
| 427 |
|
return false; |
src/MetadataV3/mapping/cs/TComplexTypeMappingType.php 1 location
|
@@ 307-312 (lines=6) @@
|
| 304 |
|
|
| 305 |
|
public function isOK(&$msg = null) |
| 306 |
|
{ |
| 307 |
|
if (null != $this->typeName) { |
| 308 |
|
if (!$this->isStringNotNullOrEmpty($this->typeName)) { |
| 309 |
|
$msg = 'Type name cannot be empty'; |
| 310 |
|
return false; |
| 311 |
|
} |
| 312 |
|
} |
| 313 |
|
$count = count($this->scalarProperty) + count($this->complexProperty) + count($this->condition); |
| 314 |
|
if (1 > $count) { |
| 315 |
|
$msg = "Cannot have all arrays empty"; |