public class SofiaSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
doSwitch(object)
to invoke the caseXXX 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.
SofiaPackage| Modifier and Type | Field and Description |
|---|---|
protected static SofiaPackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
SofiaSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAnd(And object)
Returns the result of interpreting the object as an instance of 'And'.
|
T |
caseAtomicStep(AtomicStep object)
Returns the result of interpreting the object as an instance of 'Atomic Step'.
|
T |
caseBooleanType(BooleanType object)
Returns the result of interpreting the object as an instance of 'Boolean Type'.
|
T |
caseCollectionType(CollectionType object)
Returns the result of interpreting the object as an instance of 'Collection Type'.
|
T |
caseComplexType(ComplexType object)
Returns the result of interpreting the object as an instance of 'Complex Type'.
|
T |
caseCompositeStep(CompositeStep object)
Returns the result of interpreting the object as an instance of 'Composite Step'.
|
T |
caseCondition(Condition object)
Returns the result of interpreting the object as an instance of 'Condition'.
|
T |
caseControlPort(ControlPort object)
Returns the result of interpreting the object as an instance of 'Control Port'.
|
T |
caseCpsStep(CpsStep object)
Returns the result of interpreting the object as an instance of 'Cps Step'.
|
T |
caseDataDuplicationStep(DataDuplicationStep object)
Returns the result of interpreting the object as an instance of 'Data Duplication Step'.
|
T |
caseDataMapping(DataMapping object)
Returns the result of interpreting the object as an instance of 'Data Mapping'.
|
T |
caseDataMappingStep(DataMappingStep object)
Returns the result of interpreting the object as an instance of 'Data Mapping Step'.
|
T |
caseDataPort(DataPort object)
Returns the result of interpreting the object as an instance of 'Data Port'.
|
T |
caseDataType(DataType object)
Returns the result of interpreting the object as an instance of 'Data Type'.
|
T |
caseDoubleType(DoubleType object)
Returns the result of interpreting the object as an instance of 'Double Type'.
|
T |
caseEndControlPort(EndControlPort object)
Returns the result of interpreting the object as an instance of 'End Control Port'.
|
T |
caseEndDataPort(EndDataPort object)
Returns the result of interpreting the object as an instance of 'End Data Port'.
|
T |
caseEndDataPortToStartDataPortMap(Map.Entry<EndDataPort,StartDataPort> object)
Returns the result of interpreting the object as an instance of 'End Data Port To Start Data Port Map'.
|
T |
caseEndPort(EndPort object)
Returns the result of interpreting the object as an instance of 'End Port'.
|
T |
caseEscalationPort(EscalationPort object)
Returns the result of interpreting the object as an instance of 'Escalation Port'.
|
T |
caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'.
|
T |
caseFalseTransition(FalseTransition object)
Returns the result of interpreting the object as an instance of 'False Transition'.
|
T |
caseForLoop(ForLoop object)
Returns the result of interpreting the object as an instance of 'For Loop'.
|
T |
caseGoalInvoke(GoalInvoke object)
Returns the result of interpreting the object as an instance of 'Goal Invoke'.
|
T |
caseHumanTask(HumanTask object)
Returns the result of interpreting the object as an instance of 'Human Task'.
|
T |
caseIdentifiable(Identifiable object)
Returns the result of interpreting the object as an instance of 'Identifiable'.
|
T |
caseIf(If object)
Returns the result of interpreting the object as an instance of 'If'.
|
T |
caseIntegerType(IntegerType object)
Returns the result of interpreting the object as an instance of 'Integer Type'.
|
T |
caseInvoke(Invoke object)
Returns the result of interpreting the object as an instance of 'Invoke'.
|
T |
caseListType(ListType object)
Returns the result of interpreting the object as an instance of 'List Type'.
|
T |
caseLoadClassStep(LoadClassStep object)
Returns the result of interpreting the object as an instance of 'Load Class Step'.
|
T |
caseLoop(Loop object)
Returns the result of interpreting the object as an instance of 'Loop'.
|
T |
caseMapeK(MapeK object)
Returns the result of interpreting the object as an instance of 'Mape K'.
|
T |
caseNameable(Nameable object)
Returns the result of interpreting the object as an instance of 'Nameable'.
|
T |
caseNumericType(NumericType object)
Returns the result of interpreting the object as an instance of 'Numeric Type'.
|
T |
caseOpenHabSemanticAskInvoke(OpenHabSemanticAskInvoke object)
Returns the result of interpreting the object as an instance of 'Open Hab Semantic Ask Invoke'.
|
T |
caseOpenHabSemanticCommandInvoke(OpenHabSemanticCommandInvoke object)
Returns the result of interpreting the object as an instance of 'Open Hab Semantic Command Invoke'.
|
T |
caseOpenHabSemanticInvoke(OpenHabSemanticInvoke object)
Returns the result of interpreting the object as an instance of 'Open Hab Semantic Invoke'.
|
T |
caseOpenHabSemanticSelectInvoke(OpenHabSemanticSelectInvoke object)
Returns the result of interpreting the object as an instance of 'Open Hab Semantic Select Invoke'.
|
T |
caseOr(Or object)
Returns the result of interpreting the object as an instance of 'Or'.
|
T |
caseOSGiInvoke(OSGiInvoke object)
Returns the result of interpreting the object as an instance of 'OS Gi Invoke'.
|
T |
casePort(Port object)
Returns the result of interpreting the object as an instance of 'Port'.
|
T |
caseProcess(Process object)
Returns the result of interpreting the object as an instance of 'Process'.
|
T |
caseProcessSlot(ProcessSlot object)
Returns the result of interpreting the object as an instance of 'Process Slot'.
|
T |
caseProcessStep(ProcessStep object)
Returns the result of interpreting the object as an instance of 'Process Step'.
|
T |
casePublishMessage(PublishMessage object)
Returns the result of interpreting the object as an instance of 'Publish Message'.
|
T |
casePublishROSMessage(PublishROSMessage object)
Returns the result of interpreting the object as an instance of 'Publish ROS Message'.
|
T |
caseRepeatLoop(RepeatLoop object)
Returns the result of interpreting the object as an instance of 'Repeat Loop'.
|
T |
caseRESTInvoke(RESTInvoke object)
Returns the result of interpreting the object as an instance of 'REST Invoke'.
|
T |
caseROSInvoke(ROSInvoke object)
Returns the result of interpreting the object as an instance of 'ROS Invoke'.
|
T |
caseSeMiWaInvoke(SeMiWaInvoke object)
Returns the result of interpreting the object as an instance of 'Se Mi Wa Invoke'.
|
T |
caseSeMiWaRequest(SeMiWaRequest object)
Returns the result of interpreting the object as an instance of 'Se Mi Wa Request'.
|
T |
caseSetType(SetType object)
Returns the result of interpreting the object as an instance of 'Set Type'.
|
T |
caseSimpleType(SimpleType object)
Returns the result of interpreting the object as an instance of 'Simple Type'.
|
T |
caseSOAPInvoke(SOAPInvoke object)
Returns the result of interpreting the object as an instance of 'SOAP Invoke'.
|
T |
caseStartControlPort(StartControlPort object)
Returns the result of interpreting the object as an instance of 'Start Control Port'.
|
T |
caseStartDataPort(StartDataPort object)
Returns the result of interpreting the object as an instance of 'Start Data Port'.
|
T |
caseStartPort(StartPort object)
Returns the result of interpreting the object as an instance of 'Start Port'.
|
T |
caseStringType(StringType object)
Returns the result of interpreting the object as an instance of 'String Type'.
|
T |
caseTransition(Transition object)
Returns the result of interpreting the object as an instance of 'Transition'.
|
T |
caseTriggeredEvent(TriggeredEvent object)
Returns the result of interpreting the object as an instance of 'Triggered Event'.
|
T |
caseTrueTransition(TrueTransition object)
Returns the result of interpreting the object as an instance of 'True Transition'.
|
T |
caseWhileLoop(WhileLoop object)
Returns the result of interpreting the object as an instance of 'While Loop'.
|
T |
caseXMLRPCInvoke(XMLRPCInvoke object)
Returns the result of interpreting the object as an instance of 'XMLRPC Invoke'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static SofiaPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>ePackage - the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>caseXXX call.public T caseTransition(Transition object)
object - the target of the switch.doSwitch(EObject)public T caseIf(If object)
object - the target of the switch.doSwitch(EObject)public T caseOr(Or object)
object - the target of the switch.doSwitch(EObject)public T caseInvoke(Invoke object)
object - the target of the switch.doSwitch(EObject)public T caseEvent(Event object)
object - the target of the switch.doSwitch(EObject)public T caseProcess(Process object)
object - the target of the switch.doSwitch(EObject)public T casePort(Port object)
object - the target of the switch.doSwitch(EObject)public T caseDataPort(DataPort object)
object - the target of the switch.doSwitch(EObject)public T caseControlPort(ControlPort object)
object - the target of the switch.doSwitch(EObject)public T caseProcessStep(ProcessStep object)
object - the target of the switch.doSwitch(EObject)public T caseComplexType(ComplexType object)
object - the target of the switch.doSwitch(EObject)public T caseCondition(Condition object)
object - the target of the switch.doSwitch(EObject)public T caseAtomicStep(AtomicStep object)
object - the target of the switch.doSwitch(EObject)public T caseCompositeStep(CompositeStep object)
object - the target of the switch.doSwitch(EObject)public T caseDataType(DataType object)
object - the target of the switch.doSwitch(EObject)public T caseSimpleType(SimpleType object)
object - the target of the switch.doSwitch(EObject)public T caseStringType(StringType object)
object - the target of the switch.doSwitch(EObject)public T caseNumericType(NumericType object)
object - the target of the switch.doSwitch(EObject)public T caseBooleanType(BooleanType object)
object - the target of the switch.doSwitch(EObject)public T caseIntegerType(IntegerType object)
object - the target of the switch.doSwitch(EObject)public T caseDoubleType(DoubleType object)
object - the target of the switch.doSwitch(EObject)public T caseLoop(Loop object)
object - the target of the switch.doSwitch(EObject)public T caseRepeatLoop(RepeatLoop object)
object - the target of the switch.doSwitch(EObject)public T caseWhileLoop(WhileLoop object)
object - the target of the switch.doSwitch(EObject)public T caseForLoop(ForLoop object)
object - the target of the switch.doSwitch(EObject)public T caseProcessSlot(ProcessSlot object)
object - the target of the switch.doSwitch(EObject)public T caseDataMappingStep(DataMappingStep object)
object - the target of the switch.doSwitch(EObject)public T caseStartControlPort(StartControlPort object)
object - the target of the switch.doSwitch(EObject)public T caseEndControlPort(EndControlPort object)
object - the target of the switch.doSwitch(EObject)public T caseStartDataPort(StartDataPort object)
object - the target of the switch.doSwitch(EObject)public T caseEndDataPort(EndDataPort object)
object - the target of the switch.doSwitch(EObject)public T caseStartPort(StartPort object)
object - the target of the switch.doSwitch(EObject)public T caseEndPort(EndPort object)
object - the target of the switch.doSwitch(EObject)public T caseIdentifiable(Identifiable object)
object - the target of the switch.doSwitch(EObject)public T caseNameable(Nameable object)
object - the target of the switch.doSwitch(EObject)public T caseTriggeredEvent(TriggeredEvent object)
object - the target of the switch.doSwitch(EObject)public T caseTrueTransition(TrueTransition object)
object - the target of the switch.doSwitch(EObject)public T caseFalseTransition(FalseTransition object)
object - the target of the switch.doSwitch(EObject)public T caseSOAPInvoke(SOAPInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseXMLRPCInvoke(XMLRPCInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseLoadClassStep(LoadClassStep object)
object - the target of the switch.doSwitch(EObject)public T caseSeMiWaInvoke(SeMiWaInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseRESTInvoke(RESTInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseOSGiInvoke(OSGiInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseSeMiWaRequest(SeMiWaRequest object)
object - the target of the switch.doSwitch(EObject)public T caseDataMapping(DataMapping object)
object - the target of the switch.doSwitch(EObject)public T caseDataDuplicationStep(DataDuplicationStep object)
object - the target of the switch.doSwitch(EObject)public T caseROSInvoke(ROSInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseAnd(And object)
object - the target of the switch.doSwitch(EObject)public T caseCollectionType(CollectionType object)
object - the target of the switch.doSwitch(EObject)public T caseListType(ListType object)
object - the target of the switch.doSwitch(EObject)public T caseSetType(SetType object)
object - the target of the switch.doSwitch(EObject)public T casePublishMessage(PublishMessage object)
object - the target of the switch.doSwitch(EObject)public T casePublishROSMessage(PublishROSMessage object)
object - the target of the switch.doSwitch(EObject)public T caseHumanTask(HumanTask object)
object - the target of the switch.doSwitch(EObject)public T caseEscalationPort(EscalationPort object)
object - the target of the switch.doSwitch(EObject)public T caseEndDataPortToStartDataPortMap(Map.Entry<EndDataPort,StartDataPort> object)
object - the target of the switch.doSwitch(EObject)public T caseOpenHabSemanticInvoke(OpenHabSemanticInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseOpenHabSemanticSelectInvoke(OpenHabSemanticSelectInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseOpenHabSemanticAskInvoke(OpenHabSemanticAskInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseOpenHabSemanticCommandInvoke(OpenHabSemanticCommandInvoke object)
object - the target of the switch.doSwitch(EObject)public T caseCpsStep(CpsStep object)
object - the target of the switch.doSwitch(EObject)public T caseMapeK(MapeK object)
object - the target of the switch.doSwitch(EObject)public T caseGoalInvoke(GoalInvoke object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase in class org.eclipse.emf.ecore.util.Switch<T>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)Copyright © 2018. All rights reserved.