Class 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:
    KAMP4attackModificationmarksPackage
    Generated class or method.
    • Constructor Detail

      • KAMP4attackModificationmarksSwitch

        public KAMP4attackModificationmarksSwitch()
        Creates an instance of the switch.
        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 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.
      • caseAbstractKAMP4attackModificationRepository

        public <T extends KAMP4attackSeedModificationsT1 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 class Switch<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.