|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAdapterFactoryImpl
org.eclipse.egf.model.util.ModelAdapterFactory
public class ModelAdapterFactory
The Adapter Factory for the model. It provides an adapter createXXX
method for each class of the model.
ModelPackage
Field Summary | |
---|---|
protected static ModelPackage |
modelPackage
The cached model package |
protected ModelSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods |
Constructor Summary | |
---|---|
ModelAdapterFactory()
Creates an instance of the adapter factory |
Method Summary | |
---|---|
Adapter |
createAbstractFactoryComponentFactoryAdapter()
Creates a new adapter for an object of class ' Abstract Factory Component Factory ' |
Adapter |
createAbstractPatternElementAdapter()
Creates a new adapter for an object of class ' Abstract Pattern Element ' |
Adapter |
createAbstractViewpointAdapter()
Creates a new adapter for an object of class ' Abstract Viewpoint ' |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createContextAdapter()
Creates a new adapter for an object of class ' Context ' |
Adapter |
createContextElementAdapter()
Creates a new adapter for an object of class ' Context Element ' |
Adapter |
createContractAdapter()
Creates a new adapter for an object of class ' Contract ' |
Adapter |
createContractElementAdapter()
Creates a new adapter for an object of class ' Contract Element ' |
Adapter |
createContractElementReferenceAdapter()
Creates a new adapter for an object of class ' Contract Element Reference '.
|
Adapter |
createDomainAdapter()
Creates a new adapter for an object of class ' Domain ' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
Adapter |
createFactoryAdapter()
Creates a new adapter for an object of class ' Factory ' |
Adapter |
createFactoryComponentAdapter()
Creates a new adapter for an object of class ' Factory Component ' |
Adapter |
createFactoryComponentInvocationAdapter()
Creates a new adapter for an object of class ' Factory Component Invocation ' |
Adapter |
createMappingModelAdapter()
Creates a new adapter for an object of class ' Mapping Model ' |
Adapter |
createMappingViewpointAdapter()
Creates a new adapter for an object of class ' Mapping Viewpoint ' |
Adapter |
createNamedModelElementWithIdAdapter()
Creates a new adapter for an object of class ' Named Model Element With Id '.
|
Adapter |
createPatternLibraryAdapter()
Creates a new adapter for an object of class ' Pattern Library ' |
Adapter |
createPatternModelAdapter()
Creates a new adapter for an object of class ' Pattern Model ' |
Adapter |
createPatternViewpointAdapter()
Creates a new adapter for an object of class ' Pattern Viewpoint ' |
Adapter |
createProductionPlanAdapter()
Creates a new adapter for an object of class ' Production Plan ' |
Adapter |
createSpecificationAdapter()
Creates a new adapter for an object of class ' Specification ' |
Adapter |
createTaskFactoryHolderAdapter()
Creates a new adapter for an object of class ' Task Factory Holder ' |
Adapter |
createTypeAdapter()
Creates a new adapter for an object of class ' Type ' |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static ModelPackage modelPackage
protected ModelSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public ModelAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(Object object)
true
if the object
is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.
target
.public Adapter createNamedModelElementWithIdAdapter()
Named Model Element With Id
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch
all the cases anyway.
NamedModelElementWithId
public Adapter createFactoryComponentAdapter()
Factory Component
'.
This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
FactoryComponent
public Adapter createDomainAdapter()
Domain
'.
This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Domain
public Adapter createSpecificationAdapter()
Specification
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Specification
public Adapter createAbstractViewpointAdapter()
Abstract Viewpoint
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
AbstractViewpoint
public Adapter createContractAdapter()
Contract
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Contract
public Adapter createContractElementAdapter()
Contract Element
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
ContractElement
public Adapter createContractElementReferenceAdapter()
Contract Element Reference
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch
all the cases anyway.
ContractElementReference
public Adapter createTypeAdapter()
Type
'.
This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Type
public Adapter createPatternViewpointAdapter()
Pattern Viewpoint
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
PatternViewpoint
public Adapter createAbstractPatternElementAdapter()
Abstract Pattern Element
'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases
anyway.
AbstractPatternElement
public Adapter createPatternLibraryAdapter()
Pattern Library
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
PatternLibrary
public Adapter createPatternModelAdapter()
Pattern Model
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
PatternModel
public Adapter createFactoryAdapter()
Factory
'.
This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Factory
public Adapter createAbstractFactoryComponentFactoryAdapter()
Abstract Factory Component Factory
'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
AbstractFactoryComponentFactory
public Adapter createProductionPlanAdapter()
Production Plan
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
ProductionPlan
public Adapter createContextAdapter()
Context
'.
This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Context
public Adapter createContextElementAdapter()
Context Element
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
ContextElement
public Adapter createFactoryComponentInvocationAdapter()
Factory Component Invocation
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
FactoryComponentInvocation
public Adapter createTaskFactoryHolderAdapter()
Task Factory Holder
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
TaskFactoryHolder
public Adapter createMappingViewpointAdapter()
Mapping Viewpoint
'.
This
default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
MappingViewpoint
public Adapter createMappingModelAdapter()
Mapping Model
'.
This default
implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
MappingModel
public Adapter createEObjectAdapter()
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.