src/MetadataV3/edm/ssdl/TAssociationEndType.php 1 location
|
@@ 198-201 (lines=4) @@
|
| 195 |
|
$msg = "Multiplicity cannot be null or empty"; |
| 196 |
|
return false; |
| 197 |
|
} |
| 198 |
|
if (null != $this->role && !$this->isStringNotNullOrEmpty($this->role)) { |
| 199 |
|
$msg = "Role cannot be empty"; |
| 200 |
|
return false; |
| 201 |
|
} |
| 202 |
|
if (null != $this->role && !$this->isTSimpleIdentifierValid($this->role)) { |
| 203 |
|
$msg = "Role must be a valid TSimpleIdentifier"; |
| 204 |
|
return false; |
src/MetadataV3/edm/ssdl/TEntityPropertyType.php 2 locations
|
@@ 380-383 (lines=4) @@
|
| 377 |
|
$msg = "Type cannot be null or empty"; |
| 378 |
|
return false; |
| 379 |
|
} |
| 380 |
|
if (null != $this->defaultValue && !$this->isStringNotNullOrEmpty($this->defaultValue)) { |
| 381 |
|
$msg = "Default value cannot be empty"; |
| 382 |
|
return false; |
| 383 |
|
} |
| 384 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 < $this->maxLength)) { |
| 385 |
|
$msg = "Max length must be positive and numeric"; |
| 386 |
|
return false; |
|
@@ 400-403 (lines=4) @@
|
| 397 |
|
$msg = "Collation cannot be empty"; |
| 398 |
|
return false; |
| 399 |
|
} |
| 400 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 401 |
|
$msg = "SRID cannot be empty"; |
| 402 |
|
return false; |
| 403 |
|
} |
| 404 |
|
if (null != $this->storeGeneratedPattern && !$this->isStringNotNullOrEmpty($this->storeGeneratedPattern)) { |
| 405 |
|
$msg = "Store generated pattern cannot be empty"; |
| 406 |
|
return false; |
src/MetadataV3/edm/ssdl/TParameterType.php 2 locations
|
@@ 244-247 (lines=4) @@
|
| 241 |
|
$msg = "Type cannot be null or empty"; |
| 242 |
|
return false; |
| 243 |
|
} |
| 244 |
|
if (null != $this->mode && !$this->isStringNotNullOrEmpty($this->mode)) { |
| 245 |
|
$msg = "Mode cannot be empty"; |
| 246 |
|
return false; |
| 247 |
|
} |
| 248 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 249 |
|
$msg = "SRID cannot be empty"; |
| 250 |
|
return false; |
|
@@ 248-251 (lines=4) @@
|
| 245 |
|
$msg = "Mode cannot be empty"; |
| 246 |
|
return false; |
| 247 |
|
} |
| 248 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 249 |
|
$msg = "SRID cannot be empty"; |
| 250 |
|
return false; |
| 251 |
|
} |
| 252 |
|
if (null != $this->type && !$this->isTFunctionTypeValid($this->type)) { |
| 253 |
|
$msg = "Type must be a valid TFunctionType"; |
| 254 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 2 locations
|
@@ 352-355 (lines=4) @@
|
| 349 |
|
$msg = "Type cannot be null or empty"; |
| 350 |
|
return false; |
| 351 |
|
} |
| 352 |
|
if (null != $this->defaultValue && !$this->isStringNotNullOrEmpty($this->defaultValue)) { |
| 353 |
|
$msg = "Default value cannot be empty"; |
| 354 |
|
return false; |
| 355 |
|
} |
| 356 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 357 |
|
$msg = "SRID value cannot be empty"; |
| 358 |
|
return false; |
|
@@ 356-359 (lines=4) @@
|
| 353 |
|
$msg = "Default value cannot be empty"; |
| 354 |
|
return false; |
| 355 |
|
} |
| 356 |
|
if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) { |
| 357 |
|
$msg = "SRID value cannot be empty"; |
| 358 |
|
return false; |
| 359 |
|
} |
| 360 |
|
if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) { |
| 361 |
|
$msg = "Collation value cannot be empty"; |
| 362 |
|
return false; |