Class ContextMappingDSLAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.contextmapper.dsl.contextMappingDSL.util.ContextMappingDSLAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class ContextMappingDSLAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXX
method for each class of the model.- See Also:
ContextMappingDSLPackage
- Generated:
-
-
Field Summary
Fields Modifier and Type Field Description protected static ContextMappingDSLPackage
modelPackage
The cached model package.protected ContextMappingDSLSwitch<org.eclipse.emf.common.notify.Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description ContextMappingDSLAdapterFactory()
Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.Adapter
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget
.org.eclipse.emf.common.notify.Adapter
createAggregateAdapter()
Creates a new adapter for an object of class 'Aggregate
'.org.eclipse.emf.common.notify.Adapter
createBoundedContextAdapter()
Creates a new adapter for an object of class 'Bounded Context
'.org.eclipse.emf.common.notify.Adapter
createContextMapAdapter()
Creates a new adapter for an object of class 'Context Map
'.org.eclipse.emf.common.notify.Adapter
createContextMappingModelAdapter()
Creates a new adapter for an object of class 'Context Mapping Model
'.org.eclipse.emf.common.notify.Adapter
createCustomerSupplierRelationshipAdapter()
Creates a new adapter for an object of class 'Customer Supplier Relationship
'.org.eclipse.emf.common.notify.Adapter
createDomainAdapter()
Creates a new adapter for an object of class 'Domain
'.org.eclipse.emf.common.notify.Adapter
createDomainPartAdapter()
Creates a new adapter for an object of class 'Domain Part
'.org.eclipse.emf.common.notify.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
createImportAdapter()
Creates a new adapter for an object of class 'Import
'.org.eclipse.emf.common.notify.Adapter
createPartnershipAdapter()
Creates a new adapter for an object of class 'Partnership
'.org.eclipse.emf.common.notify.Adapter
createRelationshipAdapter()
Creates a new adapter for an object of class 'Relationship
'.org.eclipse.emf.common.notify.Adapter
createSculptorModuleAdapter()
Creates a new adapter for an object of class 'Sculptor Module
'.org.eclipse.emf.common.notify.Adapter
createSharedKernelAdapter()
Creates a new adapter for an object of class 'Shared Kernel
'.org.eclipse.emf.common.notify.Adapter
createSubdomainAdapter()
Creates a new adapter for an object of class 'Subdomain
'.org.eclipse.emf.common.notify.Adapter
createSymmetricRelationshipAdapter()
Creates a new adapter for an object of class 'Symmetric Relationship
'.org.eclipse.emf.common.notify.Adapter
createUpstreamDownstreamRelationshipAdapter()
Creates a new adapter for an object of class 'Upstream Downstream Relationship
'.org.eclipse.emf.common.notify.Adapter
createUseCaseAdapter()
Creates a new adapter for an object of class 'Use Case
'.boolean
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
-
-
-
Field Detail
-
modelPackage
protected static ContextMappingDSLPackage modelPackage
The cached model package.- Generated:
-
modelSwitch
protected ContextMappingDSLSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to thecreateXXX
methods.- Generated:
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceorg.eclipse.emf.common.notify.AdapterFactory
- Overrides:
isFactoryForType
in classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
- Generated:
-
createAdapter
public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget
.- Overrides:
createAdapter
in classorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
. - Generated:
-
createContextMappingModelAdapter
public org.eclipse.emf.common.notify.Adapter createContextMappingModelAdapter()
Creates a new adapter for an object of class 'Context 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.- Returns:
- the new adapter.
- See Also:
ContextMappingModel
- Generated:
-
createImportAdapter
public org.eclipse.emf.common.notify.Adapter createImportAdapter()
Creates a new adapter for an object of class 'Import
'. 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.- Returns:
- the new adapter.
- See Also:
Import
- Generated:
-
createContextMapAdapter
public org.eclipse.emf.common.notify.Adapter createContextMapAdapter()
Creates a new adapter for an object of class 'Context Map
'. 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.- Returns:
- the new adapter.
- See Also:
ContextMap
- Generated:
-
createBoundedContextAdapter
public org.eclipse.emf.common.notify.Adapter createBoundedContextAdapter()
Creates a new adapter for an object of class 'Bounded 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.- Returns:
- the new adapter.
- See Also:
BoundedContext
- Generated:
-
createDomainPartAdapter
public org.eclipse.emf.common.notify.Adapter createDomainPartAdapter()
Creates a new adapter for an object of class 'Domain Part
'. 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.- Returns:
- the new adapter.
- See Also:
DomainPart
- Generated:
-
createDomainAdapter
public org.eclipse.emf.common.notify.Adapter createDomainAdapter()
Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
Domain
- Generated:
-
createSubdomainAdapter
public org.eclipse.emf.common.notify.Adapter createSubdomainAdapter()
Creates a new adapter for an object of class 'Subdomain
'. 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.- Returns:
- the new adapter.
- See Also:
Subdomain
- Generated:
-
createRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createRelationshipAdapter()
Creates a new adapter for an object of class 'Relationship
'. 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.- Returns:
- the new adapter.
- See Also:
Relationship
- Generated:
-
createSymmetricRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createSymmetricRelationshipAdapter()
Creates a new adapter for an object of class 'Symmetric Relationship
'. 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.- Returns:
- the new adapter.
- See Also:
SymmetricRelationship
- Generated:
-
createPartnershipAdapter
public org.eclipse.emf.common.notify.Adapter createPartnershipAdapter()
Creates a new adapter for an object of class 'Partnership
'. 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.- Returns:
- the new adapter.
- See Also:
Partnership
- Generated:
-
createSharedKernelAdapter
public org.eclipse.emf.common.notify.Adapter createSharedKernelAdapter()
Creates a new adapter for an object of class 'Shared Kernel
'. 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.- Returns:
- the new adapter.
- See Also:
SharedKernel
- Generated:
-
createUpstreamDownstreamRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createUpstreamDownstreamRelationshipAdapter()
Creates a new adapter for an object of class 'Upstream Downstream Relationship
'. 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.- Returns:
- the new adapter.
- See Also:
UpstreamDownstreamRelationship
- Generated:
-
createCustomerSupplierRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createCustomerSupplierRelationshipAdapter()
Creates a new adapter for an object of class 'Customer Supplier Relationship
'. 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.- Returns:
- the new adapter.
- See Also:
CustomerSupplierRelationship
- Generated:
-
createAggregateAdapter
public org.eclipse.emf.common.notify.Adapter createAggregateAdapter()
Creates a new adapter for an object of class 'Aggregate
'. 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.- Returns:
- the new adapter.
- See Also:
Aggregate
- Generated:
-
createUseCaseAdapter
public org.eclipse.emf.common.notify.Adapter createUseCaseAdapter()
Creates a new adapter for an object of class 'Use Case
'. 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.- Returns:
- the new adapter.
- See Also:
UseCase
- Generated:
-
createSculptorModuleAdapter
public org.eclipse.emf.common.notify.Adapter createSculptorModuleAdapter()
Creates a new adapter for an object of class 'Sculptor Module
'. 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.- Returns:
- the new adapter.
- See Also:
SculptorModule
- Generated:
-
createEObjectAdapter
public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated:
-
-