|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.owb.foundation.reflection.ClassDefinitionManager
ClassDefinitionManager is a factory class that can be used to
obtain ClassDefinition objects, from the class names.
| Field Summary | |
static java.lang.String |
ADVANCED_QUEUE
Constant for ADVANCED_QUEUE. |
protected int |
apiSet
apiSet is the elementId for the set of public API definitions. |
static java.lang.String |
BUSINESS_AREA
Constant for BUSINESS_AREA. |
static java.lang.String |
CONNECTOR
Constant for CONNECTOR. |
static java.lang.String |
CUBE
Constant for CUBE. |
static java.lang.String |
DATA_FILE
Constant for DATA_FILE. |
static java.lang.String |
DIMENSION
Constant for DIMENSION. |
static java.lang.String |
EXTERNAL_TABLE
Constant for EXTERNAL_TABLE. |
static java.lang.String |
FLATFILE
Constant for FLATFILE. |
static java.lang.String |
FLATFILE_MODULE
Constant for FLATFILE_MODULE. |
static java.lang.String |
FUNCTION
Constant for FUNCTION. |
static java.lang.String |
INTELLIGENCE_MODULE
Constant for INTELLIGENCE_MODULE. |
static java.lang.String |
IO_FUNCTION
Constant for IO_FUNCTION. |
static java.lang.String |
LEVEL
Constant for LEVEL. |
static java.lang.String |
LOCATION
Constant for LOCATION. |
static java.lang.String |
MAP
Constant for MAP. |
static java.lang.String |
MAP_OPERATOR
Constant for MAP_OPERATOR. |
static java.lang.String |
MATERIALIZED_VIEW
Constant for MATERIALIZED_VIEW. |
static java.lang.String |
OBJECT_TYPE
Constant for OBJECT_TYPE. |
static java.lang.String |
PACKAGE
Constant for PACKAGE. |
static java.lang.String |
PLSQL_RECORD_TYPE
Constant for PLSQL_RECORD_TYPE. |
static java.lang.String |
PLSQL_TABLE_TYPE
Constant for PLSQL_TABLE_TYPE. |
static java.lang.String |
PROCEDURE
Constant for PROCEDURE. |
static java.lang.String |
QUERY_OBJECT
Constant for QUERY_OBJECT. |
static java.lang.String |
RECORD
Constant for RECORD. |
static java.lang.String |
REF_CURSOR_TYPE
Constant for REF_CURSOR_TYPE. |
static java.lang.String |
REPORT
Constant for REPORT. |
static java.lang.String |
REPORT_GROUP
Constant for REPORT_GROUP. |
static java.lang.String |
REPORT_MODULE
Constant for REPORT_MODULE. |
static java.lang.String |
RUNTIME_REPOSITORY_CONNECTION
Constant for RUNTIME_REPOSITORY_CONNECTION. |
static java.lang.String |
SEQUENCE
Constant for SEQUENCE. |
protected static oracle.wh.repos.impl.metaModel.ModelDefinitionServiceImpl |
service
service is the handle to the model definition service. |
static java.lang.String |
TABLE
Constant for TABLE. |
static java.lang.String |
TABLE_FUNCTION
Constant for TABLE_FUNCTION. |
static java.lang.String |
VIEW
Constant for VIEW. |
| Method Summary | |
oracle.owb.foundation.reflection.ComponentImpl |
constructComponent(oracle.wh.repos.sdk.WBContext ctx)
Construct Component with context of private CMP elements. |
protected java.lang.Object |
constructObject(java.lang.reflect.Constructor con,
java.lang.Object par)
Construct object with the constructor which takes one parameter. |
oracle.owb.foundation.OWBNamedObjectImpl |
constructOWBNamedObject(oracle.wh.repos.sdk.WBElement elem)
Construct OWBNamedObject from private CMP object. |
ClassDefinition[] |
getAllClassDefinitions()
Return all public class definitions in the system. |
Type[] |
getAllTypeDefinitions()
Return all types in the system. |
ClassDefinition |
getClassDefinition(oracle.wh.repos.sdk.metaModel.ClassDefinition privCdef)
Get public class definition from private class definition. |
ClassDefinition |
getClassDefinition(OWBNamedObject elem)
Get public class definition from public API object. |
ClassDefinition |
getClassDefinition(java.lang.String name)
Get the class definition with the name of the public API class name. |
ClassDefinition |
getClassDefinition(java.lang.String[] classes)
pass in the path of private class names from root to current node. |
ClassDefinition |
getClassDefinition(oracle.wh.repos.sdk.WBContext ctx)
Get class definition from context of private CMP object. |
ClassDefinition |
getClassDefinition(oracle.wh.repos.sdk.WBElement elem)
Get class definition with private CMP elements. |
ClassDefinition |
getClassDefinitionByScriptName(java.lang.String name)
Get class definition with scripting name. |
ClassDefinition |
getClassDefinitionByScriptName(java.lang.String[] scriptNames)
Get class definition with an array of scripting names. |
protected ClassDefinition |
getConcreteClassDefinition(oracle.owb.foundation.reflection.DefinitionInterestUsageImpl parent,
oracle.wh.repos.sdk.metaModel.ClassDefinition pcdef)
Get class definition under the context of the parent and the private class definition. |
protected ClassDefinition |
getConcreteClassDefinition(oracle.wh.repos.sdk.WBContext ctx)
Get class definition with the context of private CMP object. |
protected ClassDefinition |
getConcreteClassDefinition(oracle.wh.repos.sdk.WBElement elem)
Get class definition with private CMP elements. |
java.lang.String |
getConcretePrivateClassName(java.lang.String name)
Get concrete private class name from public class name. |
ClassDefinition[] |
getFolderContentTypes(Folder folder)
Get the possible aggregate children types in this folder. |
static ClassDefinitionManager |
getInstance()
Return the singleton handle. |
oracle.wh.repos.sdk.metaModel.ClassDefinition |
getPrivateClassDefinition(java.lang.String name)
Get private class definition object with name. |
java.lang.String |
getPrivateClassName(java.lang.String name)
Get private class name from public class name. |
protected void |
init()
Initialize when connect to repository. |
static void |
release()
Release memory and handles when disconnect to the repository. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final java.lang.String TABLE
public static final java.lang.String VIEW
public static final java.lang.String SEQUENCE
public static final java.lang.String MATERIALIZED_VIEW
public static final java.lang.String EXTERNAL_TABLE
public static final java.lang.String DATA_FILE
public static final java.lang.String DIMENSION
public static final java.lang.String LEVEL
public static final java.lang.String CUBE
public static final java.lang.String FLATFILE_MODULE
public static final java.lang.String FLATFILE
public static final java.lang.String RECORD
public static final java.lang.String MAP_OPERATOR
public static final java.lang.String MAP
public static final java.lang.String PACKAGE
public static final java.lang.String FUNCTION
public static final java.lang.String IO_FUNCTION
public static final java.lang.String PROCEDURE
public static final java.lang.String TABLE_FUNCTION
public static final java.lang.String PLSQL_RECORD_TYPE
public static final java.lang.String PLSQL_TABLE_TYPE
public static final java.lang.String REF_CURSOR_TYPE
public static final java.lang.String INTELLIGENCE_MODULE
public static final java.lang.String QUERY_OBJECT
public static final java.lang.String BUSINESS_AREA
public static final java.lang.String REPORT_MODULE
public static final java.lang.String REPORT
public static final java.lang.String REPORT_GROUP
public static final java.lang.String LOCATION
public static final java.lang.String RUNTIME_REPOSITORY_CONNECTION
public static final java.lang.String CONNECTOR
public static final java.lang.String OBJECT_TYPE
public static final java.lang.String ADVANCED_QUEUE
protected static oracle.wh.repos.impl.metaModel.ModelDefinitionServiceImpl service
protected int apiSet
| Method Detail |
public static void release()
protected void init()
public static ClassDefinitionManager getInstance()
public java.lang.String getPrivateClassName(java.lang.String name)
throws ClassDefNotFoundException
name - is the public class name.ClassDefNotFoundException - if class not found.
public java.lang.String getConcretePrivateClassName(java.lang.String name)
throws ClassDefNotFoundException
name - is the public class name.ClassDefNotFoundException - if class not found.
public oracle.wh.repos.sdk.metaModel.ClassDefinition getPrivateClassDefinition(java.lang.String name)
throws ClassDefNotFoundException
name - is the name of the private class.ClassDefNotFoundException - if class not found.
public ClassDefinition getClassDefinition(OWBNamedObject elem)
throws ClassDefNotFoundException
elem - is the public API object.ClassDefNotFoundException - if class not found.OWBNamedObject
public ClassDefinition getClassDefinition(oracle.wh.repos.sdk.WBElement elem)
throws ClassDefNotFoundException
elem - is the private API object.ClassDefNotFoundException - if class not found.
public ClassDefinition getClassDefinition(java.lang.String[] classes)
throws ClassDefNotFoundException
classes - are the names of private class definitions.ClassDefNotFoundException - if class definition is not found.
public ClassDefinition getClassDefinitionByScriptName(java.lang.String[] scriptNames)
throws ClassDefNotFoundException
scriptNames - are the scripting names.ClassDefNotFoundException - if class definition is not found.
protected ClassDefinition getConcreteClassDefinition(oracle.owb.foundation.reflection.DefinitionInterestUsageImpl parent,
oracle.wh.repos.sdk.metaModel.ClassDefinition pcdef)
throws ClassDefNotFoundException
parent - is the aggregate parent class.pcdef - is the private class definition.ClassDefNotFoundException - if class definition is not found.
protected ClassDefinition getConcreteClassDefinition(oracle.wh.repos.sdk.WBContext ctx)
throws ClassDefNotFoundException
ctx - is the context for some CMP object.ClassDefNotFoundException - if class definition is not found.
protected ClassDefinition getConcreteClassDefinition(oracle.wh.repos.sdk.WBElement elem)
throws ClassDefNotFoundException
elem - is the private API CMP object.ClassDefNotFoundException - if class definition is not found.
public ClassDefinition getClassDefinition(oracle.wh.repos.sdk.WBContext ctx)
throws ClassDefNotFoundException
ctx - is the context for CMP object.ClassDefNotFoundException - if class definition is not found.
public ClassDefinition getClassDefinition(oracle.wh.repos.sdk.metaModel.ClassDefinition privCdef)
throws ClassDefNotFoundException
privCdef - is the private class definition.ClassDefNotFoundException - if class definition is not found.
protected java.lang.Object constructObject(java.lang.reflect.Constructor con,
java.lang.Object par)
con - is the constructor which takes one parameter.par - is the parameter passed to the constructor.public oracle.owb.foundation.reflection.ComponentImpl constructComponent(oracle.wh.repos.sdk.WBContext ctx)
ctx - is the context for the private CMP element.public oracle.owb.foundation.OWBNamedObjectImpl constructOWBNamedObject(oracle.wh.repos.sdk.WBElement elem)
elem - is the private CMP object.
public ClassDefinition getClassDefinition(java.lang.String name)
throws ClassDefNotFoundException
name - is the name of the class definition.ClassDefNotFoundException - if class definition does not exist for this name.
public ClassDefinition getClassDefinitionByScriptName(java.lang.String name)
throws ClassDefNotFoundException
name - is the scripting name of the class definition.ClassDefNotFoundException - if class definition does not exist for this name.public ClassDefinition[] getFolderContentTypes(Folder folder)
folder - is the folder object.Folderpublic ClassDefinition[] getAllClassDefinitions()
public Type[] getAllTypeDefinitions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||