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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Document Rationale'.Returns the result of interpreting the object as an instance of 'External Annotation Source'.caseImport(Import object) Returns the result of interpreting the object as an instance of 'Import'.Returns the result of interpreting the object as an instance of 'Parametrized Rosetta Type'.caseReferences(References object) Returns the result of interpreting the object as an instance of 'References'.Returns the result of interpreting the object as an instance of 'Regulatory Document Reference'.Returns the result of interpreting the object as an instance of 'Attribute Reference'.Returns the result of interpreting the object as an instance of 'Attribute Reference Segment'.caseRosettaBasicType(RosettaBasicType object) Returns the result of interpreting the object as an instance of 'Basic Type'.caseRosettaBody(RosettaBody object) Returns the result of interpreting the object as an instance of 'Body'.Returns the result of interpreting the object as an instance of 'Builtin Type'.Returns the result of interpreting the object as an instance of 'Callable With Args'.Returns the result of interpreting the object as an instance of 'Cardinality'.Returns the result of interpreting the object as an instance of 'Class Synonym'.caseRosettaCorpus(RosettaCorpus object) Returns the result of interpreting the object as an instance of 'Corpus'.Returns the result of interpreting the object as an instance of 'Data Reference'.caseRosettaDefinable(RosettaDefinable object) Returns the result of interpreting the object as an instance of 'Definable'.Returns the result of interpreting the object as an instance of 'Doc Reference'.Returns the result of interpreting the object as an instance of 'Enumeration'.Returns the result of interpreting the object as an instance of 'Enum Synonym'.caseRosettaEnumValue(RosettaEnumValue object) Returns the result of interpreting the object as an instance of 'Enum Value'.Returns the result of interpreting the object as an instance of 'Enum Value Reference'.Returns the result of interpreting the object as an instance of 'External Class'.Returns the result of interpreting the object as an instance of 'External Class Synonym'.Returns the result of interpreting the object as an instance of 'External Enum'.Returns the result of interpreting the object as an instance of 'External Enum Value'.Returns the result of interpreting the object as an instance of 'External Function'.Returns the result of interpreting the object as an instance of 'External Ref'.Returns the result of interpreting the object as an instance of 'External Regular Attribute'.Returns the result of interpreting the object as an instance of 'External Rule Source'.Returns the result of interpreting the object as an instance of 'External Synonym'.Returns the result of interpreting the object as an instance of 'External Synonym Source'.caseRosettaFeature(RosettaFeature object) Returns the result of interpreting the object as an instance of 'Feature'.Returns the result of interpreting the object as an instance of 'Feature Owner'.caseRosettaMapPath(RosettaMapPath object) Returns the result of interpreting the object as an instance of 'Map Path'.Returns the result of interpreting the object as an instance of 'Map Path Value'.caseRosettaMapping(RosettaMapping object) Returns the result of interpreting the object as an instance of 'Mapping'.Returns the result of interpreting the object as an instance of 'Mapping Instance'.Returns the result of interpreting the object as an instance of 'Mapping Path Tests'.Returns the result of interpreting the object as an instance of 'Map Rosetta Path'.caseRosettaMapTest(RosettaMapTest object) Returns the result of interpreting the object as an instance of 'Map Test'.Returns the result of interpreting the object as an instance of 'Map Test Absent Expression'.Returns the result of interpreting the object as an instance of 'Map Test Equality Operation'.Returns the result of interpreting the object as an instance of 'Map Test Exists Expression'.Returns the result of interpreting the object as an instance of 'Map Test Expression'.Returns the result of interpreting the object as an instance of 'Map Test Func'.Returns the result of interpreting the object as an instance of 'Merge Synonym Value'.caseRosettaMetaType(RosettaMetaType object) Returns the result of interpreting the object as an instance of 'Meta Type'.caseRosettaModel(RosettaModel object) Returns the result of interpreting the object as an instance of 'Model'.caseRosettaNamed(RosettaNamed object) Returns the result of interpreting the object as an instance of 'Named'.caseRosettaParameter(RosettaParameter object) Returns the result of interpreting the object as an instance of 'Parameter'.Returns the result of interpreting the object as an instance of 'Qualifiable Configuration'.Returns the result of interpreting the object as an instance of 'Record Feature'.Returns the result of interpreting the object as an instance of 'Record Type'.caseRosettaReport(RosettaReport object) Returns the result of interpreting the object as an instance of 'Report'.Returns the result of interpreting the object as an instance of 'Root Element'.caseRosettaRule(RosettaRule object) Returns the result of interpreting the object as an instance of 'Rule'.caseRosettaSegment(RosettaSegment object) Returns the result of interpreting the object as an instance of 'Segment'.Returns the result of interpreting the object as an instance of 'Segment Ref'.caseRosettaSymbol(RosettaSymbol object) Returns the result of interpreting the object as an instance of 'Symbol'.caseRosettaSynonym(RosettaSynonym object) Returns the result of interpreting the object as an instance of 'Synonym'.Returns the result of interpreting the object as an instance of 'Synonym Base'.Returns the result of interpreting the object as an instance of 'Synonym Body'.Returns the result of interpreting the object as an instance of 'Synonym Source'.Returns the result of interpreting the object as an instance of 'Synonym Value Base'.caseRosettaType(RosettaType object) Returns the result of interpreting the object as an instance of 'Type'.caseRosettaTypeAlias(RosettaTypeAlias object) Returns the result of interpreting the object as an instance of 'Type Alias'.caseRosettaTyped(RosettaTyped object) Returns the result of interpreting the object as an instance of 'Typed'.Returns the result of interpreting the object as an instance of 'Typed Feature'.caseTypeCall(TypeCall object) Returns the result of interpreting the object as an instance of 'Type Call'.caseTypeCallArgument(TypeCallArgument object) Returns the result of interpreting the object as an instance of 'Type Call Argument'.caseTypeParameter(TypeParameter object) Returns the result of interpreting the object as an instance of 'Type Parameter'.defaultCase(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
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:
isSwitchForin classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
ePackage- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitchin classorg.eclipse.emf.ecore.util.Switch<T>- Returns:
- the first non-null result returned by a
caseXXXcall.
-
caseRosettaModel
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
defaultCasein classorg.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)
-