Skip navigation links

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

E10663-10


oracle.rules.jsr94.admin
Class Sdk2MDSRepositorySource

java.lang.Object
  extended by oracle.rules.jsr94.admin.Sdk2MDSRepositorySource

All Implemented Interfaces:
java.io.Serializable, RuleSource

public class Sdk2MDSRepositorySource
extends java.lang.Object
implements RuleSource

A RuleSource that specifies rule sets defined in an Oracle Business Rules MDS based repository.

See Also:
Serialized Form

Constructor Summary
Sdk2MDSRepositorySource(java.lang.String instanceName, DictionaryFQN fqn, java.lang.String[] rulesets)
          Create a SDK2MDSRepositorySource.
Sdk2MDSRepositorySource(java.lang.String instanceName, java.lang.String pkg, java.lang.String name, java.lang.String[] rulesets)
          Create a SDK2MDSRepositorySource.

 

Method Summary
 DictionaryFQN getDictionaryFQN()
          Get the fully qualified name of the dictionary in the repository.
 java.lang.String getMDSInstanceName()
          Get the name of the MDS instance.
 java.lang.Object getRules()
          Get an object that provides access to the rule sets.
 java.lang.String[] getRulesets()
          Get the names of the rule sets to load from the dictionary.

 

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

 

Constructor Detail

Sdk2MDSRepositorySource

public Sdk2MDSRepositorySource(java.lang.String instanceName,
                               java.lang.String pkg,
                               java.lang.String name,
                               java.lang.String[] rulesets)
Create a SDK2MDSRepositorySource.
Parameters:
instanceName - The name of the MDSInstance.
pkg - The dictionary package.
name - The name of the dictionary containing the rule sets.
rulesets - The names of the rule sets to load from the dictionary.

Sdk2MDSRepositorySource

public Sdk2MDSRepositorySource(java.lang.String instanceName,
                               DictionaryFQN fqn,
                               java.lang.String[] rulesets)
Create a SDK2MDSRepositorySource.
Parameters:
instanceName - The name of the MDSInstance.
fqn - The fully qualified name of the dictionary.
rulesets - The names of the rule sets to load from the dictionary.

Method Detail

getMDSInstanceName

public java.lang.String getMDSInstanceName()
Get the name of the MDS instance.
Returns:
The name of the MDS instance.

getDictionaryFQN

public DictionaryFQN getDictionaryFQN()
Get the fully qualified name of the dictionary in the repository.
Returns:
The fully qualified name of the dictionary in the repository.

getRulesets

public java.lang.String[] getRulesets()
Get the names of the rule sets to load from the dictionary.
Returns:
The names of the rule sets to load from the dictionary.

getRules

public java.lang.Object getRules()
                          throws javax.rules.admin.RuleAdministrationException
Get an object that provides access to the rule sets. This is intended for internal use by the implementation.
Specified by:
getRules in interface RuleSource
Returns:
An object that provides access to the rule sets.
Throws:
javax.rules.admin.RuleAdministrationException - if there is an error gaining access

Skip navigation links

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

E10663-10


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