Class KAMP4attackModificationmarksSwitch<T1>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T1>
-
- edu.kit.ipd.sdq.kamp4attack.model.modificationmarks.KAMP4attackModificationmarks.util.KAMP4attackModificationmarksSwitch<T1>
-
public class KAMP4attackModificationmarksSwitch<T1> extends Switch<T1>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
KAMP4attackModificationmarksPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static KAMP4attackModificationmarksPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description KAMP4attackModificationmarksSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T1
caseAbstractChangePropagationStep(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractChangePropagationStep object)
Returns the result of interpreting the object as an instance of 'Abstract Change Propagation Step'.<T extends KAMP4attackSeedModifications>
T1caseAbstractKAMP4attackModificationRepository(AbstractKAMP4attackModificationRepository<T> object)
Returns the result of interpreting the object as an instance of 'Abstract KAMP 4attack Modification Repository'.<S,T>
T1caseAbstractModification(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractModification<S,T> object)
Returns the result of interpreting the object as an instance of 'Abstract Modification'.<S extends edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractSeedModifications,T extends edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractChangePropagationStep>
T1caseAbstractModificationRepository(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractModificationRepository<S,T> object)
Returns the result of interpreting the object as an instance of 'Abstract Modification Repository'.T1
caseAbstractSeedModifications(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractSeedModifications object)
Returns the result of interpreting the object as an instance of 'Abstract Seed Modifications'.T1
caseAttackComponent(AttackComponent object)
Returns the result of interpreting the object as an instance of 'Attack Component'.T1
caseChangePropagationStep(edu.kit.ipd.sdq.kamp.model.modificationmarks.ChangePropagationStep object)
Returns the result of interpreting the object as an instance of 'Change Propagation Step'.T1
caseCompromisedAssembly(CompromisedAssembly object)
Returns the result of interpreting the object as an instance of 'Compromised Assembly'.T1
caseCompromisedLinkingResource(CompromisedLinkingResource object)
Returns the result of interpreting the object as an instance of 'Compromised Linking Resource'.T1
caseCompromisedResource(CompromisedResource object)
Returns the result of interpreting the object as an instance of 'Compromised Resource'.T1
caseContextChange(ContextChange object)
Returns the result of interpreting the object as an instance of 'Context Change'.T1
caseCredentialChange(CredentialChange object)
Returns the result of interpreting the object as an instance of 'Credential Change'.T1
caseKAMP4attackModificationRepository(KAMP4attackModificationRepository object)
Returns the result of interpreting the object as an instance of 'KAMP 4attack Modification Repository'.T1
caseKAMP4attackSeedModifications(KAMP4attackSeedModifications object)
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'.T1
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T1
doSwitch(int classifierID, EObject theEObject)
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 Detail
-
modelPackage
protected static KAMP4attackModificationmarksPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage)
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
protected T1 doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
caseAbstractKAMP4attackModificationRepository
public <T extends KAMP4attackSeedModifications> T1 caseAbstractKAMP4attackModificationRepository(AbstractKAMP4attackModificationRepository<T> object)
Returns the result of interpreting the object as an instance of 'Abstract 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 'Abstract KAMP 4attack Modification Repository'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseKAMP4attackModificationRepository
public T1 caseKAMP4attackModificationRepository(KAMP4attackModificationRepository object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseKAMP4attackSeedModifications
public T1 caseKAMP4attackSeedModifications(KAMP4attackSeedModifications object)
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:
doSwitch(EObject)
- 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:
doSwitch(EObject)
- Generated class or method.
-
caseAttackComponent
public T1 caseAttackComponent(AttackComponent object)
Returns the result of interpreting the object as an instance of 'Attack Component'. 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 Component'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCredentialChange
public T1 caseCredentialChange(CredentialChange object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseCompromisedResource
public T1 caseCompromisedResource(CompromisedResource object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseCompromisedAssembly
public T1 caseCompromisedAssembly(CompromisedAssembly object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseContextChange
public T1 caseContextChange(ContextChange object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseCompromisedLinkingResource
public T1 caseCompromisedLinkingResource(CompromisedLinkingResource object)
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:
doSwitch(EObject)
- Generated class or method.
-
caseAbstractModificationRepository
public <S extends edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractSeedModifications,T extends edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractChangePropagationStep> T1 caseAbstractModificationRepository(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractModificationRepository<S,T> object)
Returns the result of interpreting the object as an instance of 'Abstract 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 'Abstract Modification Repository'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAbstractSeedModifications
public T1 caseAbstractSeedModifications(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractSeedModifications object)
Returns the result of interpreting the object as an instance of 'Abstract 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 'Abstract Seed Modifications'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAbstractModification
public <S,T> T1 caseAbstractModification(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractModification<S,T> object)
Returns the result of interpreting the object as an instance of 'Abstract Modification'. 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 'Abstract Modification'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAbstractChangePropagationStep
public T1 caseAbstractChangePropagationStep(edu.kit.ipd.sdq.kamp.model.modificationmarks.AbstractChangePropagationStep object)
Returns the result of interpreting the object as an instance of 'Abstract Change Propagation Step'. 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 'Abstract Change Propagation Step'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseChangePropagationStep
public T1 caseChangePropagationStep(edu.kit.ipd.sdq.kamp.model.modificationmarks.ChangePropagationStep object)
Returns the result of interpreting the object as an instance of 'Change Propagation Step'. 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 'Change Propagation Step'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T1 defaultCase(EObject object)
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:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-