Class KAMP4attackModificationmarksSwitch<T1>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T1>
edu.kit.ipd.sdq.kamp4attack.model.modificationmarks.KAMP4attackModificationmarks.util.KAMP4attackModificationmarksSwitch<T1>
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.
- See Also:
- Generated class or method.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static KAMP4attackModificationmarksPackage
The cached model package -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Attacker Selection'.caseAttackPath
(AttackPath object) Returns the result of interpreting the object as an instance of 'Attack Path'.Returns the result of interpreting the object as an instance of 'Attack Path Element'.Returns the result of interpreting the object as an instance of 'Compromised Assembly'.caseCompromisedData
(CompromisedData object) Returns the result of interpreting the object as an instance of 'Compromised Data'.Returns the result of interpreting the object as an instance of 'Compromised Linking Resource'.Returns the result of interpreting the object as an instance of 'Compromised Resource'.Returns the result of interpreting the object as an instance of 'Compromised Service'.caseContextChange
(ContextChange object) Returns the result of interpreting the object as an instance of 'Context Change'.caseCredentialChange
(CredentialChange object) Returns the result of interpreting the object as an instance of 'Credential Change'.Returns the result of interpreting the object as an instance of 'Datamodel Container'.caseIdentifier
(de.uka.ipd.sdq.identifier.Identifier object) Returns the result of interpreting the object as an instance of 'Identifier'.Returns the result of interpreting the object as an instance of 'KAMP 4attack Modification Repository'.Returns the result of interpreting the object as an instance of 'KAMP 4attack Seed Modifications'.<T extends org.palladiosimulator.pcm.core.entity.Entity>
T1caseModifyEntity
(ModifyEntity<T> object) Returns the result of interpreting the object as an instance of 'Modify Entity'.Returns the result of interpreting the object as an instance of 'Service Restriction Container'.Returns the result of interpreting the object as an instance of 'Surface Attacker Selection'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T1
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(EPackage ePackage) Checks whether this is a switch for the given package.
-
Field Details
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
KAMP4attackModificationmarksSwitch
public KAMP4attackModificationmarksSwitch()Creates an instance of the switch.- Generated class or method.
-
-
Method Details
-
isSwitchFor
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T1>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result. -
caseKAMP4attackModificationRepository
Returns the result of interpreting the object as an instance of 'KAMP 4attack Modification Repository'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KAMP 4attack Modification Repository'.
- See Also:
- Generated class or method.
-
caseKAMP4attackSeedModifications
Returns the result of interpreting the object as an instance of 'KAMP 4attack Seed Modifications'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'KAMP 4attack Seed Modifications'.
- See Also:
- Generated class or method.
-
caseModifyEntity
public <T extends org.palladiosimulator.pcm.core.entity.Entity> T1 caseModifyEntity(ModifyEntity<T> object) Returns the result of interpreting the object as an instance of 'Modify Entity'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Modify Entity'.
- See Also:
- Generated class or method.
-
caseAttackerSelection
Returns the result of interpreting the object as an instance of 'Attacker Selection'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Attacker Selection'.
- See Also:
- Generated class or method.
-
caseCredentialChange
Returns the result of interpreting the object as an instance of 'Credential Change'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Credential Change'.
- See Also:
- Generated class or method.
-
caseCompromisedResource
Returns the result of interpreting the object as an instance of 'Compromised Resource'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compromised Resource'.
- See Also:
- Generated class or method.
-
caseCompromisedAssembly
Returns the result of interpreting the object as an instance of 'Compromised Assembly'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compromised Assembly'.
- See Also:
- Generated class or method.
-
caseContextChange
Returns the result of interpreting the object as an instance of 'Context Change'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Context Change'.
- See Also:
- Generated class or method.
-
caseCompromisedLinkingResource
Returns the result of interpreting the object as an instance of 'Compromised Linking Resource'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compromised Linking Resource'.
- See Also:
- Generated class or method.
-
caseCompromisedService
Returns the result of interpreting the object as an instance of 'Compromised Service'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compromised Service'.
- See Also:
- Generated class or method.
-
caseServiceRestrictionContainer
Returns the result of interpreting the object as an instance of 'Service Restriction Container'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Service Restriction Container'.
- See Also:
- Generated class or method.
-
caseCompromisedData
Returns the result of interpreting the object as an instance of 'Compromised Data'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compromised Data'.
- See Also:
- Generated class or method.
-
caseDatamodelContainer
Returns the result of interpreting the object as an instance of 'Datamodel Container'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Datamodel Container'.
- See Also:
- Generated class or method.
-
caseSurfaceAttackerSelection
Returns the result of interpreting the object as an instance of 'Surface Attacker Selection'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Surface Attacker Selection'.
- See Also:
- Generated class or method.
-
caseAttackPath
Returns the result of interpreting the object as an instance of 'Attack Path'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Attack Path'.
- See Also:
- Generated class or method.
-
caseAttackPathElement
Returns the result of interpreting the object as an instance of 'Attack Path Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Attack Path Element'.
- See Also:
- Generated class or method.
-
caseIdentifier
Returns the result of interpreting the object as an instance of 'Identifier'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier'.
- See Also:
- Generated class or method.
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classSwitch<T1>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
- Generated class or method.
-