com.ibm.ws.sibx.smobo.util
Class ServiceMessageObjectSwitch

java.lang.Object
  extended bycom.ibm.ws.sibx.smobo.util.ServiceMessageObjectSwitch

public class ServiceMessageObjectSwitch
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:
ServiceMessageObjectPackage

Field Summary
static java.lang.String $sccsid
           
static java.lang.String COPYRIGHT
           
protected static ServiceMessageObjectPackage modelPackage
          The cached model package
 
Constructor Summary
ServiceMessageObjectSwitch()
          Creates an instance of the switch.
 
Method Summary
 java.lang.Object caseContextType(ContextType object)
          Returns the result of interpretting the object as an instance of 'Context Type'.
 java.lang.Object caseDocumentRoot(DocumentRoot object)
          Returns the result of interpretting the object as an instance of 'Document Root'.
 java.lang.Object caseFailInfoType(FailInfoType object)
          Returns the result of interpretting the object as an instance of 'Fail Info Type'.
 java.lang.Object caseHeadersType(HeadersType object)
          Returns the result of interpretting the object as an instance of 'Headers Type'.
 java.lang.Object caseInvocationPathType(InvocationPathType object)
          Returns the result of interpretting the object as an instance of 'Invocation Path Type'.
 java.lang.Object caseJMSHeaderType(JMSHeaderType object)
          Returns the result of interpretting the object as an instance of 'JMS Header Type'.
 java.lang.Object casePrimitiveType(PrimitiveType object)
          Returns the result of interpretting the object as an instance of 'Primitive Type'.
 java.lang.Object casePropertyType(PropertyType object)
          Returns the result of interpretting the object as an instance of 'Property Type'.
 java.lang.Object caseServiceMessageObject(ServiceMessageObject object)
          Returns the result of interpretting the object as an instance of 'Service Message Object'.
 java.lang.Object caseSMOHeaderType(SMOHeaderType object)
          Returns the result of interpretting the object as an instance of 'SMO Header Type'.
 java.lang.Object caseSOAPFaultInfoType(SOAPFaultInfoType object)
          Returns the result of interpretting the object as an instance of 'SOAP Fault Info Type'.
 java.lang.Object caseSOAPHeaderType(SOAPHeaderType object)
          Returns the result of interpretting the object as an instance of 'SOAP Header Type'.
 java.lang.Object caseVersionType(VersionType object)
          Returns the result of interpretting the object as an instance of 'Version Type'.
 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

$sccsid

public static final java.lang.String $sccsid
See Also:
Constant Field Values

modelPackage

protected static ServiceMessageObjectPackage modelPackage
The cached model package

Constructor Detail

ServiceMessageObjectSwitch

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

caseContextType

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

caseDocumentRoot

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

caseFailInfoType

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

caseHeadersType

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

caseInvocationPathType

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

caseJMSHeaderType

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

casePrimitiveType

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

casePropertyType

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

caseServiceMessageObject

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

caseSMOHeaderType

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

caseSOAPFaultInfoType

public java.lang.Object caseSOAPFaultInfoType(SOAPFaultInfoType object)
Returns the result of interpretting the object as an instance of 'SOAP Fault 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 interpretting the object as an instance of 'SOAP Fault Info Type'.
See Also:
doSwitch(EObject)

caseSOAPHeaderType

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

caseVersionType

public java.lang.Object caseVersionType(VersionType object)
Returns the result of interpretting the object as an instance of 'Version 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 interpretting the object as an instance of 'Version Type'.
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)