/**
 */
package ua.ansymo.hintco.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 ua.ansymo.hintco.*;

/**
 * <!-- 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 ua.ansymo.hintco.HintcoPackage
 * @generated
 */
public class HintcoAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static HintcoPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public HintcoAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = HintcoPackage.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 HintcoSwitch<Adapter> modelSwitch =
		new HintcoSwitch<Adapter>() {
			@Override
			public Adapter caseIDed(IDed object) {
				return createIDedAdapter();
			}
			@Override
			public Adapter caseCandidates(Candidates object) {
				return createCandidatesAdapter();
			}
			@Override
			public Adapter caseVariantDiagram(VariantDiagram object) {
				return createVariantDiagramAdapter();
			}
			@Override
			public Adapter casePrecendenceNode(PrecendenceNode object) {
				return createPrecendenceNodeAdapter();
			}
			@Override
			public Adapter caseCandidateScenario(CandidateScenario object) {
				return createCandidateScenarioAdapter();
			}
			@Override
			public Adapter caseCosimUnitDeclaration(CosimUnitDeclaration object) {
				return createCosimUnitDeclarationAdapter();
			}
			@Override
			public Adapter caseHierarchicalCosimUnitDeclaration(HierarchicalCosimUnitDeclaration object) {
				return createHierarchicalCosimUnitDeclarationAdapter();
			}
			@Override
			public Adapter caseCosimUnitInstance(CosimUnitInstance object) {
				return createCosimUnitInstanceAdapter();
			}
			@Override
			public Adapter casePortDeclaration(PortDeclaration object) {
				return createPortDeclarationAdapter();
			}
			@Override
			public Adapter caseInputPortDeclaration(InputPortDeclaration object) {
				return createInputPortDeclarationAdapter();
			}
			@Override
			public Adapter caseOutputPortDeclaration(OutputPortDeclaration object) {
				return createOutputPortDeclarationAdapter();
			}
			@Override
			public Adapter casePortInstance(PortInstance object) {
				return createPortInstanceAdapter();
			}
			@Override
			public Adapter caseInputPortInstance(InputPortInstance object) {
				return createInputPortInstanceAdapter();
			}
			@Override
			public Adapter caseOutputPortInstance(OutputPortInstance object) {
				return createOutputPortInstanceAdapter();
			}
			@Override
			public Adapter caseAlternative(Alternative object) {
				return createAlternativeAdapter();
			}
			@Override
			public Adapter caseAdaptation(Adaptation object) {
				return createAdaptationAdapter();
			}
			@Override
			public Adapter caseDecompositionAdaptation(DecompositionAdaptation object) {
				return createDecompositionAdaptationAdapter();
			}
			@Override
			public Adapter caseXorAdaptation(XorAdaptation object) {
				return createXorAdaptationAdapter();
			}
			@Override
			public Adapter caseApproximationAdaptation(ApproximationAdaptation object) {
				return createApproximationAdaptationAdapter();
			}
			@Override
			public Adapter caseExtrapolationAdaptation(ExtrapolationAdaptation object) {
				return createExtrapolationAdaptationAdapter();
			}
			@Override
			public Adapter caseInterpolationAdaptation(InterpolationAdaptation object) {
				return createInterpolationAdaptationAdapter();
			}
			@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 ua.ansymo.hintco.IDed <em>IDed</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 ua.ansymo.hintco.IDed
	 * @generated
	 */
	public Adapter createIDedAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.Candidates <em>Candidates</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 ua.ansymo.hintco.Candidates
	 * @generated
	 */
	public Adapter createCandidatesAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.VariantDiagram <em>Variant Diagram</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 ua.ansymo.hintco.VariantDiagram
	 * @generated
	 */
	public Adapter createVariantDiagramAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.PrecendenceNode <em>Precendence Node</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 ua.ansymo.hintco.PrecendenceNode
	 * @generated
	 */
	public Adapter createPrecendenceNodeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.CandidateScenario <em>Candidate Scenario</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 ua.ansymo.hintco.CandidateScenario
	 * @generated
	 */
	public Adapter createCandidateScenarioAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.CosimUnitDeclaration <em>Cosim Unit Declaration</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 ua.ansymo.hintco.CosimUnitDeclaration
	 * @generated
	 */
	public Adapter createCosimUnitDeclarationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.HierarchicalCosimUnitDeclaration <em>Hierarchical Cosim Unit Declaration</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 ua.ansymo.hintco.HierarchicalCosimUnitDeclaration
	 * @generated
	 */
	public Adapter createHierarchicalCosimUnitDeclarationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.CosimUnitInstance <em>Cosim Unit Instance</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 ua.ansymo.hintco.CosimUnitInstance
	 * @generated
	 */
	public Adapter createCosimUnitInstanceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.PortDeclaration <em>Port Declaration</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 ua.ansymo.hintco.PortDeclaration
	 * @generated
	 */
	public Adapter createPortDeclarationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.InputPortDeclaration <em>Input Port Declaration</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 ua.ansymo.hintco.InputPortDeclaration
	 * @generated
	 */
	public Adapter createInputPortDeclarationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.OutputPortDeclaration <em>Output Port Declaration</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 ua.ansymo.hintco.OutputPortDeclaration
	 * @generated
	 */
	public Adapter createOutputPortDeclarationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.PortInstance <em>Port Instance</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 ua.ansymo.hintco.PortInstance
	 * @generated
	 */
	public Adapter createPortInstanceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.InputPortInstance <em>Input Port Instance</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 ua.ansymo.hintco.InputPortInstance
	 * @generated
	 */
	public Adapter createInputPortInstanceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.OutputPortInstance <em>Output Port Instance</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 ua.ansymo.hintco.OutputPortInstance
	 * @generated
	 */
	public Adapter createOutputPortInstanceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.Alternative <em>Alternative</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 ua.ansymo.hintco.Alternative
	 * @generated
	 */
	public Adapter createAlternativeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.Adaptation <em>Adaptation</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 ua.ansymo.hintco.Adaptation
	 * @generated
	 */
	public Adapter createAdaptationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.DecompositionAdaptation <em>Decomposition Adaptation</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 ua.ansymo.hintco.DecompositionAdaptation
	 * @generated
	 */
	public Adapter createDecompositionAdaptationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.XorAdaptation <em>Xor Adaptation</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 ua.ansymo.hintco.XorAdaptation
	 * @generated
	 */
	public Adapter createXorAdaptationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.ApproximationAdaptation <em>Approximation Adaptation</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 ua.ansymo.hintco.ApproximationAdaptation
	 * @generated
	 */
	public Adapter createApproximationAdaptationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.ExtrapolationAdaptation <em>Extrapolation Adaptation</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 ua.ansymo.hintco.ExtrapolationAdaptation
	 * @generated
	 */
	public Adapter createExtrapolationAdaptationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ua.ansymo.hintco.InterpolationAdaptation <em>Interpolation Adaptation</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 ua.ansymo.hintco.InterpolationAdaptation
	 * @generated
	 */
	public Adapter createInterpolationAdaptationAdapter() {
		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;
	}

} //HintcoAdapterFactory
