Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Class MetaObjectManager

java.lang.Object
  extended by oracle.jbo.mom.DefinitionManager
      extended by oracle.jbo.server.MetaObjectManager
All Implemented Interfaces:
Formattable, MetaObjectBase

public final class MetaObjectManager
extends DefinitionManager
implements Formattable

Keeps track of all metadata objects in a catalog. This class can be used to create or retrieve EntityDef's, ViewDef's, and AppModuleDef's


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Fields inherited from interface oracle.jbo.common.MetaObjectBase
TYP_APP_MODULE, TYP_ATTRIBUTE, TYP_ATTRIBUTE_LIST_WITH_DEF, TYP_COMPONENT_OBJECT, TYP_DATA_CONTROL, TYP_DEF_ANY, TYP_DEF_APP_MODULE, TYP_DEF_ASSOC_END, TYP_DEF_ATTRIBUTE, TYP_DEF_COMPONENT_OBJECT, TYP_DEF_DOMAIN, TYP_DEF_ENTITY_ASSOC, TYP_DEF_ENTITY_OBJECT, TYP_DEF_KEY, TYP_DEF_LIST_BINDING, TYP_DEF_METHOD, TYP_DEF_PACKAGE, TYP_DEF_VIEW_ACCESSOR, TYP_DEF_VIEW_LINK, TYP_DEF_VIEW_OBJECT, TYP_DOMAIN, TYP_ENTITY_ASSOC, TYP_ENTITY_OBJECT, TYP_ENTITY_ROW, TYP_ENTITY_ROW_SET, TYP_ENTITY_ROW_SET_ITERATOR, TYP_ENTITY_USAGE, TYP_PACKAGE, TYP_PERS_DEF_APP_MODULE, TYP_PERS_DEF_ATTRIBUTE, TYP_PERS_DEF_COMPONENT_OBJECT, TYP_PERS_DEF_DOMAIN, TYP_PERS_DEF_ENTITY_ASSOC, TYP_PERS_DEF_ENTITY_OBJECT, TYP_PERS_DEF_OFFSET, TYP_PERS_DEF_PACKAGE, TYP_PERS_DEF_VIEW_LINK, TYP_PERS_DEF_VIEW_OBJECT, TYP_SORT_CRITERIA, TYP_TRANSACTION, TYP_VALIDATOR_TYPE, TYP_VARIABLE, TYP_VARIABLE_WHERE_CLAUSE, TYP_VIEW_CRITERIA, TYP_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR
 
Method Summary
static ApplicationModule findApplicationModule(java.lang.String name, ApplicationModuleImpl am)
          Finds the application module instance
static java.lang.Object findMetaObject(java.lang.String name, int type, java.lang.Class clazz, boolean sub)
           
static java.lang.Object findOrLoadMetaObject(java.lang.String name, int type, java.lang.Class clazz, boolean sub)
           
 java.lang.String formatForOutput(OutputFormatter formatter)
           
static java.lang.String[] getAllMetaNames()
           
static java.lang.String[] getAllMetaNames(java.lang.Class defClass)
           
 ArrayList getCustomMessageBundlesList()
           
static MetaObjectManager getInstance()
          Get the Singleton instance
static MetaObjectManager getSingleton()
           
 void preLoadAllMetaObjects(java.lang.String[] appModuleNames)
          Pre-load all metadata objects at once
 
Methods inherited from class oracle.jbo.mom.DefinitionManager
getStatementMonitor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Method Detail

getInstance

public static final MetaObjectManager getInstance()
Get the Singleton instance

Returns:
The one and only MetaObjectManager

getSingleton

public static final MetaObjectManager getSingleton()

preLoadAllMetaObjects

public final void preLoadAllMetaObjects(java.lang.String[] appModuleNames)
Pre-load all metadata objects at once

Parameters:
appModuleNames -

getAllMetaNames

public static java.lang.String[] getAllMetaNames()

getAllMetaNames

public static java.lang.String[] getAllMetaNames(java.lang.Class defClass)

findOrLoadMetaObject

public static java.lang.Object findOrLoadMetaObject(java.lang.String name,
                                                    int type,
                                                    java.lang.Class clazz,
                                                    boolean sub)

findMetaObject

public static java.lang.Object findMetaObject(java.lang.String name,
                                              int type,
                                              java.lang.Class clazz,
                                              boolean sub)

formatForOutput

public java.lang.String formatForOutput(OutputFormatter formatter)
Specified by:
formatForOutput in interface Formattable

findApplicationModule

public static ApplicationModule findApplicationModule(java.lang.String name,
                                                      ApplicationModuleImpl am)
Finds the application module instance

Parameters:
name - The name of the application module instance.
am - The root application module of the current session.
Returns:
The Applcation Module with the specified instance name.

getCustomMessageBundlesList

public ArrayList getCustomMessageBundlesList()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

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