Class MappingSwitch<T1>


  • public class MappingSwitch<T1>
    extends org.eclipse.emf.ecore.util.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:
    MappingPackage
    • Field Detail

      • modelPackage

        protected static MappingPackage modelPackage
        The cached model package
    • Constructor Detail

      • MappingSwitch

        public MappingSwitch()
        Creates an instance of the switch.
    • 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<T1>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • doSwitch

        protected T1 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<T1>
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseIMappingModel

        public <TDomain> T1 caseIMappingModel​(IMappingModel<TDomain> object)
        Returns the result of interpreting the object as an instance of 'IMapping 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 'IMapping Model'.
        See Also:
        doSwitch(EObject)
      • caseMappingNamed

        public T1 caseMappingNamed​(MappingNamed object)
        Returns the result of interpreting the object as an instance of 'Named'. 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 'Named'.
        See Also:
        doSwitch(EObject)
      • casePath

        public T1 casePath​(Path object)
        Returns the result of interpreting the object as an instance of '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 'Path'.
        See Also:
        doSwitch(EObject)
      • caseItemsHolder

        public <TDomain> T1 caseItemsHolder​(ItemsHolder<TDomain> object)
        Returns the result of interpreting the object as an instance of 'Items Holder'. 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 'Items Holder'.
        See Also:
        doSwitch(EObject)
      • caseFormMapping

        public T1 caseFormMapping​(FormMapping object)
        Returns the result of interpreting the object as an instance of 'Form Mapping'. 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 'Form Mapping'.
        See Also:
        doSwitch(EObject)
      • caseItem

        public T1 caseItem​(Item object)
        Returns the result of interpreting the object as an instance of 'Item'. 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 'Item'.
        See Also:
        doSwitch(EObject)
      • caseItemContainer

        public T1 caseItemContainer​(ItemContainer object)
        Returns the result of interpreting the object as an instance of 'Item 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 'Item Container'.
        See Also:
        doSwitch(EObject)
      • caseCommandName

        public T1 caseCommandName​(CommandName object)
        Returns the result of interpreting the object as an instance of 'Command Name'. 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 'Command Name'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedCommandMapping

        public T1 caseParameterizedCommandMapping​(ParameterizedCommandMapping object)
        Returns the result of interpreting the object as an instance of 'Parameterized Command Mapping'. 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 'Parameterized Command Mapping'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedItem

        public <T> T1 caseParameterizedItem​(ParameterizedItem<T> object)
        Returns the result of interpreting the object as an instance of 'Parameterized Item'. 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 'Parameterized Item'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedAttributeItem

        public T1 caseParameterizedAttributeItem​(ParameterizedAttributeItem object)
        Returns the result of interpreting the object as an instance of 'Parameterized Attribute Item'. 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 'Parameterized Attribute Item'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedTableItem

        public T1 caseParameterizedTableItem​(ParameterizedTableItem object)
        Returns the result of interpreting the object as an instance of 'Parameterized Table Item'. 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 'Parameterized Table Item'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedCommand

        public T1 caseParameterizedCommand​(ParameterizedCommand object)
        Returns the result of interpreting the object as an instance of 'Parameterized Command'. 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 'Parameterized Command'.
        See Also:
        doSwitch(EObject)
      • caseParameterizedCommandPath

        public T1 caseParameterizedCommandPath​(ParameterizedCommandPath object)
        Returns the result of interpreting the object as an instance of 'Parameterized Command 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 'Parameterized Command Path'.
        See Also:
        doSwitch(EObject)
      • caseIndependentCommandMapping

        public T1 caseIndependentCommandMapping​(IndependentCommandMapping object)
        Returns the result of interpreting the object as an instance of 'Independent Command Mapping'. 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 'Independent Command Mapping'.
        See Also:
        doSwitch(EObject)
      • caseIndependentNode

        public <T> T1 caseIndependentNode​(IndependentNode<T> object)
        Returns the result of interpreting the object as an instance of 'Independent Node'. 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 'Independent Node'.
        See Also:
        doSwitch(EObject)
      • caseIndependentNodeCotainer

        public T1 caseIndependentNodeCotainer​(IndependentNodeCotainer object)
        Returns the result of interpreting the object as an instance of 'Independent Node Cotainer'. 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 'Independent Node Cotainer'.
        See Also:
        doSwitch(EObject)
      • caseDesktopNode

        public T1 caseDesktopNode​(DesktopNode object)
        Returns the result of interpreting the object as an instance of 'Desktop Node'. 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 'Desktop Node'.
        See Also:
        doSwitch(EObject)
      • caseGroupNode

        public T1 caseGroupNode​(GroupNode object)
        Returns the result of interpreting the object as an instance of 'Group Node'. 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 'Group Node'.
        See Also:
        doSwitch(EObject)
      • caseSubsystemNode

        public T1 caseSubsystemNode​(SubsystemNode object)
        Returns the result of interpreting the object as an instance of 'Subsystem Node'. 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 'Subsystem Node'.
        See Also:
        doSwitch(EObject)
      • caseIndependentCommand

        public T1 caseIndependentCommand​(IndependentCommand object)
        Returns the result of interpreting the object as an instance of 'Independent Command'. 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 'Independent Command'.
        See Also:
        doSwitch(EObject)
      • caseCommandInterfaceMapping

        public T1 caseCommandInterfaceMapping​(CommandInterfaceMapping object)
        Returns the result of interpreting the object as an instance of 'Command Interface Mapping'. 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 'Command Interface Mapping'.
        See Also:
        doSwitch(EObject)
      • caseAutoCommandMapEntry

        public T1 caseAutoCommandMapEntry​(Map.Entry<String,​FormCommandInterfaceItem> object)
        Returns the result of interpreting the object as an instance of 'Auto Command Map Entry'. 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 'Auto Command Map Entry'.
        See Also:
        doSwitch(EObject)
      • casePanel

        public T1 casePanel​(Panel object)
        Returns the result of interpreting the object as an instance of 'Panel'. 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 'Panel'.
        See Also:
        doSwitch(EObject)
      • caseGroup

        public T1 caseGroup​(Group object)
        Returns the result of interpreting the object as an instance of 'Group'. 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 'Group'.
        See Also:
        doSwitch(EObject)
      • caseGroupItem

        public <T> T1 caseGroupItem​(GroupItem<T> object)
        Returns the result of interpreting the object as an instance of 'Group Item'. 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 'Group Item'.
        See Also:
        doSwitch(EObject)
      • casePersistedGroupItem

        public T1 casePersistedGroupItem​(PersistedGroupItem object)
        Returns the result of interpreting the object as an instance of 'Persisted Group Item'. 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 'Persisted Group Item'.
        See Also:
        doSwitch(EObject)
      • caseAutoGroupItem

        public T1 caseAutoGroupItem​(AutoGroupItem object)
        Returns the result of interpreting the object as an instance of 'Auto Group Item'. 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 'Auto Group Item'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public T1 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<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)