com.ibm.commerce.subscription.facade.datatypes.util

Class SubscriptionSwitch

  • java.lang.Object
    • com.ibm.commerce.subscription.facade.datatypes.util.SubscriptionSwitch


  • public class SubscriptionSwitch
    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:
    SubscriptionPackage
    • Constructor Detail

      • SubscriptionSwitch

        public SubscriptionSwitch()
        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.
      • caseAcknowledgeSubscriptionDataAreaType

        public java.lang.Object caseAcknowledgeSubscriptionDataAreaType(AcknowledgeSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseAcknowledgeSubscriptionType

        public java.lang.Object caseAcknowledgeSubscriptionType(AcknowledgeSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Acknowledge Subscription 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 Subscription Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeSubscriptionDataAreaType

        public java.lang.Object caseChangeSubscriptionDataAreaType(ChangeSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Change Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseChangeSubscriptionType

        public java.lang.Object caseChangeSubscriptionType(ChangeSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Change Subscription 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 Subscription 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)
      • caseGetSubscriptionDataAreaType

        public java.lang.Object caseGetSubscriptionDataAreaType(GetSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Get Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseGetSubscriptionType

        public java.lang.Object caseGetSubscriptionType(GetSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Get Subscription 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 Subscription Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessSubscriptionDataAreaType

        public java.lang.Object caseProcessSubscriptionDataAreaType(ProcessSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Process Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseProcessSubscriptionType

        public java.lang.Object caseProcessSubscriptionType(ProcessSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Process Subscription 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 Subscription Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondSubscriptionDataAreaType

        public java.lang.Object caseRespondSubscriptionDataAreaType(RespondSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Respond Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseRespondSubscriptionType

        public java.lang.Object caseRespondSubscriptionType(RespondSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Respond Subscription 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 Subscription Type'.
        See Also:
        doSwitch(EObject)
      • caseShowSubscriptionDataAreaType

        public java.lang.Object caseShowSubscriptionDataAreaType(ShowSubscriptionDataAreaType object)
        Returns the result of interpreting the object as an instance of 'Show Subscription 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 Subscription Data Area Type'.
        See Also:
        doSwitch(EObject)
      • caseShowSubscriptionType

        public java.lang.Object caseShowSubscriptionType(ShowSubscriptionType object)
        Returns the result of interpreting the object as an instance of 'Show Subscription 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 Subscription Type'.
        See Also:
        doSwitch(EObject)
      • caseSubscriptionPurchaseDetailsType

        public java.lang.Object caseSubscriptionPurchaseDetailsType(SubscriptionPurchaseDetailsType object)
        Returns the result of interpreting the object as an instance of 'Purchase 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 'Purchase Details Type'.
        See Also:
        doSwitch(EObject)
      • caseSubscriptionRenewalInfoType

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

        public java.lang.Object caseSubscriptionSuspendedPeriodType(SubscriptionSuspendedPeriodType object)
        Returns the result of interpreting the object as an instance of 'Suspended Period 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 'Suspended Period Type'.
        See Also:
        doSwitch(EObject)
      • caseSubscriptionType

        public java.lang.Object caseSubscriptionType(SubscriptionType object)
        Returns the result of interpreting the object as an instance of '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 '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)