Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  SYNTAX:
 
xpfCreateAggrBN (instanceId    : GENERIC;
                 attributeName : STRING)                  newAggrId     : AGGREGATE OF GENERIC;
 
The xpfCreateAggrBN function

Code Block
languagecpp
themeConfluence
UNCTION xpfCreateAggrBN  (instanceId  : GENERIC;
                           attributeName  : STRING) 
                           newAggrId   : AGGREGATE OF GENERIC;
                        

Use this function to creates an empty aggregate instance and connects the created aggregate to the specified attribute, <attributeName><attributeId>, of in the specified instance, <instanceId>.
A numeric aggregateID that uniquely identifies the new created aggregate instance, <newAggrId>, instance in the EDMdatabase  will be the returned function value. This aggregateID should be used to identify this particular aggregate instance in subsequent EDMinterface  operations. An aggregateID is persistent and fixed, i.e. it is constant throughout the lifetime of the actual aggregate instance.
The actual aggregate type to be created is defined by the attributed attribute declaration in the related EXPRESS schema. If the actual attribute domain is a nested aggregate, only the first level, i.e., the outer-most aggregate is created. The other levels must be created by one of the following functions: xpxCreateNestedAggr, xpxCreateNestedAggrByIndex or xpxCreateNestedAggrByIterator.
. The actual attribute that will own the new created aggregate is specified by a numeric attributeID that uniquely identifies an attribute definition instance in the EDMdatabase. If the actual attribute already owns an aggregate, the existing aggregate will be deleted before a new one is created by this function.
An aggregateID can never be used as a data value in any of the EDMinterface  put operations, it can only be returned as data value in EDMinterface  get operations.
This operation is only applicable to Explicit attributes in application instances.
The model that will hold the new created aggregate must be open for write access before this function can be successfully performed. This function is equivalent to the EDMinterface function sdaiCreateAggrBN.
See also xpxCreateAggrBN.

Arguments

...

TypeNameComment
GENERICinstanceIdcomments
STRINGattributeName 

Return Value

...

 

TypeNameComment
AGGREGATE OF GENERIC;newAggrIdcomments

Options

...

 

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"