Skip navigation links

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

E10663-02


oracle.rules.sdk2.dictionary
Class AbstractDictionaryFinder

java.lang.Object
  extended by oracle.rules.sdk2.dictionary.AbstractDictionaryFinder

All Implemented Interfaces:
java.io.Serializable, DictionaryFinder
Direct Known Subclasses:
DecisionPointDictionaryFinder

public abstract class AbstractDictionaryFinder
extends java.lang.Object
implements DictionaryFinder

The base implementation of the DictionaryFinder interface. Concrete DictionaryFinder implementations should extend this class and implement the findDictionaryWithThisFinder method.

See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.rules.sdk2.dictionary.DictionaryFinder
serialVersionUID

 

Method Summary
 RuleDictionary findDictionary(DictionaryFQN fqn)
          Finds a rule dictionary specified by its fully qualified name.
 RuleDictionary findDictionary(java.lang.String pkg, java.lang.String name)
          Finds a rule dictionary specified by the package and name.
abstract  RuleDictionary findDictionaryWithThisFinder(DictionaryFQN fqn)
          Finds a rule dictionary with this finder.
 AbstractDictionaryFinder getChild()
          Returns the child finder or null if this finder does not have a child.
 AbstractDictionaryFinder getLastChild()
          Returns the last (leaf) child finder or this finder if this finder does not have a child.
 AbstractDictionaryFinder getParent()
          Returns the parent finder or null if this finder does not have a parent.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getParent

public AbstractDictionaryFinder getParent()
Returns the parent finder or null if this finder does not have a parent.
Returns:
the parent finder or null if this finder does not have a parent.

getChild

public AbstractDictionaryFinder getChild()
Returns the child finder or null if this finder does not have a child.
Returns:
the child finder or null if this finder does not have a child.

getLastChild

public AbstractDictionaryFinder getLastChild()
Returns the last (leaf) child finder or this finder if this finder does not have a child.
Returns:
the last (leaf) child finder or this finder if this finder does not have a child.

findDictionary

public RuleDictionary findDictionary(java.lang.String pkg,
                                     java.lang.String name)
Finds a rule dictionary specified by the package and name.
Specified by:
findDictionary in interface DictionaryFinder
Parameters:
pkg - fully qualified package name, e.g. foo.bar
name - unqualified name, e.g. MyDic
Returns:
the rule dictionary or null if the dictionary can not be found.

findDictionary

public RuleDictionary findDictionary(DictionaryFQN fqn)
Finds a rule dictionary specified by its fully qualified name.
Specified by:
findDictionary in interface DictionaryFinder
Parameters:
fqn - DictionaryFQN
Returns:
the rule dictionary or null if the dictionary can not be found.

findDictionaryWithThisFinder

public abstract RuleDictionary findDictionaryWithThisFinder(DictionaryFQN fqn)
Finds a rule dictionary with this finder. Returns the dictionary identified by the specified fully qualified name or null if the dictionary can not be found.

This method is implemented by each concrete DictionaryFinder implementation. This method should always return a new handle for the dictionary it finds.

Parameters:
fqn - the fully qualified name of the dictionary to find.
See Also:
RuleDictionary.createHandle()

Skip navigation links

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

E10663-02


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