...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxAddProtectedElement (aggrId : AGGREGATE OF GENERIC;
elementValue : GENERIC)
status : INTEGER;
|
The xpxAddProtectedElement function adds an element to an aggregate in a protected attribute.
Some system models are created and maintained by EDM and therefore the users need no write access to them. However, in these system models, some attributes may still be manipulated by selected users even if the model it self is open for read only. The ordinary operations such as e.g sdaiAdd and sdaiDelete, would return an error code if used on these attributes. To manipulate protected attributes one must use the protected-versions of the operations.
The arguments of the function are:
...
Argument:
...
Arguments
...
Type | Name | Comment |
AGGREGATE OF GENERIC | aggrId | A numeric aggregateID that uniquely identifies the aggregate instance in the operation. |
GENERIC | elementValue | The primitive type of the elements in the aggregate |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
This function is equivalent to the EDMinterface function edmiAddProtectedElement
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|