MetadataV4/src/edmx/TIncludeAnnotationsType.php 1 location
|
@@ 112-121 (lines=10) @@
|
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
|
| 112 |
|
if (null != $this->qualifier) { |
| 113 |
|
if (!is_string($this->qualifier)) { |
| 114 |
|
$msg = "qualifier must be either a string or null"; |
| 115 |
|
return false; |
| 116 |
|
} |
| 117 |
|
if (!$this->IsTSimpleIdentifierValid($this->qualifier)) { |
| 118 |
|
$msg = "qualifier Must be a valid TSimpleIdentifyer"; |
| 119 |
|
return false; |
| 120 |
|
} |
| 121 |
|
} |
| 122 |
|
if (null != $this->targetNamespace) { |
| 123 |
|
if (!is_string($this->targetNamespace)) { |
| 124 |
|
$msg = "targetNamespace must be either a string or null"; |
MetadataV4/src/edmx/TIncludeType.php 1 location
|
@@ 82-91 (lines=10) @@
|
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
|
| 82 |
|
if (null != $this->alias) { |
| 83 |
|
if (!is_string($this->alias)) { |
| 84 |
|
$msg = "alias must be either a string or null"; |
| 85 |
|
return false; |
| 86 |
|
} |
| 87 |
|
if (!$this->IsTSimpleIdentifierValid($this->alias)) { |
| 88 |
|
$msg = "alias Must be a valid TSimpleIdentifyer"; |
| 89 |
|
return false; |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
return true; |
| 93 |
|
} |
| 94 |
|
} |