/**
*/
package activitydiagram.util;
import activitydiagram.*;
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;
/**
* <!-- 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 activitydiagram.ActivitydiagramPackage
* @generated
*/
public class ActivitydiagramAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static ActivitydiagramPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivitydiagramAdapterFactory() {
if (modelPackage == null) {
modelPackage = ActivitydiagramPackage.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 ActivitydiagramSwitch<Adapter> modelSwitch =
new ActivitydiagramSwitch<Adapter>() {
@Override
public Adapter caseActivity(Activity object) {
return createActivityAdapter();
}
@Override
public Adapter caseActivityNode(ActivityNode object) {
return createActivityNodeAdapter();
}
@Override
public Adapter caseActivityEdge(ActivityEdge object) {
return createActivityEdgeAdapter();
}
@Override
public Adapter caseControlFlow(ControlFlow object) {
return createControlFlowAdapter();
}
@Override
public Adapter caseControlNode(ControlNode object) {
return createControlNodeAdapter();
}
@Override
public Adapter caseExecutableNode(ExecutableNode object) {
return createExecutableNodeAdapter();
}
@Override
public Adapter caseAction(Action object) {
return createActionAdapter();
}
@Override
public Adapter caseOpaqueAction(OpaqueAction object) {
return createOpaqueActionAdapter();
}
@Override
public Adapter caseNamedElement(NamedElement object) {
return createNamedElementAdapter();
}
@Override
public Adapter caseInitialNode(InitialNode object) {
return createInitialNodeAdapter();
}
@Override
public Adapter caseFinalNode(FinalNode object) {
return createFinalNodeAdapter();
}
@Override
public Adapter caseActivityFinalNode(ActivityFinalNode object) {
return createActivityFinalNodeAdapter();
}
@Override
public Adapter caseForkNode(ForkNode object) {
return createForkNodeAdapter();
}
@Override
public Adapter caseJoinNode(JoinNode object) {
return createJoinNodeAdapter();
}
@Override
public Adapter caseMergeNode(MergeNode object) {
return createMergeNodeAdapter();
}
@Override
public Adapter caseDecisionNode(DecisionNode object) {
return createDecisionNodeAdapter();
}
@Override
public Adapter caseVariable(Variable object) {
return createVariableAdapter();
}
@Override
public Adapter caseIntegerVariable(IntegerVariable object) {
return createIntegerVariableAdapter();
}
@Override
public Adapter caseBooleanVariable(BooleanVariable object) {
return createBooleanVariableAdapter();
}
@Override
public Adapter caseValue(Value object) {
return createValueAdapter();
}
@Override
public Adapter caseBooleanValue(BooleanValue object) {
return createBooleanValueAdapter();
}
@Override
public Adapter caseIntegerValue(IntegerValue object) {
return createIntegerValueAdapter();
}
@Override
public Adapter caseExpression(Expression object) {
return createExpressionAdapter();
}
@Override
public Adapter caseIntegerExpression(IntegerExpression object) {
return createIntegerExpressionAdapter();
}
@Override
public Adapter caseBooleanExpression(BooleanExpression object) {
return createBooleanExpressionAdapter();
}
@Override
public Adapter caseIntegerCalculationExpression(IntegerCalculationExpression object) {
return createIntegerCalculationExpressionAdapter();
}
@Override
public Adapter caseIntegerComparisonExpression(IntegerComparisonExpression object) {
return createIntegerComparisonExpressionAdapter();
}
@Override
public Adapter caseBooleanUnaryExpression(BooleanUnaryExpression object) {
return createBooleanUnaryExpressionAdapter();
}
@Override
public Adapter caseBooleanBinaryExpression(BooleanBinaryExpression object) {
return createBooleanBinaryExpressionAdapter();
}
@Override
public Adapter caseInputValue(InputValue object) {
return createInputValueAdapter();
}
@Override
public Adapter caseInput(Input object) {
return createInputAdapter();
}
@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 activitydiagram.Activity <em>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 activitydiagram.Activity
* @generated
*/
public Adapter createActivityAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ActivityNode <em>Activity 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 activitydiagram.ActivityNode
* @generated
*/
public Adapter createActivityNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ActivityEdge <em>Activity Edge</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 activitydiagram.ActivityEdge
* @generated
*/
public Adapter createActivityEdgeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ControlFlow <em>Control Flow</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 activitydiagram.ControlFlow
* @generated
*/
public Adapter createControlFlowAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ControlNode <em>Control 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 activitydiagram.ControlNode
* @generated
*/
public Adapter createControlNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ExecutableNode <em>Executable 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 activitydiagram.ExecutableNode
* @generated
*/
public Adapter createExecutableNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.Action <em>Action</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 activitydiagram.Action
* @generated
*/
public Adapter createActionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.OpaqueAction <em>Opaque Action</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 activitydiagram.OpaqueAction
* @generated
*/
public Adapter createOpaqueActionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.NamedElement <em>Named Element</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 activitydiagram.NamedElement
* @generated
*/
public Adapter createNamedElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.InitialNode <em>Initial 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 activitydiagram.InitialNode
* @generated
*/
public Adapter createInitialNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.FinalNode <em>Final 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 activitydiagram.FinalNode
* @generated
*/
public Adapter createFinalNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ActivityFinalNode <em>Activity Final 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 activitydiagram.ActivityFinalNode
* @generated
*/
public Adapter createActivityFinalNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.ForkNode <em>Fork 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 activitydiagram.ForkNode
* @generated
*/
public Adapter createForkNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.JoinNode <em>Join 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 activitydiagram.JoinNode
* @generated
*/
public Adapter createJoinNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.MergeNode <em>Merge 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 activitydiagram.MergeNode
* @generated
*/
public Adapter createMergeNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.DecisionNode <em>Decision 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 activitydiagram.DecisionNode
* @generated
*/
public Adapter createDecisionNodeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.Variable <em>Variable</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 activitydiagram.Variable
* @generated
*/
public Adapter createVariableAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.IntegerVariable <em>Integer Variable</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 activitydiagram.IntegerVariable
* @generated
*/
public Adapter createIntegerVariableAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.BooleanVariable <em>Boolean Variable</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 activitydiagram.BooleanVariable
* @generated
*/
public Adapter createBooleanVariableAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.Value <em>Value</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 activitydiagram.Value
* @generated
*/
public Adapter createValueAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.BooleanValue <em>Boolean Value</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 activitydiagram.BooleanValue
* @generated
*/
public Adapter createBooleanValueAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.IntegerValue <em>Integer Value</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 activitydiagram.IntegerValue
* @generated
*/
public Adapter createIntegerValueAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.Expression <em>Expression</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 activitydiagram.Expression
* @generated
*/
public Adapter createExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.IntegerExpression <em>Integer Expression</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 activitydiagram.IntegerExpression
* @generated
*/
public Adapter createIntegerExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.BooleanExpression <em>Boolean Expression</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 activitydiagram.BooleanExpression
* @generated
*/
public Adapter createBooleanExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.IntegerCalculationExpression <em>Integer Calculation Expression</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 activitydiagram.IntegerCalculationExpression
* @generated
*/
public Adapter createIntegerCalculationExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.IntegerComparisonExpression <em>Integer Comparison Expression</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 activitydiagram.IntegerComparisonExpression
* @generated
*/
public Adapter createIntegerComparisonExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.BooleanUnaryExpression <em>Boolean Unary Expression</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 activitydiagram.BooleanUnaryExpression
* @generated
*/
public Adapter createBooleanUnaryExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.BooleanBinaryExpression <em>Boolean Binary Expression</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 activitydiagram.BooleanBinaryExpression
* @generated
*/
public Adapter createBooleanBinaryExpressionAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.InputValue <em>Input Value</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 activitydiagram.InputValue
* @generated
*/
public Adapter createInputValueAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link activitydiagram.Input <em>Input</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 activitydiagram.Input
* @generated
*/
public Adapter createInputAdapter() {
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;
}
} //ActivitydiagramAdapterFactory