/**
*/
package activitydiagram.util;
import activitydiagram.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
* to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
* @see activitydiagram.ActivitydiagramPackage
* @generated
*/
public class ActivitydiagramSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static ActivitydiagramPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ActivitydiagramSwitch() {
if (modelPackage == null) {
modelPackage = ActivitydiagramPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@Override
protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case ActivitydiagramPackage.ACTIVITY: {
Activity activity = (Activity)theEObject;
T result = caseActivity(activity);
if (result == null) result = caseNamedElement(activity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.ACTIVITY_NODE: {
ActivityNode activityNode = (ActivityNode)theEObject;
T result = caseActivityNode(activityNode);
if (result == null) result = caseNamedElement(activityNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.ACTIVITY_EDGE: {
ActivityEdge activityEdge = (ActivityEdge)theEObject;
T result = caseActivityEdge(activityEdge);
if (result == null) result = caseNamedElement(activityEdge);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.CONTROL_FLOW: {
ControlFlow controlFlow = (ControlFlow)theEObject;
T result = caseControlFlow(controlFlow);
if (result == null) result = caseActivityEdge(controlFlow);
if (result == null) result = caseNamedElement(controlFlow);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.CONTROL_NODE: {
ControlNode controlNode = (ControlNode)theEObject;
T result = caseControlNode(controlNode);
if (result == null) result = caseActivityNode(controlNode);
if (result == null) result = caseNamedElement(controlNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.EXECUTABLE_NODE: {
ExecutableNode executableNode = (ExecutableNode)theEObject;
T result = caseExecutableNode(executableNode);
if (result == null) result = caseActivityNode(executableNode);
if (result == null) result = caseNamedElement(executableNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.ACTION: {
Action action = (Action)theEObject;
T result = caseAction(action);
if (result == null) result = caseExecutableNode(action);
if (result == null) result = caseActivityNode(action);
if (result == null) result = caseNamedElement(action);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.OPAQUE_ACTION: {
OpaqueAction opaqueAction = (OpaqueAction)theEObject;
T result = caseOpaqueAction(opaqueAction);
if (result == null) result = caseAction(opaqueAction);
if (result == null) result = caseExecutableNode(opaqueAction);
if (result == null) result = caseActivityNode(opaqueAction);
if (result == null) result = caseNamedElement(opaqueAction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.NAMED_ELEMENT: {
NamedElement namedElement = (NamedElement)theEObject;
T result = caseNamedElement(namedElement);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INITIAL_NODE: {
InitialNode initialNode = (InitialNode)theEObject;
T result = caseInitialNode(initialNode);
if (result == null) result = caseControlNode(initialNode);
if (result == null) result = caseActivityNode(initialNode);
if (result == null) result = caseNamedElement(initialNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.FINAL_NODE: {
FinalNode finalNode = (FinalNode)theEObject;
T result = caseFinalNode(finalNode);
if (result == null) result = caseControlNode(finalNode);
if (result == null) result = caseActivityNode(finalNode);
if (result == null) result = caseNamedElement(finalNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.ACTIVITY_FINAL_NODE: {
ActivityFinalNode activityFinalNode = (ActivityFinalNode)theEObject;
T result = caseActivityFinalNode(activityFinalNode);
if (result == null) result = caseFinalNode(activityFinalNode);
if (result == null) result = caseControlNode(activityFinalNode);
if (result == null) result = caseActivityNode(activityFinalNode);
if (result == null) result = caseNamedElement(activityFinalNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.FORK_NODE: {
ForkNode forkNode = (ForkNode)theEObject;
T result = caseForkNode(forkNode);
if (result == null) result = caseControlNode(forkNode);
if (result == null) result = caseActivityNode(forkNode);
if (result == null) result = caseNamedElement(forkNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.JOIN_NODE: {
JoinNode joinNode = (JoinNode)theEObject;
T result = caseJoinNode(joinNode);
if (result == null) result = caseControlNode(joinNode);
if (result == null) result = caseActivityNode(joinNode);
if (result == null) result = caseNamedElement(joinNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.MERGE_NODE: {
MergeNode mergeNode = (MergeNode)theEObject;
T result = caseMergeNode(mergeNode);
if (result == null) result = caseControlNode(mergeNode);
if (result == null) result = caseActivityNode(mergeNode);
if (result == null) result = caseNamedElement(mergeNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.DECISION_NODE: {
DecisionNode decisionNode = (DecisionNode)theEObject;
T result = caseDecisionNode(decisionNode);
if (result == null) result = caseControlNode(decisionNode);
if (result == null) result = caseActivityNode(decisionNode);
if (result == null) result = caseNamedElement(decisionNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.VARIABLE: {
Variable variable = (Variable)theEObject;
T result = caseVariable(variable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INTEGER_VARIABLE: {
IntegerVariable integerVariable = (IntegerVariable)theEObject;
T result = caseIntegerVariable(integerVariable);
if (result == null) result = caseVariable(integerVariable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.BOOLEAN_VARIABLE: {
BooleanVariable booleanVariable = (BooleanVariable)theEObject;
T result = caseBooleanVariable(booleanVariable);
if (result == null) result = caseVariable(booleanVariable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.VALUE: {
Value value = (Value)theEObject;
T result = caseValue(value);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.BOOLEAN_VALUE: {
BooleanValue booleanValue = (BooleanValue)theEObject;
T result = caseBooleanValue(booleanValue);
if (result == null) result = caseValue(booleanValue);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INTEGER_VALUE: {
IntegerValue integerValue = (IntegerValue)theEObject;
T result = caseIntegerValue(integerValue);
if (result == null) result = caseValue(integerValue);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.EXPRESSION: {
Expression expression = (Expression)theEObject;
T result = caseExpression(expression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INTEGER_EXPRESSION: {
IntegerExpression integerExpression = (IntegerExpression)theEObject;
T result = caseIntegerExpression(integerExpression);
if (result == null) result = caseExpression(integerExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.BOOLEAN_EXPRESSION: {
BooleanExpression booleanExpression = (BooleanExpression)theEObject;
T result = caseBooleanExpression(booleanExpression);
if (result == null) result = caseExpression(booleanExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INTEGER_CALCULATION_EXPRESSION: {
IntegerCalculationExpression integerCalculationExpression = (IntegerCalculationExpression)theEObject;
T result = caseIntegerCalculationExpression(integerCalculationExpression);
if (result == null) result = caseIntegerExpression(integerCalculationExpression);
if (result == null) result = caseExpression(integerCalculationExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INTEGER_COMPARISON_EXPRESSION: {
IntegerComparisonExpression integerComparisonExpression = (IntegerComparisonExpression)theEObject;
T result = caseIntegerComparisonExpression(integerComparisonExpression);
if (result == null) result = caseIntegerExpression(integerComparisonExpression);
if (result == null) result = caseExpression(integerComparisonExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.BOOLEAN_UNARY_EXPRESSION: {
BooleanUnaryExpression booleanUnaryExpression = (BooleanUnaryExpression)theEObject;
T result = caseBooleanUnaryExpression(booleanUnaryExpression);
if (result == null) result = caseBooleanExpression(booleanUnaryExpression);
if (result == null) result = caseExpression(booleanUnaryExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.BOOLEAN_BINARY_EXPRESSION: {
BooleanBinaryExpression booleanBinaryExpression = (BooleanBinaryExpression)theEObject;
T result = caseBooleanBinaryExpression(booleanBinaryExpression);
if (result == null) result = caseBooleanExpression(booleanBinaryExpression);
if (result == null) result = caseExpression(booleanBinaryExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INPUT_VALUE: {
InputValue inputValue = (InputValue)theEObject;
T result = caseInputValue(inputValue);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ActivitydiagramPackage.INPUT: {
Input input = (Input)theEObject;
T result = caseInput(input);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivity(Activity object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityNode(ActivityNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Edge</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Edge</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityEdge(ActivityEdge object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Control Flow</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Control Flow</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseControlFlow(ControlFlow object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Control Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Control Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseControlNode(ControlNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Executable Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Executable Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExecutableNode(ExecutableNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Action</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Action</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAction(Action object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Opaque Action</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Opaque Action</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOpaqueAction(OpaqueAction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedElement(NamedElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Initial Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Initial Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInitialNode(InitialNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Final Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Final Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFinalNode(FinalNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Activity Final Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Activity Final Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseActivityFinalNode(ActivityFinalNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Fork Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Fork Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseForkNode(ForkNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Join Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Join Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseJoinNode(JoinNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Merge Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Merge Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMergeNode(MergeNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Decision Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Decision Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDecisionNode(DecisionNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVariable(Variable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Integer Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Integer Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntegerVariable(IntegerVariable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Boolean Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanVariable(BooleanVariable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Value</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseValue(Value object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanValue(BooleanValue object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Integer Value</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Integer Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntegerValue(IntegerValue object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExpression(Expression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Integer Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Integer Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntegerExpression(IntegerExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Boolean Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanExpression(BooleanExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Integer Calculation Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Integer Calculation Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntegerCalculationExpression(IntegerCalculationExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Integer Comparison Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Integer Comparison Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntegerComparisonExpression(IntegerComparisonExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Unary Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Boolean Unary Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanUnaryExpression(BooleanUnaryExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Binary Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Boolean Binary Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanBinaryExpression(BooleanBinaryExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Input Value</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Input Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInputValue(InputValue object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Input</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Input</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInput(Input object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //ActivitydiagramSwitch