Class SupplySwitch<T>


  • public class SupplySwitch<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:
    SupplyPackage
    • Field Detail

      • modelPackage

        protected static SupplyPackage modelPackage
        The cached model package
    • Constructor Detail

      • SupplySwitch

        public SupplySwitch()
        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.
      • caseSupplyPropertyContainer

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

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

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

        public T caseBaseSupplyObject​(BaseSupplyObject object)
        Returns the result of interpreting the object as an instance of 'Base Supply Object'. 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 'Base Supply Object'.
        See Also:
        doSwitch(EObject)
      • caseSupplyGenericObject

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

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

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

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

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

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

        public T caseBaseSupplyFormObject​(BaseSupplyFormObject object)
        Returns the result of interpreting the object as an instance of 'Base Supply Form Object'. 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 'Base Supply Form Object'.
        See Also:
        doSwitch(EObject)
      • caseSupplyFormItem

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

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

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

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

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

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

        public T caseLibraryIntegrationSettings​(LibraryIntegrationSettings object)
        Returns the result of interpreting the object as an instance of 'Library Integration Settings'. 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 'Library Integration Settings'.
        See Also:
        doSwitch(EObject)
      • caseDataProtection

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

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

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

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

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

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

        public T caseProtectedObject​(ProtectedObject object)
        Returns the result of interpreting the object as an instance of 'Protected Object'. 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 'Protected Object'.
        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)