Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


oracle.rules.sdk2.ruleset
Class PatternTable

java.lang.Object
  extended by oracle.rules.sdk2.dictionary.DictionaryObject
      extended by oracle.rules.sdk2.dictionary.DictionaryComponentTable<T>
          extended by oracle.rules.sdk2.ruleset.RuleComponentTable<Pattern>
              extended by 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

Field Summary

 

Fields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
SORT, SORT_ASCEND, SORT_DECEND

 

Constructor Summary
PatternTable(DictionaryObject parent)
           

 

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.ruleset.RuleComponentTable
getParent

 

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
getClass, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface java.util.List
add, addAll, addAll, equals, hashCode, lastIndexOf, retainAll

 

Constructor Detail

PatternTable

public PatternTable(DictionaryObject parent)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.