src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 1 location
|
@@ 316-319 (lines=4) @@
|
313 |
|
|
314 |
|
public function isGInlineExpressionsValid(&$msg = null) |
315 |
|
{ |
316 |
|
if (null != $this->string && !is_string($this->string)) { |
317 |
|
$msg = "String must be a string: " . get_class($this); |
318 |
|
return false; |
319 |
|
} |
320 |
|
if (null != $this->binary && !$this->hexBinary($this->binary)) { |
321 |
|
$msg = "Binary must be hexadecimal: " . get_class($this); |
322 |
|
return false; |
src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location
|
@@ 321-324 (lines=4) @@
|
318 |
|
$msg = "Nullable must be boolean: " . get_class($this); |
319 |
|
return false; |
320 |
|
} |
321 |
|
if (null != $this->defaultValue && !is_string($this->defaultValue)) { |
322 |
|
$msg = "Default value must be a string: " . get_class($this); |
323 |
|
return false; |
324 |
|
} |
325 |
|
if (null != $this->collation && !$this->isTCollationFacetValid($this->collation)) { |
326 |
|
$msg = "Collation must be a valid TCollationFacet: " . get_class($this); |
327 |
|
return false; |
src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location
|
@@ 492-495 (lines=4) @@
|
489 |
|
$msg = "Nullable must be boolean: " . get_class($this); |
490 |
|
return false; |
491 |
|
} |
492 |
|
if (null != $this->defaultValue && !is_string($this->defaultValue)) { |
493 |
|
$msg = "Default value must be a string: " . get_class($this); |
494 |
|
return false; |
495 |
|
} |
496 |
|
if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) { |
497 |
|
$msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this); |
498 |
|
return false; |