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 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 Details

  • Constructor Details

    • KAMP4attackModificationmarksSwitch

      public KAMP4attackModificationmarksSwitch()
      Creates an instance of the switch.
      Generated class or method.
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor(EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class Switch<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)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Overrides:
      doSwitch in class Switch<T1>
      Returns:
      the first non-null result returned by a caseXXX call.
      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:
      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:
      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

      public T1 caseAttackerSelection(AttackerSelection object)
      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

      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:
      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:
      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:
      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:
      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:
      Generated class or method.
    • caseCompromisedService

      public T1 caseCompromisedService(CompromisedService object)
      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

      public T1 caseServiceRestrictionContainer(ServiceRestrictionContainer object)
      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

      public T1 caseCompromisedData(CompromisedData object)
      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

      public T1 caseDatamodelContainer(DatamodelContainer object)
      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

      public T1 caseSurfaceAttackerSelection(SurfaceAttackerSelection object)
      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

      public T1 caseAttackPath(AttackPath object)
      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

      public T1 caseAttackPathElement(AttackPathElement object)
      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

      public T1 caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
      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

      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 class Switch<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.