Package oracle.rules.sdk2.decisiontable
Class DTActionTable
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryObject
oracle.rules.sdk2.dictionary.DictionaryComponentTable<T>
oracle.rules.sdk2.ruleset.RuleComponentTable<T>
oracle.rules.sdk2.decisiontable.DTComponentTable<DTAction>
oracle.rules.sdk2.decisiontable.DTActionTable
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<DTAction>,Collection<DTAction>,List<DTAction>
An ordered list of DTActions in the decision table.
RuleSheet contains a DTActionTable,
which holds multiple DTActions shared by the rules in the sheet.
- See Also:
-
Field Summary
Fields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
SORT, SORT_ASCEND, SORT_DECEND -
Method Summary
Modifier and TypeMethodDescriptionadd(int index) Create a new DTAction and add it at the given index Also creates a blank DTActionNode per rule.voidUsed internally by subclasses.voidclear()remove all elements in the tableflatten()voidmove(int fromIndex, int toIndex, boolean replace) Move the DictionaryComponent with the given id from its current location to the location of the second id.remove(int index) Remove the DictionaryComponent at the given index from the tablebooleanremove the DictionaryComponent from this tableMethods inherited from class oracle.rules.sdk2.decisiontable.DTComponentTable
addAll, addAll, parentRuleSheet, removeAll, retainAll, setMethods inherited from class oracle.rules.sdk2.ruleset.RuleComponentTable
getParentMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
_clear, _remove, _remove, add, add, contains, containsAll, copyTo, copyTo, cut, filter, get, getAEReferences, getAllReferences, getByAlias, getByAlias, getByID, getByName, getExprParserReferences, getLast, getMarked, getProtoType, indexOf, initProtoType, isEmpty, isLocked, iterator, lastIndexOf, listIterator, listIterator, mark, move, ordering, paste, removeByAlias, removeByID, removeByName, removeMarked, removeProtoType, reorder, size, sort, sort, sort, subList, toArray, toArray, unMark, validate, validateMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject
_clearID, equals, exists, getAEReferenceCount, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, setID, validateMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Method Details
-
add
Create a new DTAction and add it at the given index Also creates a blank DTActionNode per rule.- Specified by:
addin classDictionaryComponentTable<DTAction>- Returns:
- a new DTAction
-
add
Description copied from class:DictionaryComponentTableUsed internally by subclasses. -
flatten
-
remove
Description copied from class:DictionaryComponentTableRemove the DictionaryComponent at the given index from the table -
remove
Description copied from class:DictionaryComponentTableremove the DictionaryComponent from this table- Specified by:
removein interfaceCollection<DTAction>- Specified by:
removein interfaceList<DTAction>- Overrides:
removein classDictionaryComponentTable<DTAction>
-
clear
public void clear()Description copied from class:DictionaryComponentTableremove all elements in the table- Specified by:
clearin interfaceCollection<DTAction>- Specified by:
clearin interfaceList<DTAction>- Overrides:
clearin classDictionaryComponentTable<DTAction>
-
move
public void move(int fromIndex, int toIndex, boolean replace) Description copied from class:DictionaryComponentTableMove the DictionaryComponent with the given id from its current location to the location of the second id. Shift the row currently at that location up, or replace it.- Overrides:
movein classDictionaryComponentTable<DTAction>- Parameters:
fromIndex- the index of the row to movetoIndex- move row to this locationreplace- if true, replace existing row at toIndex, if false move existing row to next higher index
-