|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
oracle.rules.sdk.editor.ruleset.RuleComponentTable
oracle.rules.sdk.editor.ruleset.PatternTable
A PatternTable is a list of Patterns used in a Rule.
The Patterns in a PatternTable are combined using the conjuntions defined in each Pattern. By default, Patterns in the Table are And'd and there are no groups.
Method Summary | |
Pattern |
add() Create a new Pattern and add it to the end of the PatternTable |
Pattern |
add(int index) Create a new Pattern and add it at the given index |
Pattern[] |
flatten() |
Pattern |
getPattern(int index) Get the Pattern at the given index |
Pattern |
getPattern(java.lang.String id) Get the Pattern with the given ID |
Pattern[] |
getPatterns() Get Patterns as an Array of the correct type. |
boolean |
hasGroups() Used to tell if the PatternTable contains sub-tables. |
Methods inherited from class oracle.rules.sdk.editor.ruleset.RuleComponentTable |
add, add, addAll, discardCopy, get, getMarked, getParent, mark, mark, move, remove, remove, removeMarked, restoreCopy, saveCopy, set, unMark, validate |
Methods inherited from class java.util.ArrayList |
addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Method Detail |
public boolean hasGroups()
public Pattern[] flatten()
public Pattern add()
public Pattern add(int index)
public Pattern[] getPatterns()
public Pattern getPattern(int index)
public Pattern getPattern(java.lang.String id)
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |