public class ThreatsPropagationSwitch<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.
ThreatsPropagationPackage
Constructor and Description |
---|
ThreatsPropagationSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAdversary(Adversary object)
Returns the result of interpreting the object as an instance of 'Adversary'.
|
T |
caseAttack(Attack object)
Returns the result of interpreting the object as an instance of 'Attack'.
|
T |
caseAttackScenario(AttackScenario object)
Returns the result of interpreting the object as an instance of 'Attack Scenario'.
|
T |
caseDegradedState(DegradedState object)
Returns the result of interpreting the object as an instance of 'Degraded State'.
|
T |
caseDepEvent(DepEvent object)
Returns the result of interpreting the object as an instance of 'Dep Event'.
|
T |
caseErrorDetection(ErrorDetection object)
Returns the result of interpreting the object as an instance of 'Error Detection'.
|
T |
caseErrorHandling(ErrorHandling object)
Returns the result of interpreting the object as an instance of 'Error Handling'.
|
T |
caseErrorModel(ErrorModel object)
Returns the result of interpreting the object as an instance of 'Error Model'.
|
T |
caseErrorState(ErrorState object)
Returns the result of interpreting the object as an instance of 'Error State'.
|
T |
caseFailure(Failure object)
Returns the result of interpreting the object as an instance of 'Failure'.
|
T |
caseFaultHandling(FaultHandling object)
Returns the result of interpreting the object as an instance of 'Fault Handling'.
|
T |
caseInternalFault(InternalFault object)
Returns the result of interpreting the object as an instance of 'Internal Fault'.
|
T |
caseInternalPropagation(InternalPropagation object)
Returns the result of interpreting the object as an instance of 'Internal Propagation'.
|
T |
caseInverted(Inverted object)
Returns the result of interpreting the object as an instance of 'Inverted'.
|
T |
caseNormalInput(NormalInput object)
Returns the result of interpreting the object as an instance of 'Normal Input'.
|
T |
caseNormalOutput(NormalOutput object)
Returns the result of interpreting the object as an instance of 'Normal Output'.
|
T |
caseNormalState(NormalState object)
Returns the result of interpreting the object as an instance of 'Normal State'.
|
T |
caseRampDown(RampDown object)
Returns the result of interpreting the object as an instance of 'Ramp Down'.
|
T |
caseStuckAt(StuckAt object)
Returns the result of interpreting the object as an instance of 'Stuck At'.
|
T |
caseStuckAtFixed(StuckAtFixed object)
Returns the result of interpreting the object as an instance of 'Stuck At Fixed'.
|
T |
caseThreatState(ThreatState object)
Returns the result of interpreting the object as an instance of 'Threat State'.
|
T |
caseVulnerability(Vulnerability object)
Returns the result of interpreting the object as an instance of 'Vulnerability'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public ThreatsPropagationSwitch()
public T caseInternalFault(InternalFault object)
object
- the target of the switch.doSwitch(EObject)
public T caseInternalPropagation(InternalPropagation object)
object
- the target of the switch.doSwitch(EObject)
public T caseErrorDetection(ErrorDetection object)
object
- the target of the switch.doSwitch(EObject)
public T caseErrorHandling(ErrorHandling object)
object
- the target of the switch.doSwitch(EObject)
public T caseFaultHandling(FaultHandling object)
object
- the target of the switch.doSwitch(EObject)
public T caseAttack(Attack object)
object
- the target of the switch.doSwitch(EObject)
public T caseVulnerability(Vulnerability object)
object
- the target of the switch.doSwitch(EObject)
public T caseAdversary(Adversary object)
object
- the target of the switch.doSwitch(EObject)
public T caseAttackScenario(AttackScenario object)
object
- the target of the switch.doSwitch(EObject)
public T caseErrorModel(ErrorModel object)
object
- the target of the switch.doSwitch(EObject)
public T caseNormalInput(NormalInput object)
object
- the target of the switch.doSwitch(EObject)
public T caseNormalOutput(NormalOutput object)
object
- the target of the switch.doSwitch(EObject)
public T caseFailure(Failure object)
object
- the target of the switch.doSwitch(EObject)
public T caseThreatState(ThreatState object)
object
- the target of the switch.doSwitch(EObject)
public T caseDegradedState(DegradedState object)
object
- the target of the switch.doSwitch(EObject)
public T caseNormalState(NormalState object)
object
- the target of the switch.doSwitch(EObject)
public T caseErrorState(ErrorState object)
object
- the target of the switch.doSwitch(EObject)
public T caseStuckAt(StuckAt object)
object
- the target of the switch.doSwitch(EObject)
public T caseStuckAtFixed(StuckAtFixed object)
object
- the target of the switch.doSwitch(EObject)
public T caseInverted(Inverted object)
object
- the target of the switch.doSwitch(EObject)
public T caseRampDown(RampDown object)
object
- the target of the switch.doSwitch(EObject)
public T caseDepEvent(DepEvent 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)