Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdevimpl.audit.model
Class DefaultModelTypeFactory

java.lang.Object
  extended by oracle.jdeveloper.audit.model.ModelTypeFactory
      extended by oracle.jdevimpl.audit.model.DefaultModelTypeFactory


public class DefaultModelTypeFactory
extends ModelTypeFactory

A factory for Audit ModelTypes.


Constructor Summary
DefaultModelTypeFactory(java.util.List<ModelType> modelTypes, java.util.Collection<TypeDefinition<ModelType>> unloadedModelTypes, java.util.Collection<TypeDefinition<ContentRootFactory>> contentRootFactories)
          Creates a factory for specified model types.

 

Method Summary
 ModelFactory createModelFactory(java.util.Map attributes)
          Creates a ModelFactory based on this model type factory.
 java.util.Collection<ContentRootFactory> getContentRootFactories()
          Gets the ContentRootFactorys known to this factory.
<T extends ModelType>
T
getModelType(java.lang.Class<T> type)
          Gets the model type instance for a model type class.
 java.util.List<ModelType> getModelTypes()
          Gets the model types known to this factory, ordered by time of discovery.
 java.util.Collection<ModelType> getModelTypes(Element element)
          Gets the model types for an element.
 boolean isModelType(java.lang.Class<?> type)
          Gets whether a type is a model type known to this factory.

 

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

 

Constructor Detail

DefaultModelTypeFactory

public DefaultModelTypeFactory(java.util.List<ModelType> modelTypes,
                               java.util.Collection<TypeDefinition<ModelType>> unloadedModelTypes,
                               java.util.Collection<TypeDefinition<ContentRootFactory>> contentRootFactories)
Creates a factory for specified model types.

Method Detail

isModelType

public boolean isModelType(java.lang.Class<?> type)
Description copied from class: ModelTypeFactory
Gets whether a type is a model type known to this factory.
Specified by:
isModelType in class ModelTypeFactory

getModelTypes

public java.util.List<ModelType> getModelTypes()
Description copied from class: ModelTypeFactory
Gets the model types known to this factory, ordered by time of discovery. If the factory implementation discovers additional model types over time (e.g., because of extension loading), this ordering allows clients to recognize and handle the newly added types.
Specified by:
getModelTypes in class ModelTypeFactory

getContentRootFactories

public java.util.Collection<ContentRootFactory> getContentRootFactories()
Description copied from class: ModelTypeFactory
Gets the ContentRootFactorys known to this factory.
Specified by:
getContentRootFactories in class ModelTypeFactory

getModelType

public <T extends ModelType> T getModelType(java.lang.Class<T> type)
Description copied from class: ModelTypeFactory
Gets the model type instance for a model type class.
Specified by:
getModelType in class ModelTypeFactory

getModelTypes

public java.util.Collection<ModelType> getModelTypes(Element element)
Description copied from class: ModelTypeFactory
Gets the model types for an element.
Specified by:
getModelTypes in class ModelTypeFactory

createModelFactory

public ModelFactory createModelFactory(java.util.Map attributes)
Description copied from class: ModelTypeFactory
Creates a ModelFactory based on this model type factory.
Specified by:
createModelFactory in class ModelTypeFactory

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.