public class HardwareBaselineSwitch<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.
HardwareBaselinePackage
Constructor and Description |
---|
HardwareBaselineSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseCH_HwBus(CH_HwBus object)
Returns the result of interpreting the object as an instance of 'CH Hw Bus'.
|
T |
caseCH_HwComputingResource(CH_HwComputingResource object)
Returns the result of interpreting the object as an instance of 'CH Hw Computing Resource'.
|
T |
caseCH_HwProcessor(CH_HwProcessor object)
Returns the result of interpreting the object as an instance of 'CH Hw Processor'.
|
T |
caseCommunicationMedia(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia object)
Returns the result of interpreting the object as an instance of 'Communication Media'.
|
T |
caseComputingResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource object)
Returns the result of interpreting the object as an instance of 'Computing Resource'.
|
T |
caseHwBus(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwBus object)
Returns the result of interpreting the object as an instance of 'Hw Bus'.
|
T |
caseHwCommunicationResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwCommunicationResource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
caseHwComputingResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwComputingResource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
caseHwMedia(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwMedia object)
Returns the result of interpreting the object as an instance of 'Hw Media'.
|
T |
caseHwProcessor(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwProcessor object)
Returns the result of interpreting the object as an instance of 'Hw Processor'.
|
T |
caseHwResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwGeneral.HwResource object)
Returns the result of interpreting the object as an instance of 'Hw Resource'.
|
T |
caseProcessingResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource object)
Returns the result of interpreting the object as an instance of 'Processing Resource'.
|
T |
caseResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public HardwareBaselineSwitch()
public T caseCH_HwProcessor(CH_HwProcessor object)
object
- the target of the switch.doSwitch(EObject)
public T caseCH_HwBus(CH_HwBus object)
object
- the target of the switch.doSwitch(EObject)
public T caseCH_HwComputingResource(CH_HwComputingResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.Resource object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwGeneral.HwResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcessingResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ProcessingResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseComputingResource(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.ComputingResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwComputingResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwComputingResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwProcessor(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwProcessor object)
object
- the target of the switch.doSwitch(EObject)
public T caseCommunicationMedia(org.eclipse.papyrus.MARTE.MARTE_Foundations.GRM.CommunicationMedia object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwCommunicationResource(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwCommunicationResource object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwMedia(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwMedia object)
object
- the target of the switch.doSwitch(EObject)
public T caseHwBus(org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwCommunication.HwBus 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)