Class ContextMappingDSLSwitch<T>


  • public class ContextMappingDSLSwitch<T>
    extends org.eclipse.emf.ecore.util.Switch<T>
    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:
    ContextMappingDSLPackage
    Generated:
    • Constructor Detail

      • ContextMappingDSLSwitch

        public ContextMappingDSLSwitch()
        Creates an instance of the switch.
        Generated:
    • Method Detail

      • isSwitchFor

        protected boolean isSwitchFor​(org.eclipse.emf.ecore.EPackage ePackage)
        Checks whether this is a switch for the given package.
        Specified by:
        isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
        Generated:
      • doSwitch

        protected T doSwitch​(int classifierID,
                             org.eclipse.emf.ecore.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 org.eclipse.emf.ecore.util.Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
        Generated:
      • caseContextMappingModel

        public T caseContextMappingModel​(ContextMappingModel object)
        Returns the result of interpreting the object as an instance of 'Context Mapping Model'. 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 Mapping Model'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseImport

        public T caseImport​(Import object)
        Returns the result of interpreting the object as an instance of 'Import'. 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 'Import'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseContextMap

        public T caseContextMap​(ContextMap object)
        Returns the result of interpreting the object as an instance of 'Context Map'. 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 Map'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseBoundedContext

        public T caseBoundedContext​(BoundedContext object)
        Returns the result of interpreting the object as an instance of 'Bounded Context'. 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 'Bounded Context'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseDomainPart

        public T caseDomainPart​(DomainPart object)
        Returns the result of interpreting the object as an instance of 'Domain Part'. 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 'Domain Part'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseDomain

        public T caseDomain​(Domain object)
        Returns the result of interpreting the object as an instance of 'Domain'. 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 'Domain'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseSubdomain

        public T caseSubdomain​(Subdomain object)
        Returns the result of interpreting the object as an instance of 'Subdomain'. 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 'Subdomain'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseRelationship

        public T caseRelationship​(Relationship object)
        Returns the result of interpreting the object as an instance of 'Relationship'. 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 'Relationship'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseSymmetricRelationship

        public T caseSymmetricRelationship​(SymmetricRelationship object)
        Returns the result of interpreting the object as an instance of 'Symmetric Relationship'. 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 'Symmetric Relationship'.
        See Also:
        doSwitch(EObject)
        Generated:
      • casePartnership

        public T casePartnership​(Partnership object)
        Returns the result of interpreting the object as an instance of 'Partnership'. 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 'Partnership'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseSharedKernel

        public T caseSharedKernel​(SharedKernel object)
        Returns the result of interpreting the object as an instance of 'Shared Kernel'. 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 'Shared Kernel'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseUpstreamDownstreamRelationship

        public T caseUpstreamDownstreamRelationship​(UpstreamDownstreamRelationship object)
        Returns the result of interpreting the object as an instance of 'Upstream Downstream Relationship'. 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 'Upstream Downstream Relationship'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseCustomerSupplierRelationship

        public T caseCustomerSupplierRelationship​(CustomerSupplierRelationship object)
        Returns the result of interpreting the object as an instance of 'Customer Supplier Relationship'. 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 'Customer Supplier Relationship'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseAggregate

        public T caseAggregate​(Aggregate object)
        Returns the result of interpreting the object as an instance of 'Aggregate'. 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 'Aggregate'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseUseCase

        public T caseUseCase​(UseCase object)
        Returns the result of interpreting the object as an instance of 'Use Case'. 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 'Use Case'.
        See Also:
        doSwitch(EObject)
        Generated:
      • caseSculptorModule

        public T caseSculptorModule​(SculptorModule object)
        Returns the result of interpreting the object as an instance of 'Sculptor Module'. 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 'Sculptor Module'.
        See Also:
        doSwitch(EObject)
        Generated:
      • defaultCase

        public T defaultCase​(org.eclipse.emf.ecore.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 org.eclipse.emf.ecore.util.Switch<T>
        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: