/**
* <copyright>
* </copyright>
*
* $Id$
*/
package no.hal.scxml.scxmlxt.util;
import java.util.List;
import no.hal.scxml.scxmlxt.*;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- 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 no.hal.scxml.scxmlxt.ScxmlxtPackage
* @generated
*/
public class ScxmlxtSwitch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static ScxmlxtPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ScxmlxtSwitch() {
if (modelPackage == null) {
modelPackage = ScxmlxtPackage.eINSTANCE;
}
}
/**
* 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
*/
public T doSwitch(EObject theEObject) {
return doSwitch(theEObject.eClass(), theEObject);
}
/**
* 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
*/
protected T doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
return doSwitch(theEClass.getClassifierID(), theEObject);
}
else {
List<EClass> eSuperTypes = theEClass.getESuperTypes();
return
eSuperTypes.isEmpty() ?
defaultCase(theEObject) :
doSwitch(eSuperTypes.get(0), theEObject);
}
}
/**
* 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
*/
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case ScxmlxtPackage.STATE_MACHINE: {
StateMachine stateMachine = (StateMachine)theEObject;
T result = caseStateMachine(stateMachine);
if (result == null) result = caseAbstractState(stateMachine);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.STATE: {
State state = (State)theEObject;
T result = caseState(state);
if (result == null) result = caseAbstractState(state);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.INITIAL_TRANSITION: {
InitialTransition initialTransition = (InitialTransition)theEObject;
T result = caseInitialTransition(initialTransition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ABSTRACT_STATE: {
AbstractState abstractState = (AbstractState)theEObject;
T result = caseAbstractState(abstractState);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ABSTRACT_TRANSITION: {
AbstractTransition abstractTransition = (AbstractTransition)theEObject;
T result = caseAbstractTransition(abstractTransition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.TRANSITION: {
Transition transition = (Transition)theEObject;
T result = caseTransition(transition);
if (result == null) result = caseAbstractTransition(transition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.INTERNAL_TRANSITION: {
InternalTransition internalTransition = (InternalTransition)theEObject;
T result = caseInternalTransition(internalTransition);
if (result == null) result = caseAbstractTransition(internalTransition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EVENT: {
Event event = (Event)theEObject;
T result = caseEvent(event);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.SYMBOLIC_EVENT: {
SymbolicEvent symbolicEvent = (SymbolicEvent)theEObject;
T result = caseSymbolicEvent(symbolicEvent);
if (result == null) result = caseEvent(symbolicEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ABSTRACT_TRANSITION_EVENT: {
AbstractTransitionEvent abstractTransitionEvent = (AbstractTransitionEvent)theEObject;
T result = caseAbstractTransitionEvent(abstractTransitionEvent);
if (result == null) result = caseEvent(abstractTransitionEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.TRANSITION_EVENT: {
TransitionEvent transitionEvent = (TransitionEvent)theEObject;
T result = caseTransitionEvent(transitionEvent);
if (result == null) result = caseAbstractTransitionEvent(transitionEvent);
if (result == null) result = caseEvent(transitionEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ENTER_EVENT: {
EnterEvent enterEvent = (EnterEvent)theEObject;
T result = caseEnterEvent(enterEvent);
if (result == null) result = caseAbstractTransitionEvent(enterEvent);
if (result == null) result = caseEvent(enterEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EXIT_EVENT: {
ExitEvent exitEvent = (ExitEvent)theEObject;
T result = caseExitEvent(exitEvent);
if (result == null) result = caseAbstractTransitionEvent(exitEvent);
if (result == null) result = caseEvent(exitEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.SCRIPT_EVENT: {
ScriptEvent scriptEvent = (ScriptEvent)theEObject;
T result = caseScriptEvent(scriptEvent);
if (result == null) result = caseEvent(scriptEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.TIMER_EVENT: {
TimerEvent timerEvent = (TimerEvent)theEObject;
T result = caseTimerEvent(timerEvent);
if (result == null) result = caseEvent(timerEvent);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.CONDITION: {
Condition condition = (Condition)theEObject;
T result = caseCondition(condition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ACTION: {
Action action = (Action)theEObject;
T result = caseAction(action);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.SYMBOLIC_ACTION: {
SymbolicAction symbolicAction = (SymbolicAction)theEObject;
T result = caseSymbolicAction(symbolicAction);
if (result == null) result = caseAction(symbolicAction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.SCRIPT_ACTION: {
ScriptAction scriptAction = (ScriptAction)theEObject;
T result = caseScriptAction(scriptAction);
if (result == null) result = caseAction(scriptAction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.TYPED: {
Typed typed = (Typed)theEObject;
T result = caseTyped(typed);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.VAR_DEF: {
VarDef varDef = (VarDef)theEObject;
T result = caseVarDef(varDef);
if (result == null) result = caseTyped(varDef);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ASSIGNMENT_ACTION: {
AssignmentAction assignmentAction = (AssignmentAction)theEObject;
T result = caseAssignmentAction(assignmentAction);
if (result == null) result = caseAction(assignmentAction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EXPRESSION: {
Expression expression = (Expression)theEObject;
T result = caseExpression(expression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.VAR_REF: {
VarRef varRef = (VarRef)theEObject;
T result = caseVarRef(varRef);
if (result == null) result = caseExpression(varRef);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EPATH: {
EPath ePath = (EPath)theEObject;
T result = caseEPath(ePath);
if (result == null) result = caseExpression(ePath);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ESTEP: {
EStep eStep = (EStep)theEObject;
T result = caseEStep(eStep);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ESTEP_FILTER: {
EStepFilter eStepFilter = (EStepFilter)theEObject;
T result = caseEStepFilter(eStepFilter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.LITERAL: {
Literal literal = (Literal)theEObject;
T result = caseLiteral(literal);
if (result == null) result = caseExpression(literal);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.BOOLEAN_LITERAL: {
BooleanLiteral booleanLiteral = (BooleanLiteral)theEObject;
T result = caseBooleanLiteral(booleanLiteral);
if (result == null) result = caseLiteral(booleanLiteral);
if (result == null) result = caseExpression(booleanLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.INT_LITERAL: {
IntLiteral intLiteral = (IntLiteral)theEObject;
T result = caseIntLiteral(intLiteral);
if (result == null) result = caseLiteral(intLiteral);
if (result == null) result = caseExpression(intLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.FLOAT_LITERAL: {
FloatLiteral floatLiteral = (FloatLiteral)theEObject;
T result = caseFloatLiteral(floatLiteral);
if (result == null) result = caseLiteral(floatLiteral);
if (result == null) result = caseExpression(floatLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.STRING_LITERAL: {
StringLiteral stringLiteral = (StringLiteral)theEObject;
T result = caseStringLiteral(stringLiteral);
if (result == null) result = caseLiteral(stringLiteral);
if (result == null) result = caseExpression(stringLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.SCRIPT_EXPRESSION: {
ScriptExpression scriptExpression = (ScriptExpression)theEObject;
T result = caseScriptExpression(scriptExpression);
if (result == null) result = caseExpression(scriptExpression);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.ABSTRACT_URI_LITERAL: {
AbstractUriLiteral abstractUriLiteral = (AbstractUriLiteral)theEObject;
T result = caseAbstractUriLiteral(abstractUriLiteral);
if (result == null) result = caseLiteral(abstractUriLiteral);
if (result == null) result = caseExpression(abstractUriLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.URI_LITERAL: {
UriLiteral uriLiteral = (UriLiteral)theEObject;
T result = caseUriLiteral(uriLiteral);
if (result == null) result = caseAbstractUriLiteral(uriLiteral);
if (result == null) result = caseLiteral(uriLiteral);
if (result == null) result = caseExpression(uriLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.RESOURCE_URI_LITERAL: {
ResourceUriLiteral resourceUriLiteral = (ResourceUriLiteral)theEObject;
T result = caseResourceUriLiteral(resourceUriLiteral);
if (result == null) result = caseAbstractUriLiteral(resourceUriLiteral);
if (result == null) result = caseLiteral(resourceUriLiteral);
if (result == null) result = caseExpression(resourceUriLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EOBJECT_URI_LITERAL: {
EObjectUriLiteral eObjectUriLiteral = (EObjectUriLiteral)theEObject;
T result = caseEObjectUriLiteral(eObjectUriLiteral);
if (result == null) result = caseResourceUriLiteral(eObjectUriLiteral);
if (result == null) result = caseAbstractUriLiteral(eObjectUriLiteral);
if (result == null) result = caseLiteral(eObjectUriLiteral);
if (result == null) result = caseExpression(eObjectUriLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.EOBJECT_REFERENCE: {
EObjectReference eObjectReference = (EObjectReference)theEObject;
T result = caseEObjectReference(eObjectReference);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.DELAY_LITERAL: {
DelayLiteral delayLiteral = (DelayLiteral)theEObject;
T result = caseDelayLiteral(delayLiteral);
if (result == null) result = caseIntLiteral(delayLiteral);
if (result == null) result = caseLiteral(delayLiteral);
if (result == null) result = caseExpression(delayLiteral);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.RESOURCE_IMPORT: {
ResourceImport resourceImport = (ResourceImport)theEObject;
T result = caseResourceImport(resourceImport);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.DOMAIN_MODEL_IMPORT: {
DomainModelImport domainModelImport = (DomainModelImport)theEObject;
T result = caseDomainModelImport(domainModelImport);
if (result == null) result = caseResourceImport(domainModelImport);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ScxmlxtPackage.DOMAIN_DATA_IMPORT: {
DomainDataImport domainDataImport = (DomainDataImport)theEObject;
T result = caseDomainDataImport(domainDataImport);
if (result == null) result = caseResourceImport(domainDataImport);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>State Machine</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>State Machine</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStateMachine(StateMachine object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>State</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>State</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseState(State object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Initial Transition</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 Transition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInitialTransition(InitialTransition object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract State</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>Abstract State</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractState(AbstractState object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Transition</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>Abstract Transition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractTransition(AbstractTransition object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transition</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>Transition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransition(Transition object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Internal Transition</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>Internal Transition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInternalTransition(InternalTransition object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Event</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>Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEvent(Event object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Symbolic Event</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>Symbolic Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSymbolicEvent(SymbolicEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Transition Event</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>Abstract Transition Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractTransitionEvent(AbstractTransitionEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transition Event</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>Transition Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransitionEvent(TransitionEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Enter Event</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>Enter Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnterEvent(EnterEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Exit Event</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>Exit Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExitEvent(ExitEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Script Event</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>Script Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseScriptEvent(ScriptEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Timer Event</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>Timer Event</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTimerEvent(TimerEvent object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Condition</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>Condition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCondition(Condition 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>Symbolic 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>Symbolic Action</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSymbolicAction(SymbolicAction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Script 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>Script Action</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseScriptAction(ScriptAction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Typed</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>Typed</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTyped(Typed object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Var Def</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>Var Def</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVarDef(VarDef object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Assignment 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>Assignment Action</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAssignmentAction(AssignmentAction 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>Var Ref</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>Var Ref</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVarRef(VarRef object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EPath</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>EPath</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEPath(EPath object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EStep</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>EStep</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEStep(EStep object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EStep Filter</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>EStep Filter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEStepFilter(EStepFilter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Literal</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>Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLiteral(Literal object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Boolean Literal</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 Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBooleanLiteral(BooleanLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Int Literal</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>Int Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIntLiteral(IntLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Float Literal</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>Float Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFloatLiteral(FloatLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>String Literal</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>String Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStringLiteral(StringLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Script 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>Script Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseScriptExpression(ScriptExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Uri Literal</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>Uri Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUriLiteral(UriLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject Uri Literal</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>EObject Uri Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEObjectUriLiteral(EObjectUriLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject Reference</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>EObject Reference</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEObjectReference(EObjectReference object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Delay Literal</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>Delay Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDelayLiteral(DelayLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Resource Import</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>Resource Import</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResourceImport(ResourceImport object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Domain Model Import</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>Domain Model Import</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDomainModelImport(DomainModelImport object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Domain Data Import</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>Domain Data Import</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDomainDataImport(DomainDataImport object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Resource Uri Literal</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>Resource Uri Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResourceUriLiteral(ResourceUriLiteral object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Uri Literal</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>Abstract Uri Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractUriLiteral(AbstractUriLiteral 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
*/
public T defaultCase(EObject object) {
return null;
}
} //ScxmlxtSwitch