/** */ package org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.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.papyrus.eastadl.annex.attributequantificationconstraint.Attribute; import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributeQuantificationconstraint; import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage; import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.BehaviorAttributeBinding; import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.LogicalEvent; import org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.Quantification; import org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviorConstraintParameter; import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement; import org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship; import org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression; import org.eclipse.papyrus.eastadl.infrastructure.values.EAValue; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * * * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributequantificationconstraintPackage * @generated */ public class AttributequantificationconstraintAdapterFactory extends AdapterFactoryImpl { /** * The cached model package. * * * * @generated */ protected static AttributequantificationconstraintPackage modelPackage; /** * Creates an instance of the adapter factory. * * * * @generated */ public AttributequantificationconstraintAdapterFactory() { if (modelPackage == null) { modelPackage = AttributequantificationconstraintPackage.eINSTANCE; } } /** * Returns whether this factory is applicable for the type of the object. * * This implementation returns true if the object is either the model's package or is an instance object of the model. * * * @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 createXXX methods. * * * * @generated */ protected AttributequantificationconstraintSwitch modelSwitch = new AttributequantificationconstraintSwitch() { @Override public Adapter caseAttributeQuantificationconstraint(AttributeQuantificationconstraint object) { return createAttributeQuantificationconstraintAdapter(); } @Override public Adapter caseQuantification(Quantification object) { return createQuantificationAdapter(); } @Override public Adapter caseBehaviorAttributeBinding(BehaviorAttributeBinding object) { return createBehaviorAttributeBindingAdapter(); } @Override public Adapter caseLogicalEvent(LogicalEvent object) { return createLogicalEventAdapter(); } @Override public Adapter caseAttribute(Attribute object) { return createAttributeAdapter(); } @Override public Adapter caseEAElement(EAElement object) { return createEAElementAdapter(); } @Override public Adapter caseBehaviorConstraintParameter(BehaviorConstraintParameter object) { return createBehaviorConstraintParameterAdapter(); } @Override public Adapter caseEAValue(EAValue object) { return createEAValueAdapter(); } @Override public Adapter caseEAExpression(EAExpression object) { return createEAExpressionAdapter(); } @Override public Adapter caseRelationship(Relationship object) { return createRelationshipAdapter(); } @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } }; /** * Creates an adapter for the target. * * * * @param target * the object to adapt. * @return the adapter for the target. * @generated */ @Override public Adapter createAdapter(Notifier target) { return modelSwitch.doSwitch((EObject) target); } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributeQuantificationconstraint Attribute Quantificationconstraint}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.AttributeQuantificationconstraint * @generated */ public Adapter createAttributeQuantificationconstraintAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.Quantification Quantification}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.Quantification * @generated */ public Adapter createQuantificationAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.BehaviorAttributeBinding Behavior Attribute Binding}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.BehaviorAttributeBinding * @generated */ public Adapter createBehaviorAttributeBindingAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.LogicalEvent Logical Event}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.LogicalEvent * @generated */ public Adapter createLogicalEventAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.Attribute Attribute}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.attributequantificationconstraint.Attribute * @generated */ public Adapter createAttributeAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement EA 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement * @generated */ public Adapter createEAElementAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviorConstraintParameter Behavior Constraint Parameter}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.annex.behaviordescription.BehaviorConstraintParameter * @generated */ public Adapter createBehaviorConstraintParameterAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAValue EA Value}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAValue * @generated */ public Adapter createEAValueAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression EA Expression}'. * * 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.infrastructure.values.EAExpression * @generated */ public Adapter createEAExpressionAdapter() { return null; } /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship 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. * * * @return the new adapter. * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Relationship * @generated */ public Adapter createRelationshipAdapter() { return null; } /** * Creates a new adapter for the default case. * * This default implementation returns null. * * * @return the new adapter. * @generated */ public Adapter createEObjectAdapter() { return null; } } // AttributequantificationconstraintAdapterFactory