Class ModelSwitch<T>


  • public class ModelSwitch<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:
    ModelPackage
    • Field Detail

      • modelPackage

        protected static ModelPackage modelPackage
        The cached model package
    • Constructor Detail

      • ModelSwitch

        public ModelSwitch()
        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<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • 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.
      • caseRuntimeInstallation

        public T caseRuntimeInstallation​(RuntimeInstallation object)
        Returns the result of interpreting the object as an instance of 'Runtime Installation'. 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 'Runtime Installation'.
        See Also:
        doSwitch(EObject)
      • caseSection

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

        public T 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)
      • caseInfobaseReference

        public T caseInfobaseReference​(InfobaseReference object)
        Returns the result of interpreting the object as an instance of 'Infobase Reference'. 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 'Infobase Reference'.
        See Also:
        doSwitch(EObject)
      • caseIConnectionString

        public T caseIConnectionString​(IConnectionString object)
        Returns the result of interpreting the object as an instance of 'IConnection String'. 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 'IConnection String'.
        See Also:
        doSwitch(EObject)
      • caseFileConnectionString

        public T caseFileConnectionString​(FileConnectionString object)
        Returns the result of interpreting the object as an instance of 'File Connection String'. 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 'File Connection String'.
        See Also:
        doSwitch(EObject)
      • caseServerConnectionString

        public T caseServerConnectionString​(ServerConnectionString object)
        Returns the result of interpreting the object as an instance of 'Server Connection String'. 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 'Server Connection String'.
        See Also:
        doSwitch(EObject)
      • caseWebServerConnectionString

        public T caseWebServerConnectionString​(WebServerConnectionString object)
        Returns the result of interpreting the object as an instance of 'Web Server Connection String'. 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 'Web Server Connection String'.
        See Also:
        doSwitch(EObject)
      • caseCreateInfobaseArguments

        public T caseCreateInfobaseArguments​(CreateInfobaseArguments object)
        Returns the result of interpreting the object as an instance of 'Create Infobase Arguments'. 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 'Create Infobase Arguments'.
        See Also:
        doSwitch(EObject)
      • caseCreateServerInfobaseArguments

        public T caseCreateServerInfobaseArguments​(CreateServerInfobaseArguments object)
        Returns the result of interpreting the object as an instance of 'Create Server Infobase Arguments'. 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 'Create Server Infobase Arguments'.
        See Also:
        doSwitch(EObject)
      • caseWebServer

        public T caseWebServer​(WebServer object)
        Returns the result of interpreting the object as an instance of 'Web Server'. 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 'Web Server'.
        See Also:
        doSwitch(EObject)
      • casePublication

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

        public T caseInfobasePublication​(InfobasePublication object)
        Returns the result of interpreting the object as an instance of 'Infobase Publication'. 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 'Infobase Publication'.
        See Also:
        doSwitch(EObject)
      • caseMobileApplicationPublication

        public T caseMobileApplicationPublication​(MobileApplicationPublication object)
        Returns the result of interpreting the object as an instance of 'Mobile Application Publication'. 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 'Mobile Application Publication'.
        See Also:
        doSwitch(EObject)
      • casePool

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

        public T caseDataSeparator​(DataSeparator object)
        Returns the result of interpreting the object as an instance of 'Data Separator'. 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 'Data Separator'.
        See Also:
        doSwitch(EObject)
      • caseDebug

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

        public T caseOpenId​(OpenId object)
        Returns the result of interpreting the object as an instance of 'Open Id'. 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 'Open Id'.
        See Also:
        doSwitch(EObject)
      • caseOpenIdProvider

        public T caseOpenIdProvider​(OpenIdProvider object)
        Returns the result of interpreting the object as an instance of 'Open Id Provider'. 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 'Open Id Provider'.
        See Also:
        doSwitch(EObject)
      • caseOpenIdConnect

        public T caseOpenIdConnect​(OpenIdConnect object)
        Returns the result of interpreting the object as an instance of 'Open Id Connect'. 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 'Open Id Connect'.
        See Also:
        doSwitch(EObject)
      • caseOData

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

        public T caseWebServices​(WebServices object)
        Returns the result of interpreting the object as an instance of 'Web Services'. 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 'Web Services'.
        See Also:
        doSwitch(EObject)
      • caseWebService

        public T caseWebService​(WebService object)
        Returns the result of interpreting the object as an instance of 'Web 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 'Web Service'.
        See Also:
        doSwitch(EObject)
      • caseHttpServices

        public T caseHttpServices​(HttpServices object)
        Returns the result of interpreting the object as an instance of 'Http Services'. 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 'Http Services'.
        See Also:
        doSwitch(EObject)
      • caseHttpService

        public T caseHttpService​(HttpService object)
        Returns the result of interpreting the object as an instance of 'Http 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 'Http Service'.
        See Also:
        doSwitch(EObject)
      • caseSessionReusable

        public T caseSessionReusable​(SessionReusable object)
        Returns the result of interpreting the object as an instance of 'Session Reusable'. 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 'Session Reusable'.
        See Also:
        doSwitch(EObject)
      • caseParametrizedValueList

        public T caseParametrizedValueList​(ParametrizedValueList object)
        Returns the result of interpreting the object as an instance of 'Parametrized Value List'. 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 'Parametrized Value List'.
        See Also:
        doSwitch(EObject)
      • caseValueListItem

        public T caseValueListItem​(ValueListItem object)
        Returns the result of interpreting the object as an instance of 'Value List 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 'Value List Item'.
        See Also:
        doSwitch(EObject)
      • caseValue

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