public interface IlrDTPartition extends DTPartition, IlrDTStatement
IlrDTPartitionDefinition.
In the hierarchical structure of an IlrDTModel, all partitions have a parent partition
item except the root partition of the model.
In a tree representation of an IlrDTModel,
an IlrDTPartition is represented as a condition node.
Methods that add and remove partition items must not be called directly. Instead,
use IlrDTModel.addPartitionItem(ilog.rules.dt.model.IlrDTPartition, int, ilog.rules.dt.model.expression.IlrDTExpression)
or IlrDTModel.removePartitionItem(ilog.rules.dt.model.IlrDTPartitionItem) for this purpose.
| Modifier and Type | Method and Description |
|---|---|
IlrDTPartitionDefinition |
getPartitionDefinition()
Returns the related partition definition.
|
IlrDTPartitionItem |
getPartitionItem(int index)
Returns the partition item number index.
|
int |
getPartitionItemCount()
Returns the number of partition items contained by the partition.
|
java.util.List |
getPartitionItems()
Returns the list of partition items.
|
int |
indexOfPartitionItem(IlrDTPartitionItem item)
Returns the index of the given partition item, or -1 if the item does not belong to the partition.
|
getConditionList, getDefinitiongetChildren, getParentPartitionItemgetParentConditiongetDTModel, resetgetModelIlrDTPartitionDefinition getPartitionDefinition()
IlrDTPartitionItem getPartitionItem(int index)
index - The index of the partition item required.int getPartitionItemCount()
java.util.List getPartitionItems()
int indexOfPartitionItem(IlrDTPartitionItem item)
item - The item contained by the partition.© Copyright IBM Corp. 1987, 2017