Skip navigation links
oracle.rules.sdk2.ruleset
Class PatternTable
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryObject
oracle.rules.sdk2.dictionary.DictionaryComponentTable<T>
oracle.rules.sdk2.ruleset.RuleComponentTable<Pattern>
oracle.rules.sdk2.ruleset.PatternTable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Pattern>, java.util.Collection<Pattern>, java.util.List<Pattern>
-
public class PatternTable
- extends RuleComponentTable<Pattern>
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.
- See Also:
- Serialized Form
Method Summary |
boolean |
hasGroups()
Used to tell if the PatternTable contains sub-tables. |
void |
validate(java.util.List<SDKException> errors, java.util.List<SDKWarning> warnings)
Validate the entire dictionary object and its decendants. |
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable |
add, add, add, clear, contains, containsAll, copyTo, cut, get, getAEReferences, getAllReferences, getByAlias, getByID, getByName, getLast, getMarked, indexOf, isEmpty, isLocked, iterator, listIterator, listIterator, mark, move, move, paste, remove, remove, removeAll, removeByAlias, removeByID, removeByName, removeMarked, reorder, set, 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, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
add, addAll, addAll, equals, hashCode, lastIndexOf, retainAll |
PatternTable
public PatternTable(DictionaryObject parent)
hasGroups
public boolean hasGroups()
- Used to tell if the PatternTable contains sub-tables. If only of correct type.
-
- Returns:
- true if PatternTable contains only FactPatterns, with no sub-tables
validate
public void validate(java.util.List<SDKException> errors,
java.util.List<SDKWarning> warnings)
- Description copied from class:
DictionaryObject
- Validate the entire dictionary object and its decendants. Not incremental.
-
- Overrides:
validate
in class DictionaryComponentTable<Pattern>
-
- Parameters:
errors
- a List of error exceptions to append to.
warnings
- a List of warning exceptions to append to.
- See Also:
DictionaryObject.validate(List,List,int,int)
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.