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 you 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 is 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.

TABLE

public static final java.lang.String TABLE
Table.

EXTERNALTABLE

public static final java.lang.String EXTERNALTABLE
External Table.

VIEW

public static final java.lang.String VIEW
View.

SEQUENCE

public static final java.lang.String SEQUENCE
Sequence.

MATERIALIZEDVIEW

public static final java.lang.String MATERIALIZEDVIEW
MaterializedView.

DIMENSION

public static final java.lang.String DIMENSION
Dimension.

CUBE

public static final java.lang.String CUBE
Cube.

TEMPORARYTABLE

public static final java.lang.String TEMPORARYTABLE
Temporary Table.

MAPPING

public static final java.lang.String MAPPING
Mapping.

FUNCTION

public static final java.lang.String FUNCTION
Function.

FUNCTIONS

public static final java.lang.String FUNCTIONS
Functions.

TRANSFORMCATEGORY

public static final java.lang.String TRANSFORMCATEGORY
Transformation Category.

VIRTUALTABLE

public static final java.lang.String VIRTUALTABLE
Virtual table.

FUNCTIONLIBRARY

public static final java.lang.String FUNCTIONLIBRARY
Function Library.

FUNCTION_PACKAGE

public static final java.lang.String FUNCTION_PACKAGE
Function Package.

PROCEDURE

public static final java.lang.String PROCEDURE
Procedure.

PROCEDURES

public static final java.lang.String PROCEDURES
Procedures.

PROJECT

public static final java.lang.String PROJECT
Project.

ORACLE_MODULE

public static final java.lang.String ORACLE_MODULE
Oracle Module.

PROCESS_FLOW_MODULE

public static final java.lang.String PROCESS_FLOW_MODULE
Process flow package.

PROCESS_FLOW_PACKAGE

public static final java.lang.String PROCESS_FLOW_PACKAGE
Process flow package.

PROCESS_FLOW

public static final java.lang.String PROCESS_FLOW
Process flow.

GATEWAY_MODULE

public static final java.lang.String GATEWAY_MODULE
Gateway Module.

FLATFILE

public static final java.lang.String FLATFILE
Flat file.

FLATFILE_MODULE

public static final java.lang.String FLATFILE_MODULE
Flat file module.

LOCATION

public static final java.lang.String LOCATION
Location.

CONNECTOR

public static final java.lang.String CONNECTOR
Connector.

OBJECTTYPE

public static final java.lang.String OBJECTTYPE
Object type.
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 you 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 is 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 -