com.ibm.websphere.models.config.wbi.nd.topology.instance.util
Class WBITopologySwitch

java.lang.Object
  extended by com.ibm.websphere.models.config.wbi.nd.topology.instance.util.WBITopologySwitch

public class WBITopologySwitch
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:
WBITopologyPackage

Field Summary
protected static WBITopologyPackage modelPackage
          The cached model package
 
Constructor Summary
WBITopologySwitch()
          Creates an instance of the switch
 
Method Summary
 java.lang.Object caseWBI_SIB(WBI_SIB object)
          Returns the result of interpretting the object as an instance of 'WBI SIB'
 java.lang.Object caseWBIAuthAlias(WBIAuthAlias object)
          Returns the result of interpretting the object as an instance of 'WBI Auth Alias'
 java.lang.Object caseWBIBaseElement(WBIBaseElement object)
          Returns the result of interpretting the object as an instance of 'WBI Base Element'
 java.lang.Object caseWBIBus(WBIBus object)
          Returns the result of interpretting the object as an instance of 'WBI Bus'
 java.lang.Object caseWBICluster(WBICluster object)
          Returns the result of interpretting the object as an instance of 'WBI Cluster'
 java.lang.Object caseWBIClusterMember(WBIClusterMember object)
          Returns the result of interpretting the object as an instance of 'WBI Cluster Member'
 java.lang.Object caseWBIComponent(WBIComponent object)
          Returns the result of interpretting the object as an instance of 'WBI Component'
 java.lang.Object caseWBIDataSrc(WBIDataSrc object)
          Returns the result of interpretting the object as an instance of 'WBI Data Src'
 java.lang.Object caseWBIDBProvider(WBIDBProvider object)
          Returns the result of interpretting the object as an instance of 'WBIDB Provider'
 java.lang.Object caseWBIDeploymentTarget(WBIDeploymentTarget object)
          Returns the result of interpretting the object as an instance of 'WBI Deployment Target'
 java.lang.Object caseWBIME(WBIME object)
          Returns the result of interpretting the object as an instance of 'WBIME'
 java.lang.Object caseWBINode(WBINode object)
          Returns the result of interpretting the object as an instance of 'WBI Node'
 java.lang.Object caseWBIProperty(WBIProperty object)
          Returns the result of interpretting the object as an instance of 'WBI Property'
 java.lang.Object caseWBIRestServicesComponent(WBIRestServicesComponent object)
          Returns the result of interpretting the object as an instance of 'WBI Rest Services Component'
 java.lang.Object caseWBIRuntimeCapability(WBIRuntimeCapability object)
          Returns the result of interpretting the object as an instance of 'WBI Runtime Capability'
 java.lang.Object caseWBISingleServer(WBISingleServer object)
          Returns the result of interpretting the object as an instance of 'WBI Single Server'
 java.lang.Object caseWBITopology(WBITopology object)
          Returns the result of interpretting the object as an instance of 'WBI Topology'
 java.lang.Object caseWBITopologyPattern(WBITopologyPattern object)
          Returns the result of interpretting the object as an instance of 'Pattern'
 java.lang.Object caseWBITopologyRole(WBITopologyRole object)
          Returns the result of interpretting the object as an instance of 'Role'
 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 WBITopologyPackage modelPackage
The cached model package

Constructor Detail

WBITopologySwitch

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

caseWBITopology

public java.lang.Object caseWBITopology(WBITopology object)
Returns the result of interpretting the object as an instance of 'WBI Topology'. 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 'WBI Topology'.
See Also:
doSwitch(EObject)

caseWBITopologyRole

public java.lang.Object caseWBITopologyRole(WBITopologyRole object)
Returns the result of interpretting the object as an instance of 'Role'. 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 'Role'.
See Also:
doSwitch(EObject)

caseWBIComponent

public java.lang.Object caseWBIComponent(WBIComponent object)
Returns the result of interpretting the object as an instance of 'WBI Component'. 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 'WBI Component'.
See Also:
doSwitch(EObject)

caseWBI_SIB

public java.lang.Object caseWBI_SIB(WBI_SIB object)
Returns the result of interpretting the object as an instance of 'WBI SIB'. 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 'WBI SIB'.
See Also:
doSwitch(EObject)

caseWBINode

public java.lang.Object caseWBINode(WBINode object)
Returns the result of interpretting the object as an instance of 'WBI Node'. 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 'WBI Node'.
See Also:
doSwitch(EObject)

caseWBIDeploymentTarget

public java.lang.Object caseWBIDeploymentTarget(WBIDeploymentTarget object)
Returns the result of interpretting the object as an instance of 'WBI Deployment 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 'WBI Deployment Target'.
See Also:
doSwitch(EObject)

caseWBIDataSrc

public java.lang.Object caseWBIDataSrc(WBIDataSrc object)
Returns the result of interpretting the object as an instance of 'WBI Data Src'. 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 'WBI Data Src'.
See Also:
doSwitch(EObject)

caseWBIAuthAlias

public java.lang.Object caseWBIAuthAlias(WBIAuthAlias object)
Returns the result of interpretting the object as an instance of 'WBI Auth Alias'. 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 'WBI Auth Alias'.
See Also:
doSwitch(EObject)

caseWBIBus

public java.lang.Object caseWBIBus(WBIBus object)
Returns the result of interpretting the object as an instance of 'WBI Bus'. 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 'WBI Bus'.
See Also:
doSwitch(EObject)

caseWBIME

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

caseWBISingleServer

public java.lang.Object caseWBISingleServer(WBISingleServer object)
Returns the result of interpretting the object as an instance of 'WBI Single Server'. 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 'WBI Single Server'.
See Also:
doSwitch(EObject)

caseWBICluster

public java.lang.Object caseWBICluster(WBICluster object)
Returns the result of interpretting the object as an instance of 'WBI Cluster'. 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 'WBI Cluster'.
See Also:
doSwitch(EObject)

caseWBITopologyPattern

public java.lang.Object caseWBITopologyPattern(WBITopologyPattern object)
Returns the result of interpretting the object as an instance of 'Pattern'. 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 'Pattern'.
See Also:
doSwitch(EObject)

caseWBIRuntimeCapability

public java.lang.Object caseWBIRuntimeCapability(WBIRuntimeCapability object)
Returns the result of interpretting the object as an instance of 'WBI Runtime Capability'. 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 'WBI Runtime Capability'.
See Also:
doSwitch(EObject)

caseWBIBaseElement

public java.lang.Object caseWBIBaseElement(WBIBaseElement object)
Returns the result of interpretting the object as an instance of 'WBI Base Element'. 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 'WBI Base Element'.
See Also:
doSwitch(EObject)

caseWBIProperty

public java.lang.Object caseWBIProperty(WBIProperty object)
Returns the result of interpretting the object as an instance of 'WBI Property'. 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 'WBI Property'.
See Also:
doSwitch(EObject)

caseWBIDBProvider

public java.lang.Object caseWBIDBProvider(WBIDBProvider object)
Returns the result of interpretting the object as an instance of 'WBIDB Provider'. 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 'WBIDB Provider'.
See Also:
doSwitch(EObject)

caseWBIClusterMember

public java.lang.Object caseWBIClusterMember(WBIClusterMember object)
Returns the result of interpretting the object as an instance of 'WBI Cluster Member'. 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 'WBI Cluster Member'.
See Also:
doSwitch(EObject)

caseWBIRestServicesComponent

public java.lang.Object caseWBIRestServicesComponent(WBIRestServicesComponent object)
Returns the result of interpretting the object as an instance of 'WBI Rest Services Component'. 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 'WBI Rest Services Component'.
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)