Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.transformation
Class TransformationUtility

java.lang.Object
  |
  +--oracle.owb.transformation.TransformationUtility

public final class TransformationUtility
extends java.lang.Object

A TransformationUtility is a public class that defines some of the utility for Transformation.


Field Summary
(package private)  ProjectManager project_mgr
           

 

Method Summary
 Function findFunction(oracle.wh.repos.sdk.WBContext[] aWBC, java.lang.String s)
          Returns the Function object.
 Function[] findFunctions(oracle.wh.repos.sdk.WBContext[] ctxs, java.lang.String s)
          Returns the array of Function objects.
 Procedure findProcedure(oracle.wh.repos.sdk.WBContext[] aWBC, java.lang.String s)
          Returns the Procedure object.
 Procedure[] findProcedures(oracle.wh.repos.sdk.WBContext[] ctxs, java.lang.String s)
          Returns the array of Procedure objects.
(package private)  java.lang.String get_current_project_name()
          Returns the current Project Name.
(package private)  Project get_current_project()
          Returns the current Project object.
 java.lang.String[] getAllFunctionNames(oracle.wh.repos.sdk.WBContext[] aWBC)
          Returns the array of function/procedure Names.
 java.lang.String[] getAllFunctionSignatures(oracle.wh.repos.sdk.WBContext[] aWBC)
          Returns the array of function/procedure Signatures.
 java.lang.String[] getAllFunctionSignaturesByName(oracle.wh.repos.sdk.WBContext[] contexts, java.lang.String funcName)
          Returns the array of function/procedure Signatures for a given name.
static TransformationUtility getInstance()
          Returns the TransformationUtility instance.
(package private) static java.lang.String nls(java.lang.String key)
           
(package private) static java.lang.String nls(java.lang.String key, java.lang.Object[] args)
           
(package private)  java.lang.String stdFunction(java.lang.String s)
          Standardize function signature for comparison.

 

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

 

Field Detail

project_mgr

final ProjectManager project_mgr
Method Detail

getInstance

public static TransformationUtility getInstance()
Returns the TransformationUtility instance.
Returns:
TransformationUtility object.

get_current_project

Project get_current_project()
Returns the current Project object.
Returns:
Project object.

get_current_project_name

java.lang.String get_current_project_name()
Returns the current Project Name.
Returns:
String Project name.

stdFunction

java.lang.String stdFunction(java.lang.String s)
Standardize function signature for comparison.
Parameters:
s - the String of function name of Signature.
Returns:
String Function signature.

getAllFunctionSignatures

public java.lang.String[] getAllFunctionSignatures(oracle.wh.repos.sdk.WBContext[] aWBC)
Returns the array of function/procedure Signatures.
Parameters:
aWBC - Array of the WBContext object.
Returns:
the array of transformation Signature.

getAllFunctionSignaturesByName

public java.lang.String[] getAllFunctionSignaturesByName(oracle.wh.repos.sdk.WBContext[] contexts,
                                                         java.lang.String funcName)
Returns the array of function/procedure Signatures for a given name.
Parameters:
contexts - Array of the WBContext object.
Returns:
the String array of transformation Signature.

getAllFunctionNames

public java.lang.String[] getAllFunctionNames(oracle.wh.repos.sdk.WBContext[] aWBC)
Returns the array of function/procedure Names.
Parameters:
aWBC - Array of the WBContext object.
Returns:
the String array of function/procedure names.

findFunctions

public Function[] findFunctions(oracle.wh.repos.sdk.WBContext[] ctxs,
                                java.lang.String s)
Returns the array of Function objects.
Parameters:
ctxs - Array of the WBContext object.
s - String object for name or signature.
Returns:
the array of function objects.

findProcedures

public Procedure[] findProcedures(oracle.wh.repos.sdk.WBContext[] ctxs,
                                  java.lang.String s)
Returns the array of Procedure objects.
Parameters:
ctxs - Array of the WBContext object.
s - String object for name or signature.
Returns:
the array of procedure objects.

findFunction

public Function findFunction(oracle.wh.repos.sdk.WBContext[] aWBC,
                             java.lang.String s)
Returns the Function object.
Parameters:
aWBC - Array of the WBContext object.
s - String object for name or signature.
Returns:
the function obejct.

findProcedure

public Procedure findProcedure(oracle.wh.repos.sdk.WBContext[] aWBC,
                               java.lang.String s)
Returns the Procedure object.
Parameters:
aWBC - Array of the WBContext object.
s - String object for name or signature.
Returns:
the Procedure obejct.

nls

static java.lang.String nls(java.lang.String key)

nls

static java.lang.String nls(java.lang.String key,
                            java.lang.Object[] args)

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.