Class RosettaSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com.regnosys.rosetta.rosetta.util.RosettaSwitch<T>

public class RosettaSwitch<T> extends org.eclipse.emf.ecore.util.Switch<T>
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:
  • Field Details

    • modelPackage

      protected static RosettaPackage modelPackage
      The cached model package
  • Constructor Details

    • RosettaSwitch

      public RosettaSwitch()
      Creates an instance of the switch.
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
    • doSwitch

      protected T 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.
      Overrides:
      doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
    • caseRosettaModel

      public T caseRosettaModel(RosettaModel object)
      Returns the result of interpreting the object as an instance of 'Model'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Model'.
      See Also:
      • doSwitch(EObject)
    • caseImport

      public T caseImport(Import object)
      Returns the result of interpreting the object as an instance of 'Import'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Import'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaDefinable

      public T caseRosettaDefinable(RosettaDefinable object)
      Returns the result of interpreting the object as an instance of 'Definable'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Definable'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaNamed

      public T caseRosettaNamed(RosettaNamed object)
      Returns the result of interpreting the object as an instance of 'Named'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Named'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaTyped

      public T caseRosettaTyped(RosettaTyped object)
      Returns the result of interpreting the object as an instance of 'Typed'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Typed'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaFeature

      public T caseRosettaFeature(RosettaFeature object)
      Returns the result of interpreting the object as an instance of 'Feature'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Feature'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaTypedFeature

      public T caseRosettaTypedFeature(RosettaTypedFeature object)
      Returns the result of interpreting the object as an instance of 'Typed Feature'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Typed Feature'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSymbol

      public T caseRosettaSymbol(RosettaSymbol object)
      Returns the result of interpreting the object as an instance of 'Symbol'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Symbol'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaCallableWithArgs

      public T caseRosettaCallableWithArgs(RosettaCallableWithArgs object)
      Returns the result of interpreting the object as an instance of 'Callable With Args'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Callable With Args'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaRootElement

      public T caseRosettaRootElement(RosettaRootElement object)
      Returns the result of interpreting the object as an instance of 'Root 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 interpreting the object as an instance of 'Root Element'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaFeatureOwner

      public T caseRosettaFeatureOwner(RosettaFeatureOwner object)
      Returns the result of interpreting the object as an instance of 'Feature Owner'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Feature Owner'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaType

      public T caseRosettaType(RosettaType object)
      Returns the result of interpreting the object as an instance of '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 interpreting the object as an instance of 'Type'.
      See Also:
      • doSwitch(EObject)
    • caseParametrizedRosettaType

      public T caseParametrizedRosettaType(ParametrizedRosettaType object)
      Returns the result of interpreting the object as an instance of 'Parametrized Rosetta 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 interpreting the object as an instance of 'Parametrized Rosetta Type'.
      See Also:
      • doSwitch(EObject)
    • caseTypeCall

      public T caseTypeCall(TypeCall object)
      Returns the result of interpreting the object as an instance of 'Type Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Type Call'.
      See Also:
      • doSwitch(EObject)
    • caseTypeCallArgument

      public T caseTypeCallArgument(TypeCallArgument object)
      Returns the result of interpreting the object as an instance of 'Type Call Argument'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Type Call Argument'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaBuiltinType

      public T caseRosettaBuiltinType(RosettaBuiltinType object)
      Returns the result of interpreting the object as an instance of 'Builtin 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 interpreting the object as an instance of 'Builtin Type'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaBasicType

      public T caseRosettaBasicType(RosettaBasicType object)
      Returns the result of interpreting the object as an instance of 'Basic 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 interpreting the object as an instance of 'Basic Type'.
      See Also:
      • doSwitch(EObject)
    • caseTypeParameter

      public T caseTypeParameter(TypeParameter object)
      Returns the result of interpreting the object as an instance of 'Type Parameter'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Type Parameter'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSynonymSource

      public T caseRosettaSynonymSource(RosettaSynonymSource object)
      Returns the result of interpreting the object as an instance of 'Synonym Source'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synonym Source'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaRecordType

      public T caseRosettaRecordType(RosettaRecordType object)
      Returns the result of interpreting the object as an instance of 'Record 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 interpreting the object as an instance of 'Record Type'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaRecordFeature

      public T caseRosettaRecordFeature(RosettaRecordFeature object)
      Returns the result of interpreting the object as an instance of 'Record Feature'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Record Feature'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalFunction

      public T caseRosettaExternalFunction(RosettaExternalFunction object)
      Returns the result of interpreting the object as an instance of 'External Function'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Function'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaParameter

      public T caseRosettaParameter(RosettaParameter object)
      Returns the result of interpreting the object as an instance of 'Parameter'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Parameter'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaTypeAlias

      public T caseRosettaTypeAlias(RosettaTypeAlias object)
      Returns the result of interpreting the object as an instance of 'Type 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 interpreting the object as an instance of 'Type Alias'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMetaType

      public T caseRosettaMetaType(RosettaMetaType object)
      Returns the result of interpreting the object as an instance of 'Meta 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 interpreting the object as an instance of 'Meta Type'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaEnumeration

      public T caseRosettaEnumeration(RosettaEnumeration object)
      Returns the result of interpreting the object as an instance of 'Enumeration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Enumeration'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaEnumValue

      public T caseRosettaEnumValue(RosettaEnumValue object)
      Returns the result of interpreting the object as an instance of 'Enum Value'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Enum Value'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaEnumValueReference

      public T caseRosettaEnumValueReference(RosettaEnumValueReference object)
      Returns the result of interpreting the object as an instance of 'Enum Value Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Enum Value Reference'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaCardinality

      public T caseRosettaCardinality(RosettaCardinality object)
      Returns the result of interpreting the object as an instance of 'Cardinality'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Cardinality'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSynonymBase

      public T caseRosettaSynonymBase(RosettaSynonymBase object)
      Returns the result of interpreting the object as an instance of 'Synonym Base'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synonym Base'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSynonymValueBase

      public T caseRosettaSynonymValueBase(RosettaSynonymValueBase object)
      Returns the result of interpreting the object as an instance of 'Synonym Value Base'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synonym Value Base'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaClassSynonym

      public T caseRosettaClassSynonym(RosettaClassSynonym object)
      Returns the result of interpreting the object as an instance of 'Class Synonym'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Class Synonym'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSynonym

      public T caseRosettaSynonym(RosettaSynonym object)
      Returns the result of interpreting the object as an instance of 'Synonym'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synonym'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSynonymBody

      public T caseRosettaSynonymBody(RosettaSynonymBody object)
      Returns the result of interpreting the object as an instance of 'Synonym Body'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synonym Body'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMergeSynonymValue

      public T caseRosettaMergeSynonymValue(RosettaMergeSynonymValue object)
      Returns the result of interpreting the object as an instance of 'Merge Synonym Value'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Merge Synonym Value'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaEnumSynonym

      public T caseRosettaEnumSynonym(RosettaEnumSynonym object)
      Returns the result of interpreting the object as an instance of 'Enum Synonym'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Enum Synonym'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaDocReference

      public T caseRosettaDocReference(RosettaDocReference object)
      Returns the result of interpreting the object as an instance of 'Doc Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Doc Reference'.
      See Also:
      • doSwitch(EObject)
    • caseRegulatoryDocumentReference

      public T caseRegulatoryDocumentReference(RegulatoryDocumentReference object)
      Returns the result of interpreting the object as an instance of 'Regulatory Document Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Regulatory Document Reference'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSegmentRef

      public T caseRosettaSegmentRef(RosettaSegmentRef object)
      Returns the result of interpreting the object as an instance of 'Segment Ref'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Segment Ref'.
      See Also:
      • doSwitch(EObject)
    • caseDocumentRationale

      public T caseDocumentRationale(DocumentRationale object)
      Returns the result of interpreting the object as an instance of 'Document Rationale'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Document Rationale'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaBody

      public T caseRosettaBody(RosettaBody object)
      Returns the result of interpreting the object as an instance of 'Body'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Body'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaCorpus

      public T caseRosettaCorpus(RosettaCorpus object)
      Returns the result of interpreting the object as an instance of 'Corpus'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Corpus'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaSegment

      public T caseRosettaSegment(RosettaSegment object)
      Returns the result of interpreting the object as an instance of 'Segment'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Segment'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTest

      public T caseRosettaMapTest(RosettaMapTest object)
      Returns the result of interpreting the object as an instance of 'Map Test'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTestExpression

      public T caseRosettaMapTestExpression(RosettaMapTestExpression object)
      Returns the result of interpreting the object as an instance of 'Map Test Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test Expression'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapPathValue

      public T caseRosettaMapPathValue(RosettaMapPathValue object)
      Returns the result of interpreting the object as an instance of 'Map Path Value'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Path Value'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTestExistsExpression

      public T caseRosettaMapTestExistsExpression(RosettaMapTestExistsExpression object)
      Returns the result of interpreting the object as an instance of 'Map Test Exists Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test Exists Expression'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTestAbsentExpression

      public T caseRosettaMapTestAbsentExpression(RosettaMapTestAbsentExpression object)
      Returns the result of interpreting the object as an instance of 'Map Test Absent Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test Absent Expression'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTestEqualityOperation

      public T caseRosettaMapTestEqualityOperation(RosettaMapTestEqualityOperation object)
      Returns the result of interpreting the object as an instance of 'Map Test Equality Operation'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test Equality Operation'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapTestFunc

      public T caseRosettaMapTestFunc(RosettaMapTestFunc object)
      Returns the result of interpreting the object as an instance of 'Map Test Func'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Test Func'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaAttributeReferenceSegment

      public T caseRosettaAttributeReferenceSegment(RosettaAttributeReferenceSegment object)
      Returns the result of interpreting the object as an instance of 'Attribute Reference Segment'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Attribute Reference Segment'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaDataReference

      public T caseRosettaDataReference(RosettaDataReference object)
      Returns the result of interpreting the object as an instance of 'Data Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Data Reference'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaAttributeReference

      public T caseRosettaAttributeReference(RosettaAttributeReference object)
      Returns the result of interpreting the object as an instance of 'Attribute Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Attribute Reference'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapping

      public T caseRosettaMapping(RosettaMapping object)
      Returns the result of interpreting the object as an instance of 'Mapping'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Mapping'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMappingInstance

      public T caseRosettaMappingInstance(RosettaMappingInstance object)
      Returns the result of interpreting the object as an instance of 'Mapping Instance'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Mapping Instance'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMappingPathTests

      public T caseRosettaMappingPathTests(RosettaMappingPathTests object)
      Returns the result of interpreting the object as an instance of 'Mapping Path Tests'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Mapping Path Tests'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapPath

      public T caseRosettaMapPath(RosettaMapPath object)
      Returns the result of interpreting the object as an instance of 'Map Path'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Path'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaMapRosettaPath

      public T caseRosettaMapRosettaPath(RosettaMapRosettaPath object)
      Returns the result of interpreting the object as an instance of 'Map Rosetta Path'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Map Rosetta Path'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaQualifiableConfiguration

      public T caseRosettaQualifiableConfiguration(RosettaQualifiableConfiguration object)
      Returns the result of interpreting the object as an instance of 'Qualifiable 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 interpreting the object as an instance of 'Qualifiable Configuration'.
      See Also:
      • doSwitch(EObject)
    • caseExternalAnnotationSource

      public T caseExternalAnnotationSource(ExternalAnnotationSource object)
      Returns the result of interpreting the object as an instance of 'External Annotation Source'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Annotation Source'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalRef

      public T caseRosettaExternalRef(RosettaExternalRef object)
      Returns the result of interpreting the object as an instance of 'External Ref'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Ref'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalClass

      public T caseRosettaExternalClass(RosettaExternalClass object)
      Returns the result of interpreting the object as an instance of 'External Class'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Class'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalEnum

      public T caseRosettaExternalEnum(RosettaExternalEnum object)
      Returns the result of interpreting the object as an instance of 'External Enum'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Enum'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalRegularAttribute

      public T caseRosettaExternalRegularAttribute(RosettaExternalRegularAttribute object)
      Returns the result of interpreting the object as an instance of 'External Regular Attribute'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Regular Attribute'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalEnumValue

      public T caseRosettaExternalEnumValue(RosettaExternalEnumValue object)
      Returns the result of interpreting the object as an instance of 'External Enum Value'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Enum Value'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalClassSynonym

      public T caseRosettaExternalClassSynonym(RosettaExternalClassSynonym object)
      Returns the result of interpreting the object as an instance of 'External Class Synonym'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Class Synonym'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalSynonym

      public T caseRosettaExternalSynonym(RosettaExternalSynonym object)
      Returns the result of interpreting the object as an instance of 'External Synonym'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Synonym'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalSynonymSource

      public T caseRosettaExternalSynonymSource(RosettaExternalSynonymSource object)
      Returns the result of interpreting the object as an instance of 'External Synonym Source'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Synonym Source'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaExternalRuleSource

      public T caseRosettaExternalRuleSource(RosettaExternalRuleSource object)
      Returns the result of interpreting the object as an instance of 'External Rule Source'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'External Rule Source'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaReport

      public T caseRosettaReport(RosettaReport object)
      Returns the result of interpreting the object as an instance of 'Report'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Report'.
      See Also:
      • doSwitch(EObject)
    • caseRosettaRule

      public T caseRosettaRule(RosettaRule object)
      Returns the result of interpreting the object as an instance of 'Rule'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rule'.
      See Also:
      • doSwitch(EObject)
    • caseReferences

      public T caseReferences(References object)
      Returns the result of interpreting the object as an instance of 'References'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'References'.
      See Also:
      • doSwitch(EObject)
    • defaultCase

      public T defaultCase(org.eclipse.emf.ecore.EObject object)
      Returns the result of interpreting 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.
      Overrides:
      defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also:
      • Switch.doSwitch(org.eclipse.emf.ecore.EObject)