org.eclipse.ohf.ihe.common.ebxml._2._1.rim.util
Class RimSwitch

java.lang.Object
  extended by org.eclipse.ohf.ihe.common.ebxml._2._1.rim.util.RimSwitch

public class RimSwitch
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:
RimPackage

Constructor Summary
RimSwitch()
          Creates an instance of the switch.
 
Method Summary
 java.lang.Object caseAssociationType1(AssociationType1 object)
          Returns the result of interpretting the object as an instance of 'Association Type1'.
 java.lang.Object caseAuditableEventType(AuditableEventType object)
          Returns the result of interpretting the object as an instance of 'Auditable Event Type'.
 java.lang.Object caseClassificationNodeType(ClassificationNodeType object)
          Returns the result of interpretting the object as an instance of 'Classification Node Type'.
 java.lang.Object caseClassificationSchemeType(ClassificationSchemeType object)
          Returns the result of interpretting the object as an instance of 'Classification Scheme Type'.
 java.lang.Object caseClassificationType(ClassificationType object)
          Returns the result of interpretting the object as an instance of 'Classification Type'.
 java.lang.Object caseDocumentRoot(DocumentRoot object)
          Returns the result of interpretting the object as an instance of 'Document Root'.
 java.lang.Object caseEmailAddressType(EmailAddressType object)
          Returns the result of interpretting the object as an instance of 'Email Address Type'.
 java.lang.Object caseExternalIdentifierType(ExternalIdentifierType object)
          Returns the result of interpretting the object as an instance of 'External Identifier Type'.
 java.lang.Object caseExternalLinkType(ExternalLinkType object)
          Returns the result of interpretting the object as an instance of 'External Link Type'.
 java.lang.Object caseExtrinsicObjectType(ExtrinsicObjectType object)
          Returns the result of interpretting the object as an instance of 'Extrinsic Object Type'.
 java.lang.Object caseInternationalStringType(InternationalStringType object)
          Returns the result of interpretting the object as an instance of 'International String Type'.
 java.lang.Object caseLeafRegistryObjectListType(LeafRegistryObjectListType object)
          Returns the result of interpretting the object as an instance of 'Leaf Registry Object List Type'.
 java.lang.Object caseLocalizedStringType(LocalizedStringType object)
          Returns the result of interpretting the object as an instance of 'Localized String Type'.
 java.lang.Object caseObjectRefListType(ObjectRefListType object)
          Returns the result of interpretting the object as an instance of 'Object Ref List Type'.
 java.lang.Object caseObjectRefType(ObjectRefType object)
          Returns the result of interpretting the object as an instance of 'Object Ref Type'.
 java.lang.Object caseOrganizationType(OrganizationType object)
          Returns the result of interpretting the object as an instance of 'Organization Type'.
 java.lang.Object casePersonNameType(PersonNameType object)
          Returns the result of interpretting the object as an instance of 'Person Name Type'.
 java.lang.Object casePostalAddressType(PostalAddressType object)
          Returns the result of interpretting the object as an instance of 'Postal Address Type'.
 java.lang.Object caseRegistryEntryType(RegistryEntryType object)
          Returns the result of interpretting the object as an instance of 'Registry Entry Type'.
 java.lang.Object caseRegistryObjectListType(RegistryObjectListType object)
          Returns the result of interpretting the object as an instance of 'Registry Object List Type'.
 java.lang.Object caseRegistryObjectType(RegistryObjectType object)
          Returns the result of interpretting the object as an instance of 'Registry Object Type'.
 java.lang.Object caseRegistryPackageType(RegistryPackageType object)
          Returns the result of interpretting the object as an instance of 'Registry Package Type'.
 java.lang.Object caseServiceBindingType(ServiceBindingType object)
          Returns the result of interpretting the object as an instance of 'Service Binding Type'.
 java.lang.Object caseServiceType(ServiceType object)
          Returns the result of interpretting the object as an instance of 'Service Type'.
 java.lang.Object caseSlotType1(SlotType1 object)
          Returns the result of interpretting the object as an instance of 'Slot Type1'.
 java.lang.Object caseSpecificationLinkType(SpecificationLinkType object)
          Returns the result of interpretting the object as an instance of 'Specification Link Type'.
 java.lang.Object caseTelephoneNumberListType(TelephoneNumberListType object)
          Returns the result of interpretting the object as an instance of 'Telephone Number List Type'.
 java.lang.Object caseTelephoneNumberType(TelephoneNumberType object)
          Returns the result of interpretting the object as an instance of 'Telephone Number Type'.
 java.lang.Object caseUserType(UserType object)
          Returns the result of interpretting the object as an instance of 'User Type'.
 java.lang.Object caseValueListType(ValueListType object)
          Returns the result of interpretting the object as an instance of 'Value List Type'.
 java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpretting 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

RimSwitch

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

caseAssociationType1

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

caseAuditableEventType

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

caseClassificationNodeType

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

caseClassificationSchemeType

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

caseClassificationType

public java.lang.Object caseClassificationType(ClassificationType object)
Returns the result of interpretting the object as an instance of 'Classification 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 'Classification 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)

caseEmailAddressType

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

caseExternalIdentifierType

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

caseExternalLinkType

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

caseExtrinsicObjectType

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

caseInternationalStringType

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

caseLeafRegistryObjectListType

public java.lang.Object caseLeafRegistryObjectListType(LeafRegistryObjectListType object)
Returns the result of interpretting the object as an instance of 'Leaf Registry Object List 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 'Leaf Registry Object List Type'.
See Also:
doSwitch(EObject)

caseLocalizedStringType

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

caseObjectRefListType

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

caseObjectRefType

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

caseOrganizationType

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

casePersonNameType

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

casePostalAddressType

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

caseRegistryEntryType

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

caseRegistryObjectListType

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

caseRegistryObjectType

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

caseRegistryPackageType

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

caseServiceBindingType

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

caseServiceType

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

caseSlotType1

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

caseSpecificationLinkType

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

caseTelephoneNumberListType

public java.lang.Object caseTelephoneNumberListType(TelephoneNumberListType object)
Returns the result of interpretting the object as an instance of 'Telephone Number List 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 'Telephone Number List Type'.
See Also:
doSwitch(EObject)

caseTelephoneNumberType

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

caseUserType

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

caseValueListType

public java.lang.Object caseValueListType(ValueListType object)
Returns the result of interpretting the object as an instance of 'Value List 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 'Value List 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)