public class DTRuleTable extends DTComponentTable<DTRule>
SORT, SORT_ASCEND, SORT_DECEND| Modifier and Type | Method and Description |
|---|---|
DTRule |
add()
Create a new DTRule with all DimensionNodes set to "?".
|
boolean |
add(DTRule o)
Used internally by subclasses.
|
DTRule |
add(int index)
Add DTRule to table at given index.
|
void |
add(int index, DTRule r)
Used to force the rule into this decision table at given index
|
DTRule |
add(java.lang.String[][] dimensionValues) |
boolean |
canAdd()
can a rule be added to the decision table?
|
void |
clear()
remove all elements in the table
|
DimensionNode[][] |
getNodeMatrix()
Get the DimensionNodes in the sheet as an D x R matrix (D rows x R columns, D is #dimensions and R is #rules)
|
void |
move(int fromIndex, int toIndex, boolean replace)
Move the DictionaryComponent with the given id from its current location to the location of the second id.
|
addAll, addAll, parentRuleSheet, removeAll, retainAll, setgetParentcontains, containsAll, copyTo, cut, filter, get, getAEReferences, getAllReferences, getByAlias, getByAlias, getByID, getByName, getLast, getMarked, getProtoType, indexOf, isEmpty, isLocked, iterator, listIterator, listIterator, mark, move, ordering, paste, remove, remove, removeByAlias, removeByID, removeByName, removeMarked, reorder, size, sort, sort, sort, subList, toArray, toArray, unMark, validate, validateequals, exists, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, validateequals, getClass, notify, notifyAll, toString, wait, wait, waitpublic DTRule add()
add in class DictionaryComponentTable<DTRule>public DTRule add(java.lang.String[][] dimensionValues)
public boolean canAdd()
public DTRule add(int index)
add in class DictionaryComponentTable<DTRule>public void clear()
DictionaryComponentTableclear in interface java.util.Collection<DTRule>clear in interface java.util.List<DTRule>clear in class DictionaryComponentTable<DTRule>
public void add(int index,
DTRule r)
add in interface java.util.List<DTRule>add in class DictionaryComponentTable<DTRule>index -r - DTRule
public void move(int fromIndex,
int toIndex,
boolean replace)
DictionaryComponentTablemove in class DictionaryComponentTable<DTRule>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 indexpublic DimensionNode[][] getNodeMatrix()
public boolean add(DTRule o)
DictionaryComponentTableadd in interface java.util.Collection<DTRule>add in interface java.util.List<DTRule>add in class DictionaryComponentTable<DTRule>o - component to be added, must be of correct type for table.