| /** |
| * Copyright (c) 2014, Loetz GmbH&Co.KG (Heidelberg) |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Based on ideas from Xtext, Xtend, Xcore |
| * |
| * Contributors: |
| * Loetz GmbH&Co.KG - Initial implementation |
| * |
| */ |
| package org.eclipse.osbp.xtext.blip.util; |
| |
| import org.eclipse.emf.common.notify.Adapter; |
| import org.eclipse.emf.common.notify.Notifier; |
| |
| import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver; |
| import org.eclipse.osbp.dsl.semantic.common.types.LPackage; |
| |
| import org.eclipse.osbp.xtext.blip.*; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Adapter Factory</b> for the model. |
| * It provides an adapter <code>createXXX</code> method for each class of the model. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.osbp.xtext.blip.BlipDSLPackage |
| * @generated |
| */ |
| public class BlipDSLAdapterFactory extends AdapterFactoryImpl { |
| /** |
| * The cached model package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected static BlipDSLPackage modelPackage; |
| |
| /** |
| * Creates an instance of the adapter factory. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public BlipDSLAdapterFactory() { |
| if (modelPackage == null) { |
| modelPackage = BlipDSLPackage.eINSTANCE; |
| } |
| } |
| |
| /** |
| * Returns whether this factory is applicable for the type of the object. |
| * <!-- begin-user-doc --> |
| * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. |
| * <!-- end-user-doc --> |
| * @return whether this factory is applicable for the type of the object. |
| * @generated |
| */ |
| @Override |
| public boolean isFactoryForType(Object object) { |
| if (object == modelPackage) { |
| return true; |
| } |
| if (object instanceof EObject) { |
| return ((EObject)object).eClass().getEPackage() == modelPackage; |
| } |
| return false; |
| } |
| |
| /** |
| * The switch that delegates to the <code>createXXX</code> methods. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected BlipDSLSwitch<Adapter> modelSwitch = |
| new BlipDSLSwitch<Adapter>() { |
| @Override |
| public Adapter caseBlipModel(BlipModel object) { |
| return createBlipModelAdapter(); |
| } |
| @Override |
| public Adapter caseBlipLazyResolver(BlipLazyResolver object) { |
| return createBlipLazyResolverAdapter(); |
| } |
| @Override |
| public Adapter caseBlipPackage(BlipPackage object) { |
| return createBlipPackageAdapter(); |
| } |
| @Override |
| public Adapter caseBlipBase(BlipBase object) { |
| return createBlipBaseAdapter(); |
| } |
| @Override |
| public Adapter caseBlip(Blip object) { |
| return createBlipAdapter(); |
| } |
| @Override |
| public Adapter caseBlipWorkload(BlipWorkload object) { |
| return createBlipWorkloadAdapter(); |
| } |
| @Override |
| public Adapter caseBlipFilter(BlipFilter object) { |
| return createBlipFilterAdapter(); |
| } |
| @Override |
| public Adapter caseBlipDto(BlipDto object) { |
| return createBlipDtoAdapter(); |
| } |
| @Override |
| public Adapter caseBlipDtoPath(BlipDtoPath object) { |
| return createBlipDtoPathAdapter(); |
| } |
| @Override |
| public Adapter caseBlipItem(BlipItem object) { |
| return createBlipItemAdapter(); |
| } |
| @Override |
| public Adapter caseBlipEvent(BlipEvent object) { |
| return createBlipEventAdapter(); |
| } |
| @Override |
| public Adapter caseBlipStartEvent(BlipStartEvent object) { |
| return createBlipStartEventAdapter(); |
| } |
| @Override |
| public Adapter caseBlipEndEvent(BlipEndEvent object) { |
| return createBlipEndEventAdapter(); |
| } |
| @Override |
| public Adapter caseBlipUserTask(BlipUserTask object) { |
| return createBlipUserTaskAdapter(); |
| } |
| @Override |
| public Adapter caseBlipCallActivity(BlipCallActivity object) { |
| return createBlipCallActivityAdapter(); |
| } |
| @Override |
| public Adapter caseBlipScript(BlipScript object) { |
| return createBlipScriptAdapter(); |
| } |
| @Override |
| public Adapter caseBlipScriptTask(BlipScriptTask object) { |
| return createBlipScriptTaskAdapter(); |
| } |
| @Override |
| public Adapter caseBlipPersistTask(BlipPersistTask object) { |
| return createBlipPersistTaskAdapter(); |
| } |
| @Override |
| public Adapter caseBlipServiceTask(BlipServiceTask object) { |
| return createBlipServiceTaskAdapter(); |
| } |
| @Override |
| public Adapter caseBlipOutGoing(BlipOutGoing object) { |
| return createBlipOutGoingAdapter(); |
| } |
| @Override |
| public Adapter caseBlipOutGoingDefault(BlipOutGoingDefault object) { |
| return createBlipOutGoingDefaultAdapter(); |
| } |
| @Override |
| public Adapter caseBlipSplitGateway(BlipSplitGateway object) { |
| return createBlipSplitGatewayAdapter(); |
| } |
| @Override |
| public Adapter caseBlipExclusiveSplitGateway(BlipExclusiveSplitGateway object) { |
| return createBlipExclusiveSplitGatewayAdapter(); |
| } |
| @Override |
| public Adapter caseBlipInclusiveSplitGateway(BlipInclusiveSplitGateway object) { |
| return createBlipInclusiveSplitGatewayAdapter(); |
| } |
| @Override |
| public Adapter caseLLazyResolver(LLazyResolver object) { |
| return createLLazyResolverAdapter(); |
| } |
| @Override |
| public Adapter caseLPackage(LPackage object) { |
| return createLPackageAdapter(); |
| } |
| @Override |
| public Adapter defaultCase(EObject object) { |
| return createEObjectAdapter(); |
| } |
| }; |
| |
| /** |
| * Creates an adapter for the <code>target</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param target the object to adapt. |
| * @return the adapter for the <code>target</code>. |
| * @generated |
| */ |
| @Override |
| public Adapter createAdapter(Notifier target) { |
| return modelSwitch.doSwitch((EObject)target); |
| } |
| |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipModel <em>Blip Model</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipModel |
| * @generated |
| */ |
| public Adapter createBlipModelAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipLazyResolver <em>Blip Lazy Resolver</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipLazyResolver |
| * @generated |
| */ |
| public Adapter createBlipLazyResolverAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipPackage <em>Blip Package</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipPackage |
| * @generated |
| */ |
| public Adapter createBlipPackageAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipBase <em>Blip Base</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipBase |
| * @generated |
| */ |
| public Adapter createBlipBaseAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.Blip <em>Blip</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.Blip |
| * @generated |
| */ |
| public Adapter createBlipAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipWorkload <em>Blip Workload</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipWorkload |
| * @generated |
| */ |
| public Adapter createBlipWorkloadAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipFilter <em>Blip Filter</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipFilter |
| * @generated |
| */ |
| public Adapter createBlipFilterAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipDto <em>Blip Dto</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipDto |
| * @generated |
| */ |
| public Adapter createBlipDtoAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipDtoPath <em>Blip Dto Path</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipDtoPath |
| * @generated |
| */ |
| public Adapter createBlipDtoPathAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipItem <em>Blip Item</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipItem |
| * @generated |
| */ |
| public Adapter createBlipItemAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipEvent <em>Blip Event</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipEvent |
| * @generated |
| */ |
| public Adapter createBlipEventAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipStartEvent <em>Blip Start Event</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipStartEvent |
| * @generated |
| */ |
| public Adapter createBlipStartEventAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipEndEvent <em>Blip End Event</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipEndEvent |
| * @generated |
| */ |
| public Adapter createBlipEndEventAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipUserTask <em>Blip User Task</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipUserTask |
| * @generated |
| */ |
| public Adapter createBlipUserTaskAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipCallActivity <em>Blip Call Activity</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipCallActivity |
| * @generated |
| */ |
| public Adapter createBlipCallActivityAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipScript <em>Blip Script</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipScript |
| * @generated |
| */ |
| public Adapter createBlipScriptAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipScriptTask <em>Blip Script Task</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipScriptTask |
| * @generated |
| */ |
| public Adapter createBlipScriptTaskAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipPersistTask <em>Blip Persist Task</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipPersistTask |
| * @generated |
| */ |
| public Adapter createBlipPersistTaskAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipServiceTask <em>Blip Service Task</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipServiceTask |
| * @generated |
| */ |
| public Adapter createBlipServiceTaskAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipOutGoing <em>Blip Out Going</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipOutGoing |
| * @generated |
| */ |
| public Adapter createBlipOutGoingAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipOutGoingDefault <em>Blip Out Going Default</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipOutGoingDefault |
| * @generated |
| */ |
| public Adapter createBlipOutGoingDefaultAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipSplitGateway <em>Blip Split Gateway</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipSplitGateway |
| * @generated |
| */ |
| public Adapter createBlipSplitGatewayAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipExclusiveSplitGateway <em>Blip Exclusive Split Gateway</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipExclusiveSplitGateway |
| * @generated |
| */ |
| public Adapter createBlipExclusiveSplitGatewayAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.blip.BlipInclusiveSplitGateway <em>Blip Inclusive Split Gateway</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.xtext.blip.BlipInclusiveSplitGateway |
| * @generated |
| */ |
| public Adapter createBlipInclusiveSplitGatewayAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver <em>LLazy Resolver</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver |
| * @generated |
| */ |
| public Adapter createLLazyResolverAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LPackage <em>LPackage</em>}'. |
| * <!-- begin-user-doc --> |
| * 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. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @see org.eclipse.osbp.dsl.semantic.common.types.LPackage |
| * @generated |
| */ |
| public Adapter createLPackageAdapter() { |
| return null; |
| } |
| |
| /** |
| * Creates a new adapter for the default case. |
| * <!-- begin-user-doc --> |
| * This default implementation returns null. |
| * <!-- end-user-doc --> |
| * @return the new adapter. |
| * @generated |
| */ |
| public Adapter createEObjectAdapter() { |
| return null; |
| } |
| |
| } //BlipDSLAdapterFactory |