|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.diseasemodels.standard.util.StandardSwitch<T>
public class StandardSwitch<T>
The Switch for the model's inheritance
hierarchy. It supports the call 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.
StandardPackage
Constructor Summary | |
---|---|
StandardSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAggregatingDiseaseModelState(AggregatingDiseaseModelState object)
Returns the result of interpretting the object as an instance of 'Aggregating Disease Model State'. |
T |
caseAggregatingSEIRDiseaseModel(AggregatingSEIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Aggregating SEIR Disease Model'. |
T |
caseAggregatingSIDiseaseModel(AggregatingSIDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Aggregating SI Disease Model'. |
T |
caseAggregatingSIRDiseaseModel(AggregatingSIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Aggregating SIR Disease Model'. |
T |
caseDecorator(Decorator object)
Returns the result of interpretting the object as an instance of 'Decorator'. |
T |
caseDeterministicSEIRDiseaseModel(DeterministicSEIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Deterministic SEIR Disease Model'. |
T |
caseDeterministicSIDiseaseModel(DeterministicSIDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Deterministic SI Disease Model'. |
T |
caseDeterministicSIRDiseaseModel(DeterministicSIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Deterministic SIR Disease Model'. |
T |
caseDiseaseModel(DiseaseModel object)
Returns the result of interpretting the object as an instance of 'Disease Model'. |
T |
caseDiseaseModelLabel(DiseaseModelLabel object)
Returns the result of interpretting the object as an instance of 'Disease Model Label'. |
T |
caseDiseaseModelLabelValue(DiseaseModelLabelValue object)
Returns the result of interpretting the object as an instance of 'Disease Model Label Value'. |
T |
caseDiseaseModelState(DiseaseModelState object)
Returns the result of interpretting the object as an instance of 'Disease Model State'. |
T |
caseDynamicLabel(DynamicLabel object)
Returns the result of interpretting the object as an instance of 'Dynamic Label'. |
T |
caseDynamicNodeLabel(DynamicNodeLabel object)
Returns the result of interpretting the object as an instance of 'Dynamic Node Label'. |
T |
caseIdentifiable(Identifiable object)
Returns the result of interpretting the object as an instance of 'Identifiable'. |
T |
caseInfector(Infector object)
Returns the result of interpretting the object as an instance of 'Infector'. |
T |
caseLabel(Label object)
Returns the result of interpretting the object as an instance of 'Label'. |
T |
caseLabelValue(LabelValue object)
Returns the result of interpretting the object as an instance of 'Label Value'. |
T |
caseNodeDecorator(NodeDecorator object)
Returns the result of interpretting the object as an instance of 'Node Decorator'. |
T |
caseNodeLabel(NodeLabel object)
Returns the result of interpretting the object as an instance of 'Node Label'. |
T |
caseSanityChecker_1(SanityChecker object)
Returns the result of interpretting the object as an instance of 'Sanity Checker'. |
T |
caseSanityChecker(SanityChecker object)
Returns the result of interpretting the object as an instance of 'Sanity Checker'. |
T |
caseSEIR(SEIR object)
Returns the result of interpretting the object as an instance of 'SEIR'. |
T |
caseSEIRLabel(SEIRLabel object)
Returns the result of interpretting the object as an instance of 'SEIR Label'. |
T |
caseSEIRLabelValue(SEIRLabelValue object)
Returns the result of interpretting the object as an instance of 'SEIR Label Value'. |
T |
caseSI(SI object)
Returns the result of interpretting the object as an instance of 'SI'. |
T |
caseSIDiseaseModelState(SIDiseaseModelState object)
Returns the result of interpretting the object as an instance of 'SI Disease Model State'. |
T |
caseSIInfector(SIInfector object)
Returns the result of interpretting the object as an instance of 'SI Infector'. |
T |
caseSILabel(SILabel object)
Returns the result of interpretting the object as an instance of 'SI Label'. |
T |
caseSILabelValue(SILabelValue object)
Returns the result of interpretting the object as an instance of 'SI Label Value'. |
T |
caseSIR(SIR object)
Returns the result of interpretting the object as an instance of 'SIR'. |
T |
caseSIRLabel(SIRLabel object)
Returns the result of interpretting the object as an instance of 'SIR Label'. |
T |
caseSIRLabelValue(SIRLabelValue object)
Returns the result of interpretting the object as an instance of 'SIR Label Value'. |
T |
caseStandardDiseaseModel(StandardDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Disease Model'. |
T |
caseStandardDiseaseModelLabel(StandardDiseaseModelLabel object)
Returns the result of interpretting the object as an instance of 'Disease Model Label'. |
T |
caseStandardDiseaseModelLabelValue(StandardDiseaseModelLabelValue object)
Returns the result of interpretting the object as an instance of 'Disease Model Label Value'. |
T |
caseStandardDiseaseModelState(StandardDiseaseModelState object)
Returns the result of interpretting the object as an instance of 'Disease Model State'. |
T |
caseStandardInfector(StandardInfector object)
Returns the result of interpretting the object as an instance of 'Infector'. |
T |
caseStandardStochasticDiseaseModel(StandardStochasticDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Stochastic Disease Model'. |
T |
caseStochasticDiseaseModel(StochasticDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Stochastic Disease Model'. |
T |
caseStochasticSEIRDiseaseModel(StochasticSEIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Stochastic SEIR Disease Model'. |
T |
caseStochasticSIDiseaseModel(StochasticSIDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Stochastic SI Disease Model'. |
T |
caseStochasticSIRDiseaseModel(StochasticSIRDiseaseModel object)
Returns the result of interpretting the object as an instance of 'Stochastic SIR Disease Model'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
T |
doSwitch(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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardSwitch()
Method Detail |
---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
theEObject
-
caseXXX
call.public T caseSEIR(SEIR object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSEIRLabel(SEIRLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSEIRLabelValue(SEIRLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSIR(SIR object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSIRLabel(SIRLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSIRLabelValue(SIRLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardDiseaseModel(StandardDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDiseaseModel(DiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDiseaseModelLabel(DiseaseModelLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStochasticSEIRDiseaseModel(StochasticSEIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardInfector(StandardInfector object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDeterministicSEIRDiseaseModel(DeterministicSEIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDiseaseModelLabelValue(DiseaseModelLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardDiseaseModelLabelValue(StandardDiseaseModelLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardDiseaseModelLabel(StandardDiseaseModelLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSI(SI object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSILabel(SILabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSILabelValue(SILabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInfector(Infector object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSIInfector(SIInfector object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDeterministicSIRDiseaseModel(DeterministicSIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDeterministicSIDiseaseModel(DeterministicSIDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStochasticSIRDiseaseModel(StochasticSIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStochasticSIDiseaseModel(StochasticSIDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDiseaseModelState(DiseaseModelState object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSIDiseaseModelState(SIDiseaseModelState object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardDiseaseModelState(StandardDiseaseModelState object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSanityChecker(SanityChecker object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAggregatingSIDiseaseModel(AggregatingSIDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAggregatingDiseaseModelState(AggregatingDiseaseModelState object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAggregatingSEIRDiseaseModel(AggregatingSEIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAggregatingSIRDiseaseModel(AggregatingSIRDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStochasticDiseaseModel(StochasticDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStandardStochasticDiseaseModel(StandardStochasticDiseaseModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiable(Identifiable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDecorator(Decorator object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeDecorator(NodeDecorator object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLabel(Label object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDynamicLabel(DynamicLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeLabel(NodeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDynamicNodeLabel(DynamicNodeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSanityChecker_1(SanityChecker object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLabelValue(LabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |