src/MetadataV3/mapping/cs/Groups/TAssociationSetModificationFunctionMappingPropertyGroup.php 1 location
|
@@ 34-42 (lines=9) @@
|
| 31 |
|
* $endProperty |
| 32 |
|
* @return self |
| 33 |
|
*/ |
| 34 |
|
public function setEndProperty(TModificationFunctionMappingEndPropertyType $endProperty) |
| 35 |
|
{ |
| 36 |
|
$msg = null; |
| 37 |
|
if (!$endProperty->isOK($msg)) { |
| 38 |
|
throw new \InvalidArgumentException($msg); |
| 39 |
|
} |
| 40 |
|
$this->endProperty = $endProperty; |
| 41 |
|
return $this; |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
public function isAssociationSetModificationFunctionMappingOK(&$msg = null) |
| 45 |
|
{ |
src/MetadataV3/mapping/cs/TAssociationSetMappingType.php 1 location
|
@@ 173-181 (lines=9) @@
|
| 170 |
|
* @return self |
| 171 |
|
* @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TEndPropertyType $endProperty |
| 172 |
|
*/ |
| 173 |
|
public function addToEndProperty(TEndPropertyType $endProperty) |
| 174 |
|
{ |
| 175 |
|
$msg = null; |
| 176 |
|
if (!$endProperty->isOK($msg)) { |
| 177 |
|
throw new \InvalidArgumentException($msg); |
| 178 |
|
} |
| 179 |
|
$this->endProperty[] = $endProperty; |
| 180 |
|
return $this; |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
/** |
| 184 |
|
* isset endProperty |