com.ibm.commerce.giftcenter.facade.datatypes.util

Class GiftCenterSwitch

  • java.lang.Object
    • com.ibm.commerce.giftcenter.facade.datatypes.util.GiftCenterSwitch


  • public class GiftCenterSwitch
    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:
    GiftCenterPackage
    • Constructor Detail

      • GiftCenterSwitch

        public GiftCenterSwitch()
        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.
      • caseAcknowledgeGiftListDataAreaType

        public java.lang.Object caseAcknowledgeGiftListDataAreaType(AcknowledgeGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseAcknowledgeGiftListType

        public java.lang.Object caseAcknowledgeGiftListType(AcknowledgeGiftListType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Gift List 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 Gift List Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeGiftListDataAreaType

        public java.lang.Object caseChangeGiftListDataAreaType(ChangeGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Change Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeGiftListType

        public java.lang.Object caseChangeGiftListType(ChangeGiftListType object)
        Returns the result of interpreting the object as an instance of 'Change Gift List 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 Gift List 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)
      • caseEmailRecipientsType

        public java.lang.Object caseEmailRecipientsType(EmailRecipientsType object)
        Returns the result of interpreting the object as an instance of 'Email Recipients 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 'Email Recipients Type'.
        See Also:
        doSwitch(EObject)
      • caseGetGiftListDataAreaType

        public java.lang.Object caseGetGiftListDataAreaType(GetGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Get Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseGetGiftListType

        public java.lang.Object caseGetGiftListType(GetGiftListType object)
        Returns the result of interpreting the object as an instance of 'Get Gift List 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 Gift List Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListAccessSpecifierType

        public java.lang.Object caseGiftListAccessSpecifierType(GiftListAccessSpecifierType object)
        Returns the result of interpreting the object as an instance of 'Gift List Access Specifier 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 'Gift List Access Specifier Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListAnnouncementType

        public java.lang.Object caseGiftListAnnouncementType(GiftListAnnouncementType object)
        Returns the result of interpreting the object as an instance of 'Gift List Announcement 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 'Gift List Announcement Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListDescriptionType

        public java.lang.Object caseGiftListDescriptionType(GiftListDescriptionType object)
        Returns the result of interpreting the object as an instance of 'Gift List 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 'Gift List Description Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListEventInformationType

        public java.lang.Object caseGiftListEventInformationType(GiftListEventInformationType object)
        Returns the result of interpreting the object as an instance of 'Gift List Event Information 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 'Gift List Event Information Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListItemType

        public java.lang.Object caseGiftListItemType(GiftListItemType object)
        Returns the result of interpreting the object as an instance of 'Gift List Item 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 'Gift List Item Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListPurchaseRecordType

        public java.lang.Object caseGiftListPurchaseRecordType(GiftListPurchaseRecordType object)
        Returns the result of interpreting the object as an instance of 'Gift List Purchase 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 'Gift List Purchase Record Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListRegistrantType

        public java.lang.Object caseGiftListRegistrantType(GiftListRegistrantType object)
        Returns the result of interpreting the object as an instance of 'Gift List Registrant 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 'Gift List Registrant Type'.
        See Also:
        doSwitch(EObject)
      • caseGiftListType

        public java.lang.Object caseGiftListType(GiftListType object)
        Returns the result of interpreting the object as an instance of 'Gift List 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 'Gift List Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessGiftListDataAreaType

        public java.lang.Object caseProcessGiftListDataAreaType(ProcessGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Process Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessGiftListType

        public java.lang.Object caseProcessGiftListType(ProcessGiftListType object)
        Returns the result of interpreting the object as an instance of 'Process Gift List 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 Gift List Type'.
        See Also:
        doSwitch(EObject)
      • casePurchasedItemDetailsType

        public java.lang.Object casePurchasedItemDetailsType(PurchasedItemDetailsType object)
        Returns the result of interpreting the object as an instance of 'Purchased Item Details 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 'Purchased Item Details Type'.
        See Also:
        doSwitch(EObject)
      • casePurchaseRecordIdentifierType

        public java.lang.Object casePurchaseRecordIdentifierType(PurchaseRecordIdentifierType object)
        Returns the result of interpreting the object as an instance of 'Purchase Record 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 'Purchase Record Identifier Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondGiftListDataAreaType

        public java.lang.Object caseRespondGiftListDataAreaType(RespondGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Respond Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondGiftListType

        public java.lang.Object caseRespondGiftListType(RespondGiftListType object)
        Returns the result of interpreting the object as an instance of 'Respond Gift List 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 Gift List Type'.
        See Also:
        doSwitch(EObject)
      • caseShowGiftListDataAreaType

        public java.lang.Object caseShowGiftListDataAreaType(ShowGiftListDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Show Gift List 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 Gift List Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseShowGiftListType

        public java.lang.Object caseShowGiftListType(ShowGiftListType object)
        Returns the result of interpreting the object as an instance of 'Show Gift List 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 Gift List 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)