com.ibm.websphere.models.config.bpm.federation.util
Class BpmfederationSwitch

java.lang.Object
  extended by com.ibm.websphere.models.config.bpm.federation.util.BpmfederationSwitch

public class BpmfederationSwitch
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:
BpmfederationPackage

Field Summary
protected static BpmfederationPackage modelPackage
          The cached model package
 
Constructor Summary
BpmfederationSwitch()
          Creates an instance of the switch
 
Method Summary
 java.lang.Object caseBPMApiCellTarget(BPMApiCellTarget object)
          Returns the result of interpretting the object as an instance of 'BPM Api Cell Target'
 java.lang.Object caseBPMApiClusterTarget(BPMApiClusterTarget object)
          Returns the result of interpretting the object as an instance of 'BPM Api Cluster Target'
 java.lang.Object caseBPMApiDomain(BPMApiDomain object)
          Returns the result of interpretting the object as an instance of 'BPM Api Domain'
 java.lang.Object caseBPMApiFederation(BPMApiFederation object)
          Returns the result of interpretting the object as an instance of 'BPM Api Federation'
 java.lang.Object caseBPMApiRESTService(BPMApiRESTService object)
          Returns the result of interpretting the object as an instance of 'BPM Api REST Service'
 java.lang.Object caseBPMApiServerTarget(BPMApiServerTarget object)
          Returns the result of interpretting the object as an instance of 'BPM Api Server Target'
 java.lang.Object caseBPMApiSystemTarget(BPMApiSystemTarget object)
          Returns the result of interpretting the object as an instance of 'BPM Api System Target'
 java.lang.Object caseBPMApiTarget(BPMApiTarget object)
          Returns the result of interpretting the object as an instance of 'BPM Api Target'
 java.lang.Object caseBPMFederationConfiguration(BPMFederationConfiguration object)
          Returns the result of interpretting the object as an instance of 'BPM Federation Configuration'
 java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpretting the object as an instance of 'EObject'
protected  java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass, 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
 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
protected  java.lang.Object doSwitch(int classifierID, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static BpmfederationPackage modelPackage
The cached model package

Constructor Detail

BpmfederationSwitch

public BpmfederationSwitch()
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.

doSwitch

protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass,
                                    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.

doSwitch

protected java.lang.Object doSwitch(int classifierID,
                                    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.

caseBPMFederationConfiguration

public java.lang.Object caseBPMFederationConfiguration(BPMFederationConfiguration object)
Returns the result of interpretting the object as an instance of 'BPM Federation Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Federation Configuration'.
See Also:
doSwitch(EObject)

caseBPMApiDomain

public java.lang.Object caseBPMApiDomain(BPMApiDomain object)
Returns the result of interpretting the object as an instance of 'BPM Api Domain'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Domain'.
See Also:
doSwitch(EObject)

caseBPMApiFederation

public java.lang.Object caseBPMApiFederation(BPMApiFederation object)
Returns the result of interpretting the object as an instance of 'BPM Api Federation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Federation'.
See Also:
doSwitch(EObject)

caseBPMApiTarget

public java.lang.Object caseBPMApiTarget(BPMApiTarget object)
Returns the result of interpretting the object as an instance of 'BPM Api Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Target'.
See Also:
doSwitch(EObject)

caseBPMApiCellTarget

public java.lang.Object caseBPMApiCellTarget(BPMApiCellTarget object)
Returns the result of interpretting the object as an instance of 'BPM Api Cell Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Cell Target'.
See Also:
doSwitch(EObject)

caseBPMApiClusterTarget

public java.lang.Object caseBPMApiClusterTarget(BPMApiClusterTarget object)
Returns the result of interpretting the object as an instance of 'BPM Api Cluster Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Cluster Target'.
See Also:
doSwitch(EObject)

caseBPMApiServerTarget

public java.lang.Object caseBPMApiServerTarget(BPMApiServerTarget object)
Returns the result of interpretting the object as an instance of 'BPM Api Server Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api Server Target'.
See Also:
doSwitch(EObject)

caseBPMApiSystemTarget

public java.lang.Object caseBPMApiSystemTarget(BPMApiSystemTarget object)
Returns the result of interpretting the object as an instance of 'BPM Api System Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api System Target'.
See Also:
doSwitch(EObject)

caseBPMApiRESTService

public java.lang.Object caseBPMApiRESTService(BPMApiRESTService object)
Returns the result of interpretting the object as an instance of 'BPM Api REST Service'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'BPM Api REST Service'.
See Also:
doSwitch(EObject)

defaultCase

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