ilog.rules.dt.model

Class IlrDTPartitionPlaceHolder

    • Method Detail

      • reset

        public void reset()
        Description copied from interface: IlrDTModelElement
        Resets all caches and interpreted values stored on the given model element. Also resets errors and all references on the vocabulary. This method is called when the model element needs to be fully reinterpreted. For example, in case of vocabulary changes or after a refactoring.
        Specified by:
        reset in interface IlrDTModelElement
      • getPartitionItem

        public IlrDTPartitionItem getPartitionItem(int index)
        Description copied from interface: IlrDTPartition
        Returns the partition item number index.
        Specified by:
        getPartitionItem in interface IlrDTPartition
        Parameters:
        index - The index of the partition item required.
        Returns:
        The partition item number index.
      • getPartitionItemCount

        public int getPartitionItemCount()
        Description copied from interface: IlrDTPartition
        Returns the number of partition items contained by the partition.
        Specified by:
        getPartitionItemCount in interface IlrDTPartition
        Returns:
        The number of partition items contained by the partition.
      • getPartitionItems

        public java.util.List getPartitionItems()
        Description copied from interface: IlrDTPartition
        Returns the list of partition items. This list is not intended to be modified.
        Specified by:
        getPartitionItems in interface IlrDTPartition
        Returns:
        The list of partition items.
      • indexOfPartitionItem

        public int indexOfPartitionItem(IlrDTPartitionItem item)
        Description copied from interface: IlrDTPartition
        Returns the index of the given partition item, or -1 if the item does not belong to the partition.
        Specified by:
        indexOfPartitionItem in interface IlrDTPartition
        Parameters:
        item - The item contained by the partition.
        Returns:
        The index of the given partition item, or -1 if the item does not belong to the partition.
      • sort

        public void sort(boolean direct)
      • swapPartitionItems

        public void swapPartitionItems(int from,
                              int to)
      • getConditionList

        public java.util.List<DTCondition> getConditionList()
        Description copied from interface: DTPartition
        This method returns the oriented list of Conditions that makes this partition.
        Specified by:
        getConditionList in interface DTPartition
        Returns:
        a non null list of DT Condition.
      • getDefinition

        public DTConditionDefinition getDefinition()
        Description copied from interface: DTPartition
        This method returns the definition of this partition.
        Specified by:
        getDefinition in interface DTPartition
        Returns:
        a non-null DT Condition Definition which is part of the DT Model.
      • getParentCondition

        public DTCondition getParentCondition()
        Description copied from interface: DTStatement
        This method returns the parent condition of this statement.
        Specified by:
        getParentCondition in interface DTStatement
        Returns:
        a DT condition or null if the given statement is the root of the decision tree.
      • getChildren

        public java.util.List getChildren()
        Description copied from interface: IlrDTStatement
        Returns the children of this statement. This is a list of partition items in the case of a partition, or a list of actions in the case of an action set.
        Specified by:
        getChildren in interface IlrDTStatement
        Returns:
        The children of this statement.
      • setParentPartitionItem

        public void setParentPartitionItem(IlrDTPartitionItem parentPartitionItem)

© Copyright IBM Corp. 1987, 2017