content: /**
   * <copyright>
   * </copyright>
   *
   * $Id$
   */
  package oscfg.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 oscfg.*;
  
  /**
   * <!-- 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 oscfg.OscfgPackage
   * @generated
   */
  public class OscfgAdapterFactory extends AdapterFactoryImpl {
  	/**
  	 * The cached model package.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected static OscfgPackage modelPackage;
  
  	/**
  	 * Creates an instance of the adapter factory.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public OscfgAdapterFactory() {
  		if (modelPackage == null) {
  			modelPackage = OscfgPackage.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 OscfgSwitch<Adapter> modelSwitch =
  		new OscfgSwitch<Adapter>() {
  			@Override
  			public Adapter caseCallbackFunction(CallbackFunction object) {
  				return createCallbackFunctionAdapter();
  			}
  			@Override
  			public Adapter caseConfiguration(Configuration object) {
  				return createConfigurationAdapter();
  			}
  			@Override
  			public Adapter caseDocumentRoot(DocumentRoot object) {
  				return createDocumentRootAdapter();
  			}
  			@Override
  			public Adapter caseHWCounter(HWCounter object) {
  				return createHWCounterAdapter();
  			}
  			@Override
  			public Adapter caseISR(ISR object) {
  				return createISRAdapter();
  			}
  			@Override
  			public Adapter caseMessage(Message object) {
  				return createMessageAdapter();
  			}
  			@Override
  			public Adapter caseMutex(Mutex object) {
  				return createMutexAdapter();
  			}
  			@Override
  			public Adapter caseModule(Module object) {
  				return createModuleAdapter();
  			}
  			@Override
  			public Adapter caseSWTimer(SWTimer object) {
  				return createSWTimerAdapter();
  			}
  			@Override
  			public Adapter caseTask(Task object) {
  				return createTaskAdapter();
  			}
  			@Override
  			public Adapter caseBaseTask(BaseTask object) {
  				return createBaseTaskAdapter();
  			}
  			@Override
  			public Adapter caseInterruptSource(InterruptSource object) {
  				return createInterruptSourceAdapter();
  			}
  			@Override
  			public Adapter caseOS(OS object) {
  				return createOSAdapter();
  			}
  			@Override
  			public Adapter caseCooperativeGroup(CooperativeGroup object) {
  				return createCooperativeGroupAdapter();
  			}
  			@Override
  			public Adapter caseNamedObject(NamedObject object) {
  				return createNamedObjectAdapter();
  			}
  			@Override
  			public Adapter casePoster(Poster object) {
  				return createPosterAdapter();
  			}
  			@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 oscfg.CallbackFunction <em>Callback Function</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 oscfg.CallbackFunction
  	 * @generated
  	 */
  	public Adapter createCallbackFunctionAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Configuration <em>Configuration</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 oscfg.Configuration
  	 * @generated
  	 */
  	public Adapter createConfigurationAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.DocumentRoot <em>Document Root</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 oscfg.DocumentRoot
  	 * @generated
  	 */
  	public Adapter createDocumentRootAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.HWCounter <em>HW Counter</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 oscfg.HWCounter
  	 * @generated
  	 */
  	public Adapter createHWCounterAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.ISR <em>ISR</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 oscfg.ISR
  	 * @generated
  	 */
  	public Adapter createISRAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Message <em>Message</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 oscfg.Message
  	 * @generated
  	 */
  	public Adapter createMessageAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Mutex <em>Mutex</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 oscfg.Mutex
  	 * @generated
  	 */
  	public Adapter createMutexAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Module <em>Module</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 oscfg.Module
  	 * @generated
  	 */
  	public Adapter createModuleAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.SWTimer <em>SW Timer</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 oscfg.SWTimer
  	 * @generated
  	 */
  	public Adapter createSWTimerAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Task <em>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 oscfg.Task
  	 * @generated
  	 */
  	public Adapter createTaskAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.BaseTask <em>Base 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 oscfg.BaseTask
  	 * @generated
  	 */
  	public Adapter createBaseTaskAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.InterruptSource <em>Interrupt Source</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 oscfg.InterruptSource
  	 * @generated
  	 */
  	public Adapter createInterruptSourceAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.OS <em>OS</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 oscfg.OS
  	 * @generated
  	 */
  	public Adapter createOSAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.CooperativeGroup <em>Cooperative Group</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 oscfg.CooperativeGroup
  	 * @generated
  	 */
  	public Adapter createCooperativeGroupAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.NamedObject <em>Named Object</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 oscfg.NamedObject
  	 * @generated
  	 */
  	public Adapter createNamedObjectAdapter() {
  		return null;
  	}
  
  	/**
  	 * Creates a new adapter for an object of class '{@link oscfg.Poster <em>Poster</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 oscfg.Poster
  	 * @generated
  	 */
  	public Adapter createPosterAdapter() {
  		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;
  	}
  
  } //OscfgAdapterFactory
  