xpxDeleteProtectedElement
FUNCTION xpxDeleteProtectedElement (aggrId : AGGREGATE OF GENERIC; elementValue : GENERIC) status : INTEGER;
The xpxDeleteProtectedElement function deletes all elements with a given value from 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.
Arguments
Type | Name | Comment |
AGGREGATE OF GENERIC | aggrId | is a numeric aggregateID that uniquely identifies the aggregate of interest in the EDMdatabase |
GENERIC | elementValue | specifies the data type, i.e. the primitive type of the data value to be retrieved. This <elementValue> must be the same or a compatible type of the primitive type of the value in the actual aggregate element. The primitive type sdaiSELECT can be used to read all data types. The primitive type sdaiADB can be used to read all data types except typed values. The primitive type sdaiINTEGER is compatible with sdaiREAL, and sdaiBOOLEAN is compatible with sdaiLOGICAL, hence conversion between these compatible data types will be performed when required. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
Options
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.