com.ibm.commerce.inventory.facade.datatypes.util

Class InventorySwitch

  • java.lang.Object
    • com.ibm.commerce.inventory.facade.datatypes.util.InventorySwitch


  • public class InventorySwitch
    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:
    InventoryPackage
    • Constructor Detail

      • InventorySwitch

        public InventorySwitch()
        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.
      • caseAcknowledgeInventoryRequirementDataAreaType

        public java.lang.Object caseAcknowledgeInventoryRequirementDataAreaType(AcknowledgeInventoryRequirementDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Inventory Requirement 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 'Acknowledge Inventory Requirement Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseAcknowledgeInventoryRequirementType

        public java.lang.Object caseAcknowledgeInventoryRequirementType(AcknowledgeInventoryRequirementType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Inventory Requirement 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 'Acknowledge Inventory Requirement Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeInventoryAvailabilityDataAreaType

        public java.lang.Object caseChangeInventoryAvailabilityDataAreaType(ChangeInventoryAvailabilityDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Change Inventory Availability 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 'Change Inventory Availability Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeInventoryAvailabilityType

        public java.lang.Object caseChangeInventoryAvailabilityType(ChangeInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Change Inventory Availability 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 'Change Inventory Availability Type'.
        See Also:
        doSwitch(EObject)
      • 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)
      • caseExpectedInventoryDetailExternalIdentifierType

        public java.lang.Object caseExpectedInventoryDetailExternalIdentifierType(ExpectedInventoryDetailExternalIdentifierType object)
        Returns the result of interpreting the object as an instance of 'Expected Inventory Detail External Identifier 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 'Expected Inventory Detail External Identifier Type'.
        See Also:
        doSwitch(EObject)
      • caseExpectedInventoryDetailIdentifierType

        public java.lang.Object caseExpectedInventoryDetailIdentifierType(ExpectedInventoryDetailIdentifierType object)
        Returns the result of interpreting the object as an instance of 'Expected Inventory Detail Identifier 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 'Expected Inventory Detail Identifier Type'.
        See Also:
        doSwitch(EObject)
      • caseExpectedInventoryDetailType

        public java.lang.Object caseExpectedInventoryDetailType(ExpectedInventoryDetailType object)
        Returns the result of interpreting the object as an instance of 'Expected Inventory Detail 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 'Expected Inventory Detail Type'.
        See Also:
        doSwitch(EObject)
      • caseExpectedInventoryRecordType

        public java.lang.Object caseExpectedInventoryRecordType(ExpectedInventoryRecordType object)
        Returns the result of interpreting the object as an instance of 'Expected Inventory Record 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 'Expected Inventory Record Type'.
        See Also:
        doSwitch(EObject)
      • caseExpectedInventoryType

        public java.lang.Object caseExpectedInventoryType(ExpectedInventoryType object)
        Returns the result of interpreting the object as an instance of 'Expected Inventory 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 'Expected Inventory Type'.
        See Also:
        doSwitch(EObject)
      • caseFulfillmentCenterInventoryAvailabilityType

        public java.lang.Object caseFulfillmentCenterInventoryAvailabilityType(FulfillmentCenterInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Fulfillment Center Inventory Availability 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 'Fulfillment Center Inventory Availability Type'.
        See Also:
        doSwitch(EObject)
      • caseGetInventoryAvailabilityDataAreaType

        public java.lang.Object caseGetInventoryAvailabilityDataAreaType(GetInventoryAvailabilityDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Get Inventory Availability 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 Inventory Availability Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseGetInventoryAvailabilityType

        public java.lang.Object caseGetInventoryAvailabilityType(GetInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Get Inventory Availability 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 Inventory Availability Type'.
        See Also:
        doSwitch(EObject)
      • caseInventoryAdjustmentCodeType

        public java.lang.Object caseInventoryAdjustmentCodeType(InventoryAdjustmentCodeType object)
        Returns the result of interpreting the object as an instance of 'Adjustment 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 'Adjustment Code Type'.
        See Also:
        doSwitch(EObject)
      • caseInventoryAdjustmentType

        public java.lang.Object caseInventoryAdjustmentType(InventoryAdjustmentType object)
        Returns the result of interpreting the object as an instance of 'Adjustment 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 'Adjustment Type'.
        See Also:
        doSwitch(EObject)
      • caseInventoryAvailabilityType

        public java.lang.Object caseInventoryAvailabilityType(InventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Availability 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 'Availability Type'.
        See Also:
        doSwitch(EObject)
      • caseInventoryReceiptType

        public java.lang.Object caseInventoryReceiptType(InventoryReceiptType object)
        Returns the result of interpreting the object as an instance of 'Receipt 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 'Receipt Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessInventoryRequirementDataAreaType

        public java.lang.Object caseProcessInventoryRequirementDataAreaType(ProcessInventoryRequirementDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Process Inventory Requirement 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 'Process Inventory Requirement Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessInventoryRequirementType

        public java.lang.Object caseProcessInventoryRequirementType(ProcessInventoryRequirementType object)
        Returns the result of interpreting the object as an instance of 'Process Inventory Requirement 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 'Process Inventory Requirement Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondInventoryAvailabilityDataAreaType

        public java.lang.Object caseRespondInventoryAvailabilityDataAreaType(RespondInventoryAvailabilityDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Respond Inventory Availability 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 'Respond Inventory Availability Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondInventoryAvailabilityType

        public java.lang.Object caseRespondInventoryAvailabilityType(RespondInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Respond Inventory Availability 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 'Respond Inventory Availability Type'.
        See Also:
        doSwitch(EObject)
      • caseShowInventoryAvailabilityDataAreaType

        public java.lang.Object caseShowInventoryAvailabilityDataAreaType(ShowInventoryAvailabilityDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Show Inventory Availability 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 Inventory Availability Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseShowInventoryAvailabilityType

        public java.lang.Object caseShowInventoryAvailabilityType(ShowInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Show Inventory Availability 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 Inventory Availability Type'.
        See Also:
        doSwitch(EObject)
      • caseSyncInventoryAvailabilityDataAreaType

        public java.lang.Object caseSyncInventoryAvailabilityDataAreaType(SyncInventoryAvailabilityDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Sync Inventory Availability 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 'Sync Inventory Availability Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseSyncInventoryAvailabilityType

        public java.lang.Object caseSyncInventoryAvailabilityType(SyncInventoryAvailabilityType object)
        Returns the result of interpreting the object as an instance of 'Sync Inventory Availability 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 'Sync Inventory Availability 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)
      • 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)