public class BpsimSwitch<T> extends Object
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.
BpsimPackage
Modifier and Type | Field and Description |
---|---|
protected static BpsimPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
BpsimSwitch()
Creates an instance of the switch
|
Modifier and Type | Method and Description |
---|---|
T |
caseBetaDistributionType(BetaDistributionType object)
Returns the result of interpreting the object as an instance of 'Beta Distribution Type'
|
T |
caseBinomialDistributionType(BinomialDistributionType object)
Returns the result of interpreting the object as an instance of 'Binomial Distribution Type'
|
T |
caseBooleanParameterType(BooleanParameterType object)
Returns the result of interpreting the object as an instance of 'Boolean Parameter Type'
|
T |
caseBPSimDataType(BPSimDataType object)
Returns the result of interpreting the object as an instance of 'BP Sim Data Type'
|
T |
caseCalendar(Calendar object)
Returns the result of interpreting the object as an instance of 'Calendar'
|
T |
caseConstantParameter(ConstantParameter object)
Returns the result of interpreting the object as an instance of 'Constant Parameter'
|
T |
caseControlParameters(ControlParameters object)
Returns the result of interpreting the object as an instance of 'Control Parameters'
|
T |
caseCostParameters(CostParameters object)
Returns the result of interpreting the object as an instance of 'Cost Parameters'
|
T |
caseDateTimeParameterType(DateTimeParameterType object)
Returns the result of interpreting the object as an instance of 'Date Time Parameter Type'
|
T |
caseDistributionParameter(DistributionParameter object)
Returns the result of interpreting the object as an instance of 'Distribution Parameter'
|
T |
caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'
|
T |
caseDurationParameterType(DurationParameterType object)
Returns the result of interpreting the object as an instance of 'Duration Parameter Type'
|
T |
caseElementParameters(ElementParameters object)
Returns the result of interpreting the object as an instance of 'Element Parameters'
|
T |
caseElementParametersType(ElementParametersType object)
Returns the result of interpreting the object as an instance of 'Element Parameters Type'
|
T |
caseEnumParameterType(EnumParameterType object)
Returns the result of interpreting the object as an instance of 'Enum Parameter Type'
|
T |
caseErlangDistributionType(ErlangDistributionType object)
Returns the result of interpreting the object as an instance of 'Erlang Distribution Type'
|
T |
caseExpressionParameterType(ExpressionParameterType object)
Returns the result of interpreting the object as an instance of 'Expression Parameter Type'
|
T |
caseFloatingParameterType(FloatingParameterType object)
Returns the result of interpreting the object as an instance of 'Floating Parameter Type'
|
T |
caseGammaDistributionType(GammaDistributionType object)
Returns the result of interpreting the object as an instance of 'Gamma Distribution Type'
|
T |
caseLogNormalDistributionType(LogNormalDistributionType object)
Returns the result of interpreting the object as an instance of 'Log Normal Distribution Type'
|
T |
caseNegativeExponentialDistributionType(NegativeExponentialDistributionType object)
Returns the result of interpreting the object as an instance of 'Negative Exponential Distribution Type'
|
T |
caseNormalDistributionType(NormalDistributionType object)
Returns the result of interpreting the object as an instance of 'Normal Distribution Type'
|
T |
caseNumericParameterType(NumericParameterType object)
Returns the result of interpreting the object as an instance of 'Numeric Parameter Type'
|
T |
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'
|
T |
caseParameterValue(ParameterValue object)
Returns the result of interpreting the object as an instance of 'Parameter Value'
|
T |
casePoissonDistributionType(PoissonDistributionType object)
Returns the result of interpreting the object as an instance of 'Poisson Distribution Type'
|
T |
casePriorityParameters(PriorityParameters object)
Returns the result of interpreting the object as an instance of 'Priority Parameters'
|
T |
casePropertyParameters(PropertyParameters object)
Returns the result of interpreting the object as an instance of 'Property Parameters'
|
T |
casePropertyType(PropertyType object)
Returns the result of interpreting the object as an instance of 'Property Type'
|
T |
caseResourceParameters(ResourceParameters object)
Returns the result of interpreting the object as an instance of 'Resource Parameters'
|
T |
caseScenario(Scenario object)
Returns the result of interpreting the object as an instance of 'Scenario'
|
T |
caseScenarioParameters(ScenarioParameters object)
Returns the result of interpreting the object as an instance of 'Scenario Parameters'
|
T |
caseScenarioParametersType(ScenarioParametersType object)
Returns the result of interpreting the object as an instance of 'Scenario Parameters Type'
|
T |
caseStringParameterType(StringParameterType object)
Returns the result of interpreting the object as an instance of 'String Parameter Type'
|
T |
caseTimeParameters(TimeParameters object)
Returns the result of interpreting the object as an instance of 'Time Parameters'
|
T |
caseTriangularDistributionType(TriangularDistributionType object)
Returns the result of interpreting the object as an instance of 'Triangular Distribution Type'
|
T |
caseTruncatedNormalDistributionType(TruncatedNormalDistributionType object)
Returns the result of interpreting the object as an instance of 'Truncated Normal Distribution Type'
|
T |
caseUniformDistributionType(UniformDistributionType object)
Returns the result of interpreting the object as an instance of 'Uniform Distribution Type'
|
T |
caseUserDistributionDataPointType(UserDistributionDataPointType object)
Returns the result of interpreting the object as an instance of 'User Distribution Data Point Type'
|
T |
caseUserDistributionType(UserDistributionType object)
Returns the result of interpreting the object as an instance of 'User Distribution Type'
|
T |
caseVendorExtension(VendorExtension object)
Returns the result of interpreting the object as an instance of 'Vendor Extension'
|
T |
caseWeibullDistributionType(WeibullDistributionType object)
Returns the result of interpreting the object as an instance of 'Weibull Distribution Type'
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'
|
protected T |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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 |
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 |
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 static BpsimPackage modelPackage
public BpsimSwitch()
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.
caseXXX
call.protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.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.
caseXXX
call.public T caseBetaDistributionType(BetaDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseBinomialDistributionType(BinomialDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseBooleanParameterType(BooleanParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseBPSimDataType(BPSimDataType object)
object
- the target of the switch.doSwitch(EObject)
public T caseCalendar(Calendar object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstantParameter(ConstantParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseControlParameters(ControlParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseCostParameters(CostParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseDateTimeParameterType(DateTimeParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseDistributionParameter(DistributionParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseDocumentRoot(DocumentRoot object)
object
- the target of the switch.doSwitch(EObject)
public T caseDurationParameterType(DurationParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementParameters(ElementParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementParametersType(ElementParametersType object)
object
- the target of the switch.doSwitch(EObject)
public T caseEnumParameterType(EnumParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseErlangDistributionType(ErlangDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpressionParameterType(ExpressionParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseFloatingParameterType(FloatingParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseGammaDistributionType(GammaDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseLogNormalDistributionType(LogNormalDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseNegativeExponentialDistributionType(NegativeExponentialDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseNormalDistributionType(NormalDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseNumericParameterType(NumericParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseParameter(Parameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseParameterValue(ParameterValue object)
object
- the target of the switch.doSwitch(EObject)
public T casePoissonDistributionType(PoissonDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T casePriorityParameters(PriorityParameters object)
object
- the target of the switch.doSwitch(EObject)
public T casePropertyParameters(PropertyParameters object)
object
- the target of the switch.doSwitch(EObject)
public T casePropertyType(PropertyType object)
object
- the target of the switch.doSwitch(EObject)
public T caseResourceParameters(ResourceParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseScenario(Scenario object)
object
- the target of the switch.doSwitch(EObject)
public T caseScenarioParameters(ScenarioParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseScenarioParametersType(ScenarioParametersType object)
object
- the target of the switch.doSwitch(EObject)
public T caseStringParameterType(StringParameterType object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimeParameters(TimeParameters object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriangularDistributionType(TriangularDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseTruncatedNormalDistributionType(TruncatedNormalDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseUniformDistributionType(UniformDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseUserDistributionDataPointType(UserDistributionDataPointType object)
object
- the target of the switch.doSwitch(EObject)
public T caseUserDistributionType(UserDistributionType object)
object
- the target of the switch.doSwitch(EObject)
public T caseVendorExtension(VendorExtension object)
object
- the target of the switch.doSwitch(EObject)
public T caseWeibullDistributionType(WeibullDistributionType 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)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.