com.ibm.commerce.store.facade.datatypes.util

Class StoreSwitch

  • java.lang.Object
    • com.ibm.commerce.store.facade.datatypes.util.StoreSwitch


  • public class StoreSwitch
    extends java.lang.Object
    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:
    StorePackage
    • Constructor Detail

      • StoreSwitch

        public StoreSwitch()
        Creates an instance of the switch.
    • Method Detail

      • doSwitch

        public java.lang.Object doSwitch(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.
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseDocumentRoot

        public java.lang.Object caseDocumentRoot(DocumentRoot object)
        Returns the result of interpreting the object as an instance of 'Document Root'. 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 'Document Root'.
        See Also:
        doSwitch(EObject)
      • caseGeoNodeDescriptionType

        public java.lang.Object caseGeoNodeDescriptionType(GeoNodeDescriptionType object)
        Returns the result of interpreting the object as an instance of 'Geo Node Description Type'. 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 'Geo Node Description Type'.
        See Also:
        doSwitch(EObject)
      • caseGeoNodeType

        public java.lang.Object caseGeoNodeType(GeoNodeType object)
        Returns the result of interpreting the object as an instance of 'Geo Node Type'. 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 'Geo Node Type'.
        See Also:
        doSwitch(EObject)
      • caseGetGeoNodeDataAreaType

        public java.lang.Object caseGetGeoNodeDataAreaType(GetGeoNodeDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Get Geo Node Data Area Type'. 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 'Get Geo Node Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseGetGeoNodeType

        public java.lang.Object caseGetGeoNodeType(GetGeoNodeType object)
        Returns the result of interpreting the object as an instance of 'Get Geo Node Type'. 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 'Get Geo Node Type'.
        See Also:
        doSwitch(EObject)
      • caseGetPhysicalStoreDataAreaType

        public java.lang.Object caseGetPhysicalStoreDataAreaType(GetPhysicalStoreDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Get Physical Store Data Area Type'. 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 'Get Physical Store Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseGetPhysicalStoreType

        public java.lang.Object caseGetPhysicalStoreType(GetPhysicalStoreType object)
        Returns the result of interpreting the object as an instance of 'Get Physical Store Type'. 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 'Get Physical Store Type'.
        See Also:
        doSwitch(EObject)
      • casePhysicalStoreAttributeType

        public java.lang.Object casePhysicalStoreAttributeType(PhysicalStoreAttributeType object)
        Returns the result of interpreting the object as an instance of 'Physical Store Attribute Type'. 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 'Physical Store Attribute Type'.
        See Also:
        doSwitch(EObject)
      • casePhysicalStoreDescriptionType

        public java.lang.Object casePhysicalStoreDescriptionType(PhysicalStoreDescriptionType object)
        Returns the result of interpreting the object as an instance of 'Physical Store Description Type'. 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 'Physical Store Description Type'.
        See Also:
        doSwitch(EObject)
      • casePhysicalStoreGeoCodeType

        public java.lang.Object casePhysicalStoreGeoCodeType(PhysicalStoreGeoCodeType object)
        Returns the result of interpreting the object as an instance of 'Physical Store Geo Code Type'. 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 'Physical Store Geo Code Type'.
        See Also:
        doSwitch(EObject)
      • casePhysicalStoreLocationInfoType

        public java.lang.Object casePhysicalStoreLocationInfoType(PhysicalStoreLocationInfoType object)
        Returns the result of interpreting the object as an instance of 'Physical Store Location Info Type'. 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 'Physical Store Location Info Type'.
        See Also:
        doSwitch(EObject)
      • casePhysicalStoreType

        public java.lang.Object casePhysicalStoreType(PhysicalStoreType object)
        Returns the result of interpreting the object as an instance of 'Physical Store Type'. 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 'Physical Store Type'.
        See Also:
        doSwitch(EObject)
      • caseShowGeoNodeDataAreaType

        public java.lang.Object caseShowGeoNodeDataAreaType(ShowGeoNodeDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Show Geo Node Data Area Type'. 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 'Show Geo Node Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseShowGeoNodeType

        public java.lang.Object caseShowGeoNodeType(ShowGeoNodeType object)
        Returns the result of interpreting the object as an instance of 'Show Geo Node Type'. 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 'Show Geo Node Type'.
        See Also:
        doSwitch(EObject)
      • caseShowPhysicalStoreDataAreaType

        public java.lang.Object caseShowPhysicalStoreDataAreaType(ShowPhysicalStoreDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Show Physical Store Data Area Type'. 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 'Show Physical Store Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseShowPhysicalStoreType

        public java.lang.Object caseShowPhysicalStoreType(ShowPhysicalStoreType object)
        Returns the result of interpreting the object as an instance of 'Show Physical Store Type'. 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 'Show Physical Store Type'.
        See Also:
        doSwitch(EObject)
      • caseBusinessObjectDocumentType

        public java.lang.Object caseBusinessObjectDocumentType(BusinessObjectDocumentType object)
        Returns the result of interpreting the object as an instance of 'Business Object Document Type'. 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 'Business Object Document Type'.
        See Also:
        doSwitch(EObject)
      • caseContactInfoType

        public java.lang.Object caseContactInfoType(ContactInfoType object)
        Returns the result of interpreting the object as an instance of 'Contact Info Type'. 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 'Contact Info Type'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public java.lang.Object 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.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        doSwitch(org.eclipse.emf.ecore.EObject)