Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


 

 

FUNCTION xpfCreateInstanceAndPutAttrsBN (modelId                        : GENERIC;
                                         entityName                     : STRING;
                                         numberOfAttributes             : INTEGER;
                                         attrName1 : STRING; attrValue1 : GENERIC;
                                         ...                 ...",
                                         attrNameN STRING;  attrValueN : GENERIC)
                                         newInstanceId                  : GENERIC;
                

 

The xpfCreateInstanceAndPutAttrs function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpfCreateInstance and xpxPutAttrs operations. The instanceID of the created instance is returned by the function in the argument <newInstanceId>. This operation is only applicable to data models. The actual data model must be open for write access , before this operation can be successfully performed.                                      

 

Arguments

 


 

TypeNameComment
GENERICmodelIdcomments
STRINGentityName 
INTEGERnumberOfAttributes 
STRINGattrName1 
GENERICattrValue1 

 

Return Value

 


 

TypeNameComment
GENERICnewInstanceIdcomments

 

Options

 


 

Example

 


 

<Missing Example>

 

See also

 

Filter by label

There are no items with the selected labels at this time.

 

  • No labels