|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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<Dimension> oracle.rules.sdk2.decisiontable.DimensionTable
public class DimensionTable
An ordered list of Dimensions in the decision table. RuleSheet contains a DimensionTable, which holds multiple Dimensions shared by all the DTRules in the sheet. Dimensions may be added, removed, and moved. No other table mutations are supported.
Field Summary |
---|
Fields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable |
---|
SORT, SORT_ASCEND, SORT_DECEND |
Method Summary | |
---|---|
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. |
boolean |
remove(java.lang.Object o)
remove the object from this table |
void |
reorder(java.util.List<java.lang.Integer> ordering)
reorder this table according to a list of indexes. |
void |
validate(java.util.List<SDKException> errors,
java.util.List<SDKWarning> warnings,
int modelChangeLowerBound,
int ruleChangeLowerBound)
Validate each DictionaryObject in the table. |
Methods inherited from class oracle.rules.sdk2.decisiontable.DTComponentTable |
---|
addAll, addAll, parentRuleSheet, removeAll, retainAll, set |
Methods inherited from class oracle.rules.sdk2.ruleset.RuleComponentTable |
---|
getParent |
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable |
---|
add, add, add, contains, containsAll, copyTo, cut, get, getAEReferences, getAllReferences, getByAlias, getByAlias, getByID, getByName, getLast, getMarked, getProtoType, indexOf, isEmpty, isLocked, iterator, listIterator, listIterator, mark, move, paste, remove, removeByAlias, removeByID, removeByName, removeMarked, size, sort, sort, sort, subList, toArray, toArray, unMark, validate |
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject |
---|
equals, exists, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getLevel, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, equals, hashCode, lastIndexOf |
Method Detail |
---|
public void clear()
DictionaryComponentTable
clear
in interface java.util.Collection<Dimension>
clear
in interface java.util.List<Dimension>
clear
in class DictionaryComponentTable<Dimension>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<Dimension>
remove
in interface java.util.List<Dimension>
remove
in class DictionaryComponentTable<Dimension>
public DimensionNode[][] getNodeMatrix()
public void move(int fromIndex, int toIndex, boolean replace)
DictionaryComponentTable
move
in class DictionaryComponentTable<Dimension>
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 void validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings, int modelChangeLowerBound, int ruleChangeLowerBound)
DictionaryComponentTable
validate
in class DictionaryComponentTable<Dimension>
errors
- validation errorswarnings
- validation warningsmodelChangeLowerBound
- determines what needs to be revalidated based on changes to the dictionaryruleChangeLowerBound
- smallest RuleComponent.CreationUpdateNumber modified in thix tx.
Rulesets and rules with UpdateNumber >= modelChangeLowerBound will be revalidated.
a value of 0 will force revalidation of all rulesets. A value of Integer.MAX_VALUE
will skip validation of all rulesets.public void reorder(java.util.List<java.lang.Integer> ordering)
DictionaryComponentTable
reorder
in class DictionaryComponentTable<Dimension>
ordering
- a list of indexes the same size as this list.
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |