|
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.
NamedModelElementWithIdpublic 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.
FactoryComponentpublic 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.
Domainpublic 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.
Specificationpublic 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.
AbstractViewpointpublic 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.
Contractpublic 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.
ContractElementpublic 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.
ContractElementReferencepublic 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.
Typepublic 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.
PatternViewpointpublic 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.
AbstractPatternElementpublic 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.
PatternLibrarypublic 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.
PatternModelpublic 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.
Factorypublic 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.
AbstractFactoryComponentFactorypublic 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.
ProductionPlanpublic 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.
Contextpublic 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.
ContextElementpublic 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.
FactoryComponentInvocationpublic 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.
TaskFactoryHolderpublic 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.
MappingViewpointpublic 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.
MappingModelpublic 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.