| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method SynchronizeChildren ( |  |   SWF_Workflow workflow, |  |   SWF_Step parent, |  |   Boolean recursive, |  |   SWF_WorkflowElements synced_elements |  | ) |  | { |  |   Description: |  |   [* |  |     Synchronize all my child element definitions with [workflow]. If the [recursive] flag is set then recursively also children of children are synchronized.  |  |     PRECONDITION: [parent] is the step matching with this definition in [workflow] |  |   *] |  |   TextBody: |  |   [* |  |     sortedDef := selectsortedset( this, ChildElementDefinition, c, true, c.ID() ); |  |     traverse( sortedDef, Elements, child ) |  |     { |  |       child.Synchronize( workflow, parent, recursive, synced_elements ); |  |     } |  |   *] |  | } | 
 |