com.ibm.websphere.models.config.coreserver.util
Class CoreserverSwitch

java.lang.Object
  extended by com.ibm.websphere.models.config.coreserver.util.CoreserverSwitch

public class CoreserverSwitch
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:
CoreserverPackage

Field Summary
protected static CoreserverPackage modelPackage
          The cached model package
 
Constructor Summary
CoreserverSwitch()
          Creates an instance of the switch
 
Method Summary
 java.lang.Object caseClusterProperties(ClusterProperties object)
          Returns the result of interpretting the object as an instance of 'Cluster Properties'
 java.lang.Object caseCommonEventMonitor(CommonEventMonitor object)
          Returns the result of interpretting the object as an instance of 'Common Event Monitor'
 java.lang.Object caseCoreFramework(CoreFramework object)
          Returns the result of interpretting the object as an instance of 'Core Framework'
 java.lang.Object caseCoreServerClusterExtension(CoreServerClusterExtension object)
          Returns the result of interpretting the object as an instance of 'Core Server Cluster Extension'
 java.lang.Object caseCoreServerExtension(CoreServerExtension object)
          Returns the result of interpretting the object as an instance of 'Core Server Extension'
 java.lang.Object caseMonitorCoreService(MonitorCoreService object)
          Returns the result of interpretting the object as an instance of 'Monitor Core Service'
 java.lang.Object caseRALService(RALService object)
          Returns the result of interpretting the object as an instance of 'RAL Service'
 java.lang.Object caseSCAClient(SCAClient object)
          Returns the result of interpretting the object as an instance of 'SCA Client'
 java.lang.Object caseSCAServer(SCAServer object)
          Returns the result of interpretting the object as an instance of 'SCA Server'
 java.lang.Object caseService(com.ibm.websphere.models.config.process.Service object)
          Returns the result of interpretting the object as an instance of 'Service'
 java.lang.Object caseServiceMonitorAgent(ServiceMonitorAgent object)
          Returns the result of interpretting the object as an instance of 'Service Monitor Agent'
 java.lang.Object caseServiceMonitorAgentTarget(ServiceMonitorAgentTarget object)
          Returns the result of interpretting the object as an instance of 'Service Monitor Agent Target'
 java.lang.Object caseServiceMonitorServer(ServiceMonitorServer object)
          Returns the result of interpretting the object as an instance of 'Service Monitor Server'
 java.lang.Object caseWBISessionService(WBISessionService object)
          Returns the result of interpretting the object as an instance of 'WBI Session Service'
 java.lang.Object caseXCTLevel(XCTLevel object)
          Returns the result of interpretting the object as an instance of 'XCT Level'
 java.lang.Object caseXCTService(XCTService object)
          Returns the result of interpretting the object as an instance of 'XCT Service'
 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 CoreserverPackage modelPackage
The cached model package

Constructor Detail

CoreserverSwitch

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

caseCoreServerExtension

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

caseWBISessionService

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

caseRALService

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

caseCommonEventMonitor

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

caseMonitorCoreService

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

caseSCAClient

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

caseSCAServer

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

caseCoreFramework

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

caseClusterProperties

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

caseCoreServerClusterExtension

public java.lang.Object caseCoreServerClusterExtension(CoreServerClusterExtension object)
Returns the result of interpretting the object as an instance of 'Core Server Cluster Extension'. 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 'Core Server Cluster Extension'.
See Also:
doSwitch(EObject)

caseXCTService

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

caseXCTLevel

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

caseServiceMonitorAgent

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

caseServiceMonitorServer

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

caseServiceMonitorAgentTarget

public java.lang.Object caseServiceMonitorAgentTarget(ServiceMonitorAgentTarget object)
Returns the result of interpretting the object as an instance of 'Service Monitor Agent 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 'Service Monitor Agent Target'.
See Also:
doSwitch(EObject)

caseService

public java.lang.Object caseService(com.ibm.websphere.models.config.process.Service object)
Returns the result of interpretting the object as an instance of '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 '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)