public class IlrDTCloneHelper
extends java.lang.Object
IlrDTModel.| Constructor and Description |
|---|
IlrDTCloneHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cloneActionSet(IlrDTModel dtModel,
IlrDTPartitionItem item,
IlrDTActionSet actionSet)
Replaces the statement of a partition item by a copy of the given action set.
|
static void |
clonePartition(IlrDTModel dtModel,
IlrDTPartitionItem item,
IlrDTPartition partition)
Replaces the statement of a partition item by a copy of the given partition.
|
static IlrDTPartitionItem |
clonePartitionItem(IlrDTModel dtModel,
IlrDTPartition partition,
int index,
IlrDTPartitionItem item)
Inserts a recursive copy of the partition item
item at position index in the partition partition of
dtModel. |
static IlrDTPartitionItem |
clonePartitionItem(IlrDTModel dtModel,
IlrDTPartition partition,
int index,
IlrDTPartitionItem item,
boolean replaceItem)
Inserts or replaces a recursive copy of the partition item
item at position index in the partition partition
of dtModel. |
public static void clonePartition(IlrDTModel dtModel, IlrDTPartitionItem item, IlrDTPartition partition)
dtModel - The model target of the copy.item - The partition item whose statement will be replaced.partition - The partition source of the copy.public static IlrDTPartitionItem clonePartitionItem(IlrDTModel dtModel, IlrDTPartition partition, int index, IlrDTPartitionItem item)
item at position index in the partition partition of
dtModel.dtModel - The target model.partition - The parent partition of the copied item.index - The index to insert the copied item.item - The partition item source for the copy.public static IlrDTPartitionItem clonePartitionItem(IlrDTModel dtModel, IlrDTPartition partition, int index, IlrDTPartitionItem item, boolean replaceItem)
item at position index in the partition partition
of dtModel.dtModel - The target model.partition - The parent partition of the copied item.index - The index to insert the copied item.item - The partition item source for the copy.replaceItem - True to replace the partition item a position index, false to insert the copy at position index.public static void cloneActionSet(IlrDTModel dtModel, IlrDTPartitionItem item, IlrDTActionSet actionSet)
dtModel - The model target of the copy.item - The partition item whose statement will be replaced.actionSet - The action set source of the copy.© Copyright IBM Corp. 1987, 2017