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

Class GiftCenterEntitySwitch

  • java.lang.Object
    • com.ibm.commerce.giftcenter.facade.server.entity.datatypes.util.GiftCenterEntitySwitch


  • public class GiftCenterEntitySwitch
    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:
    GiftCenterEntityPackage
    • Constructor Summary

      Constructors 
      Constructor and Description
      GiftCenterEntitySwitch()
      Creates an instance of the switch.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object caseGiftCenterRoot(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.GiftCenterRoot object)
      Returns the result of interpreting the object as an instance of 'Gift Center Root'.
      java.lang.Object caseGraddr(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Graddr object)
      Returns the result of interpreting the object as an instance of 'Graddr'.
      java.lang.Object caseGrannhist(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grannhist object)
      Returns the result of interpreting the object as an instance of 'Grannhist'.
      java.lang.Object caseGranntmplt(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Granntmplt object)
      Returns the result of interpreting the object as an instance of 'Granntmplt'.
      java.lang.Object caseGremllist(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gremllist object)
      Returns the result of interpreting the object as an instance of 'Gremllist'.
      java.lang.Object caseGretdesc(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gretdesc object)
      Returns the result of interpreting the object as an instance of 'Gretdesc'.
      java.lang.Object caseGrevnttype(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grevnttype object)
      Returns the result of interpreting the object as an instance of 'Grevnttype'.
      java.lang.Object caseGrevtrmdlg(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grevtrmdlg object)
      Returns the result of interpreting the object as an instance of 'Grevtrmdlg'.
      java.lang.Object caseGrgftitm(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftitm object)
      Returns the result of interpreting the object as an instance of 'Grgftitm'.
      java.lang.Object caseGrgftreg(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftreg object)
      Returns the result of interpreting the object as an instance of 'Grgftreg'.
      java.lang.Object caseGrperattr(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grperattr object)
      Returns the result of interpreting the object as an instance of 'Grperattr'.
      java.lang.Object caseGrpurrec(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grpurrec object)
      Returns the result of interpreting the object as an instance of 'Grpurrec'.
      java.lang.Object caseGrregrule(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grregrule object)
      Returns the result of interpreting the object as an instance of 'Grregrule'.
      java.lang.Object caseGrrgstrnt(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grrgstrnt object)
      Returns the result of interpreting the object as an instance of 'Grrgstrnt'.
      java.lang.Object caseGruserauth(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gruserauth object)
      Returns the result of interpreting the object as an instance of 'Gruserauth'.
      java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
      Returns the result of interpreting the object as an instance of 'EObject'.
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GiftCenterEntitySwitch

        public GiftCenterEntitySwitch()
        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.
      • caseGiftCenterRoot

        public java.lang.Object caseGiftCenterRoot(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.GiftCenterRoot object)
        Returns the result of interpreting the object as an instance of 'Gift Center 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 'Gift Center Root'.
        See Also:
        doSwitch(EObject)
      • caseGraddr

        public java.lang.Object caseGraddr(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Graddr object)
        Returns the result of interpreting the object as an instance of 'Graddr'. 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 'Graddr'.
        See Also:
        doSwitch(EObject)
      • caseGrannhist

        public java.lang.Object caseGrannhist(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grannhist object)
        Returns the result of interpreting the object as an instance of 'Grannhist'. 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 'Grannhist'.
        See Also:
        doSwitch(EObject)
      • caseGranntmplt

        public java.lang.Object caseGranntmplt(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Granntmplt object)
        Returns the result of interpreting the object as an instance of 'Granntmplt'. 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 'Granntmplt'.
        See Also:
        doSwitch(EObject)
      • caseGremllist

        public java.lang.Object caseGremllist(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gremllist object)
        Returns the result of interpreting the object as an instance of 'Gremllist'. 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 'Gremllist'.
        See Also:
        doSwitch(EObject)
      • caseGretdesc

        public java.lang.Object caseGretdesc(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gretdesc object)
        Returns the result of interpreting the object as an instance of 'Gretdesc'. 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 'Gretdesc'.
        See Also:
        doSwitch(EObject)
      • caseGrevnttype

        public java.lang.Object caseGrevnttype(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grevnttype object)
        Returns the result of interpreting the object as an instance of 'Grevnttype'. 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 'Grevnttype'.
        See Also:
        doSwitch(EObject)
      • caseGrevtrmdlg

        public java.lang.Object caseGrevtrmdlg(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grevtrmdlg object)
        Returns the result of interpreting the object as an instance of 'Grevtrmdlg'. 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 'Grevtrmdlg'.
        See Also:
        doSwitch(EObject)
      • caseGrgftitm

        public java.lang.Object caseGrgftitm(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftitm object)
        Returns the result of interpreting the object as an instance of 'Grgftitm'. 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 'Grgftitm'.
        See Also:
        doSwitch(EObject)
      • caseGrgftreg

        public java.lang.Object caseGrgftreg(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grgftreg object)
        Returns the result of interpreting the object as an instance of 'Grgftreg'. 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 'Grgftreg'.
        See Also:
        doSwitch(EObject)
      • caseGrperattr

        public java.lang.Object caseGrperattr(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grperattr object)
        Returns the result of interpreting the object as an instance of 'Grperattr'. 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 'Grperattr'.
        See Also:
        doSwitch(EObject)
      • caseGrpurrec

        public java.lang.Object caseGrpurrec(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grpurrec object)
        Returns the result of interpreting the object as an instance of 'Grpurrec'. 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 'Grpurrec'.
        See Also:
        doSwitch(EObject)
      • caseGrregrule

        public java.lang.Object caseGrregrule(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grregrule object)
        Returns the result of interpreting the object as an instance of 'Grregrule'. 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 'Grregrule'.
        See Also:
        doSwitch(EObject)
      • caseGrrgstrnt

        public java.lang.Object caseGrrgstrnt(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Grrgstrnt object)
        Returns the result of interpreting the object as an instance of 'Grrgstrnt'. 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 'Grrgstrnt'.
        See Also:
        doSwitch(EObject)
      • caseGruserauth

        public java.lang.Object caseGruserauth(com.ibm.commerce.giftcenter.facade.server.entity.datatypes.Gruserauth object)
        Returns the result of interpreting the object as an instance of 'Gruserauth'. 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 'Gruserauth'.
        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)