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

B12155-01

oracle.owb.compile
Class GenerationServiceManager

java.lang.Object
  |
  +--oracle.owb.compile.GenerationServiceManager

public class GenerationServiceManager
extends java.lang.Object

GenerationServiceManager is a singleton class that manages the validation and the compilation processes.


Field Summary
static java.lang.String ADVANCEDQUEUE
          Advanced Queue.
static java.lang.String CONNECTOR
          Connector.
static java.lang.String CUBE
          Cube.
static java.lang.String DIMENSION
          Dimension.
static java.lang.String EXTERNALTABLE
          External Table.
static java.lang.String FLATFILE
          Flat file.
static java.lang.String FLATFILE_MODULE
          Flat file module.
static java.lang.String FUNCTION
          Function.
static java.lang.String FUNCTION_PACKAGE
          Function Package.
static java.lang.String FUNCTIONLIBRARY
          Function Library.
static java.lang.String FUNCTIONS
          Functions.
static java.lang.String GATEWAY_MODULE
          Gateway Module.
static java.lang.String LOCATION
          Location.
static java.lang.String MAPPING
          Mapping.
static java.lang.String MATERIALIZEDVIEW
          MaterializedView.
static java.lang.String OBJECTTYPE
          Object type.
static java.lang.String ORACLE_MODULE
          Oracle Module.
static java.lang.String PROCEDURE
          Procedure.
static java.lang.String PROCEDURES
          Procedures.
static java.lang.String PROCESS_FLOW
          Process flow.
static java.lang.String PROCESS_FLOW_MODULE
          Process flow package.
static java.lang.String PROCESS_FLOW_PACKAGE
          Process flow package.
static java.lang.String PROJECT
          Project.
static java.lang.String SEQUENCE
          Sequence.
static java.lang.String TABLE
          Table.
static java.lang.String TEMPORARYTABLE
          Temporary Table.
static java.lang.String TRANSFORMCATEGORY
          Transformation Category.
static java.lang.String VIEW
          View.
static java.lang.String VIRTUALTABLE
          Virtual table.

 

Constructor Summary
protected GenerationServiceManager()
           

 

Method Summary
 void clearInstance()
          Allows to remove the GenerationServiceManager programmatically.
 CompilationResult[] compileObject(java.lang.String name, java.lang.String type)
          compilation of an object.
 CompilationResult[] compileObject(java.lang.String name, java.lang.String type, java.lang.String module)
          compilation of an object.
static GenerationServiceManager getInstance()
          The method getInstance() provides the handle to the singleton class.
 Project getProjectInUse()
          This method be used to get the Project.
 java.lang.String getProjectNameInUse()
          This method returns the project's name.
 void useModule(Module os)
          This method must be used immediately after the getInstance() has been called.
 ValidationResult[] validateObject(java.lang.String name, java.lang.String type)
          validation of an object.
 ValidationResult[] validateObject(java.lang.String name, java.lang.String type, java.lang.String module)
          validation of an object.

 

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

 

Field Detail

ADVANCEDQUEUE

public static final java.lang.String ADVANCEDQUEUE
Advanced Queue.
See Also:
Constant Field Values

TABLE

public static final java.lang.String TABLE
Table.
See Also:
Constant Field Values

EXTERNALTABLE

public static final java.lang.String EXTERNALTABLE
External Table.
See Also:
Constant Field Values

VIEW

public static final java.lang.String VIEW
View.
See Also:
Constant Field Values

SEQUENCE

public static final java.lang.String SEQUENCE
Sequence.
See Also:
Constant Field Values

MATERIALIZEDVIEW

public static final java.lang.String MATERIALIZEDVIEW
MaterializedView.
See Also:
Constant Field Values

DIMENSION

public static final java.lang.String DIMENSION
Dimension.
See Also:
Constant Field Values

CUBE

public static final java.lang.String CUBE
Cube.
See Also:
Constant Field Values

TEMPORARYTABLE

public static final java.lang.String TEMPORARYTABLE
Temporary Table.
See Also:
Constant Field Values

MAPPING

public static final java.lang.String MAPPING
Mapping.
See Also:
Constant Field Values

FUNCTION

public static final java.lang.String FUNCTION
Function.
See Also:
Constant Field Values

FUNCTIONS

public static final java.lang.String FUNCTIONS
Functions.
See Also:
Constant Field Values

TRANSFORMCATEGORY

public static final java.lang.String TRANSFORMCATEGORY
Transformation Category.
See Also:
Constant Field Values

VIRTUALTABLE

public static final java.lang.String VIRTUALTABLE
Virtual table.
See Also:
Constant Field Values

FUNCTIONLIBRARY

public static final java.lang.String FUNCTIONLIBRARY
Function Library.
See Also:
Constant Field Values

FUNCTION_PACKAGE

public static final java.lang.String FUNCTION_PACKAGE
Function Package.
See Also:
Constant Field Values

PROCEDURE

public static final java.lang.String PROCEDURE
Procedure.
See Also:
Constant Field Values

PROCEDURES

public static final java.lang.String PROCEDURES
Procedures.
See Also:
Constant Field Values

PROJECT

public static final java.lang.String PROJECT
Project.
See Also:
Constant Field Values

ORACLE_MODULE

public static final java.lang.String ORACLE_MODULE
Oracle Module.
See Also:
Constant Field Values

PROCESS_FLOW_MODULE

public static final java.lang.String PROCESS_FLOW_MODULE
Process flow package.
See Also:
Constant Field Values

PROCESS_FLOW_PACKAGE

public static final java.lang.String PROCESS_FLOW_PACKAGE
Process flow package.
See Also:
Constant Field Values

PROCESS_FLOW

public static final java.lang.String PROCESS_FLOW
Process flow.
See Also:
Constant Field Values

GATEWAY_MODULE

public static final java.lang.String GATEWAY_MODULE
Gateway Module.
See Also:
Constant Field Values

FLATFILE

public static final java.lang.String FLATFILE
Flat file.
See Also:
Constant Field Values

FLATFILE_MODULE

public static final java.lang.String FLATFILE_MODULE
Flat file module.
See Also:
Constant Field Values

LOCATION

public static final java.lang.String LOCATION
Location.
See Also:
Constant Field Values

CONNECTOR

public static final java.lang.String CONNECTOR
Connector.
See Also:
Constant Field Values

OBJECTTYPE

public static final java.lang.String OBJECTTYPE
Object type.
See Also:
Constant Field Values
Constructor Detail

GenerationServiceManager

protected GenerationServiceManager()
Method Detail

getInstance

public static GenerationServiceManager getInstance()
The method getInstance() provides the handle to the singleton class.
Returns:
GenerationServiceManager

clearInstance

public void clearInstance()
Allows to remove the GenerationServiceManager programmatically.

useModule

public void useModule(Module os)
This method must be used immediately after the getInstance() has been called. The GenerationServiceManager needs to know the module that will be used for the validation and compilation process.
Parameters:
os - as Module object.

getProjectInUse

public Project getProjectInUse()
                        throws OWBException
This method be used to get the Project.
Returns:
Project.
Throws:
OWBException

getProjectNameInUse

public java.lang.String getProjectNameInUse()
                                     throws OWBException
This method returns the project's name.
Returns:
the project name (String).
Throws:
OWBException

validateObject

public ValidationResult[] validateObject(java.lang.String name,
                                         java.lang.String type)
                                  throws OWBException
validation of an object.
Parameters:
name - of the object
type - of the object. (For example, "GenerationServiceManager.TABLE" etc.)
Returns:
an array of ValidationResults
Throws:
OWBException

validateObject

public ValidationResult[] validateObject(java.lang.String name,
                                         java.lang.String type,
                                         java.lang.String module)
                                  throws OWBException
validation of an object.
Parameters:
name - of the object
type - of the object. (For example, "GenerationServiceManager.TABLE" etc.)
module - name
Returns:
an array of ValidationResults
Throws:
OWBException

compileObject

public CompilationResult[] compileObject(java.lang.String name,
                                         java.lang.String type)
                                  throws OWBException
compilation of an object.
Parameters:
name - of the object
type - of the object. (For example, "GenerationServiceManager.TABLE" etc.)
Returns:
an array of CompilationResults
Throws:
OWBException

compileObject

public CompilationResult[] compileObject(java.lang.String name,
                                         java.lang.String type,
                                         java.lang.String module)
                                  throws OWBException
compilation of an object.
Parameters:
name - of the object
type - of the object. (For example, "GenerationServiceManager.TABLE" etc.)
module - name
Returns:
an array of CompilationResults
Throws:
OWBException

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

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.