xpfCreateNestedAggrByIndex

FUNCTION xpfCreateNestedAggrByIndex (aggrId    : AGGREATE OF GENERIC; 
                                     index     : INTEGER)   
                                     newAggrId : AGGREATE OF GENERIC;
                

The xpfCreateNestedAggrByIndex function creates an aggregate instance and sets the created aggregate as an element in an already existing aggregate instance, i.e., a nested aggregate is the result of this operation. The already existing aggregate, <aggrId>, will be the parent aggregate of the new created aggregate, aggregateID returned in the <newAggrId> argument, and the new created aggregate will be a child aggregate of the already existing aggregate. The position of the new aggregate in the parent aggregate is specified by an aggregate element <index>. If an aggregate is already existing in this position in the parent aggregate, this existing aggregate will be deleted before the new one is created and inserted in the parent aggregate.

Arguments


TypeNameComment
AGGREATE OF GENERICaggrIdcomments
INTEGER
index     
 

Return Value


 

TypeNameComment
AGGREATE OF GENERICnewAggrIdcomments

Options


 

Example


<Missing Example>

 

See also

Filter by label

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

Â