Class SpartaModelSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
be.kuleuven.cs.distrinet.sparta.spartamodel.util.SpartaModelSwitch<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 'Abstract Condition'.Returns the result of interpreting the object as an instance of 'Abstract Threat Type'.Returns the result of interpreting the object as an instance of 'AImported Condition'.Returns the result of interpreting the object as an instance of 'And Composite Condition'.Returns the result of interpreting the object as an instance of 'And Composite Threat Type'.Returns the result of interpreting the object as an instance of 'Asset'.caseAttackerModel(AttackerModel object) Returns the result of interpreting the object as an instance of 'Attacker Model'.caseAttackerProfile(AttackerProfile object) Returns the result of interpreting the object as an instance of 'Attacker Profile'.Returns the result of interpreting the object as an instance of 'Composite Condition'.Returns the result of interpreting the object as an instance of 'Composite Threat Type'.caseCondition(Condition object) Returns the result of interpreting the object as an instance of 'Condition'.caseConditionList(ConditionList object) Returns the result of interpreting the object as an instance of 'Condition List'.caseCounterMeasure(CounterMeasure object) Returns the result of interpreting the object as an instance of 'Counter Measure'.caseDataFlow(DataFlow object) Returns the result of interpreting the object as an instance of 'Data Flow'.caseDataFlowEntity(DataFlowEntity object) Returns the result of interpreting the object as an instance of 'Data Flow Entity'.caseDataModel(DataModel object) Returns the result of interpreting the object as an instance of 'Data Model'.caseDataModelElement(DataModelElement object) Returns the result of interpreting the object as an instance of 'Data Model Element'.caseDataSet(DataSet object) Returns the result of interpreting the object as an instance of 'Data Set'.caseDataStore(DataStore object) Returns the result of interpreting the object as an instance of 'Data Store'.caseDataSubjectType(DataSubjectType object) Returns the result of interpreting the object as an instance of 'Data Subject Type'.caseDataType(DataType object) Returns the result of interpreting the object as an instance of 'Data Type'.Returns the result of interpreting the object as an instance of 'DFD Boundary Element'.caseDFDContainer(DFDContainer object) Returns the result of interpreting the object as an instance of 'DFD Container'.caseDFDElement(DFDElement object) Returns the result of interpreting the object as an instance of 'DFD Element'.Returns the result of interpreting the object as an instance of 'DFD Element Annotation'.caseDFDModel(DFDModel object) Returns the result of interpreting the object as an instance of 'DFD Model'.caseEstimate(Estimate object) Returns the result of interpreting the object as an instance of 'Estimate'.caseEStringToEBooleanMap(Map.Entry<String, Boolean> object) Returns the result of interpreting the object as an instance of 'EString To EBoolean Map'.caseEStringToEStringMap(Map.Entry<String, String> object) Returns the result of interpreting the object as an instance of 'EString To EString Map'.caseExternalEntity(ExternalEntity object) Returns the result of interpreting the object as an instance of 'External Entity'.caseFlowElement(FlowElement object) Returns the result of interpreting the object as an instance of 'Flow Element'.caseICharacteristic(ICharacteristic object) Returns the result of interpreting the object as an instance of 'ICharacteristic'.Returns the result of interpreting the object as an instance of 'IModel Element Annotation'.Returns the result of interpreting the object as an instance of 'Imported Condition'.Returns the result of interpreting the object as an instance of 'Imported Threat Condition'.Returns the result of interpreting the object as an instance of 'KV Model Element Annotation'.caseModelElement(ModelElement object) Returns the result of interpreting the object as an instance of 'Model Element'.Returns the result of interpreting the object as an instance of 'Model Element Annotation'.Returns the result of interpreting the object as an instance of 'Multiple Composite Condition'.Returns the result of interpreting the object as an instance of 'Not Composite Condition'.Returns the result of interpreting the object as an instance of 'Or Composite Condition'.Returns the result of interpreting the object as an instance of 'Or Composite Threat Type'.casePersonalDataType(PersonalDataType object) Returns the result of interpreting the object as an instance of 'Personal Data Type'.caseProcess(Process object) Returns the result of interpreting the object as an instance of 'Process'.Returns the result of interpreting the object as an instance of 'Recipient Specifiable'.Returns the result of interpreting the object as an instance of 'Recipient Specification'.Returns the result of interpreting the object as an instance of 'Role'.caseRoleBinding(RoleBinding object) Returns the result of interpreting the object as an instance of 'Role Binding'.Returns the result of interpreting the object as an instance of 'Security Annotation'.caseSecurityElement(SecurityElement object) Returns the result of interpreting the object as an instance of 'Security Element'.Returns the result of interpreting the object as an instance of 'Sender Specifiable'.Returns the result of interpreting the object as an instance of 'Sender Specification'.Returns the result of interpreting the object as an instance of 'Single Composite Condition'.caseSolution(Solution object) Returns the result of interpreting the object as an instance of 'Solution'.caseSolutionType(SolutionType object) Returns the result of interpreting the object as an instance of 'Solution Type'.Returns the result of interpreting the object as an instance of 'Solution Type Catalog'.caseSpartaResource(SpartaResource object) Returns the result of interpreting the object as an instance of 'Sparta Resource'.caseThreatPattern(ThreatPattern object) Returns the result of interpreting the object as an instance of 'Threat Pattern'.Returns the result of interpreting the object as an instance of 'Threat Specification'.Returns the result of interpreting the object as an instance of 'Threat Specification Catalog'.caseThreatType(ThreatType object) Returns the result of interpreting the object as an instance of 'Threat Type'.Returns the result of interpreting the object as an instance of 'Threat Type Catalog'.caseThreatTypeGroup(ThreatTypeGroup object) Returns the result of interpreting the object as an instance of 'Threat Type Group'.Returns the result of interpreting the object as an instance of 'Threat Type ID To Estimate Map'.Returns the result of interpreting the object as an instance of 'Threat Type To Estimate Map'.caseTransformedData(TransformedData object) Returns the result of interpreting the object as an instance of 'Transformed Data'.Returns the result of interpreting the object as an instance of 'Trust Boundary Container'.defaultCase(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected TCallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(EPackage ePackage) Checks whether this is a switch for the given package.
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
SpartaModelSwitch
public SpartaModelSwitch()Creates an instance of the switch.
-
-
Method Details
-
isSwitchFor
Checks whether this is a switch for the given package.- Specified by:
isSwitchForin classSwitch<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. -
caseDataFlow
Returns the result of interpreting the object as an instance of 'Data Flow'. 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 Flow'.
- See Also:
-
caseDataFlowEntity
Returns the result of interpreting the object as an instance of 'Data Flow Entity'. 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 Flow Entity'.
- See Also:
-
caseExternalEntity
Returns the result of interpreting the object as an instance of 'External Entity'. 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 Entity'.
- See Also:
-
caseProcess
Returns the result of interpreting the object as an instance of 'Process'. 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 'Process'.
- See Also:
-
caseDataStore
Returns the result of interpreting the object as an instance of 'Data Store'. 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 Store'.
- See Also:
-
caseDFDModel
Returns the result of interpreting the object as an instance of 'DFD 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 'DFD Model'.
- See Also:
-
caseDFDElement
Returns the result of interpreting the object as an instance of 'DFD 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 'DFD Element'.
- See Also:
-
caseSecurityElement
Returns the result of interpreting the object as an instance of 'Security 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 'Security Element'.
- See Also:
-
caseDFDBoundaryElement
Returns the result of interpreting the object as an instance of 'DFD Boundary 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 'DFD Boundary Element'.
- See Also:
-
caseTrustBoundaryContainer
Returns the result of interpreting the object as an instance of 'Trust Boundary Container'. 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 'Trust Boundary Container'.
- See Also:
-
caseSenderSpecifiable
Returns the result of interpreting the object as an instance of 'Sender Specifiable'. 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 'Sender Specifiable'.
- See Also:
-
caseRecipientSpecifiable
Returns the result of interpreting the object as an instance of 'Recipient Specifiable'. 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 'Recipient Specifiable'.
- See Also:
-
caseSenderSpecification
Returns the result of interpreting the object as an instance of 'Sender Specification'. 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 'Sender Specification'.
- See Also:
-
caseRecipientSpecification
Returns the result of interpreting the object as an instance of 'Recipient Specification'. 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 'Recipient Specification'.
- See Also:
-
caseFlowElement
Returns the result of interpreting the object as an instance of 'Flow 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 'Flow Element'.
- See Also:
-
caseDFDContainer
Returns the result of interpreting the object as an instance of 'DFD Container'. 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 'DFD Container'.
- See Also:
-
caseSecurityAnnotation
Returns the result of interpreting the object as an instance of 'Security Annotation'. 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 'Security Annotation'.
- See Also:
-
caseSolutionType
Returns the result of interpreting the object as an instance of 'Solution 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 'Solution Type'.
- See Also:
-
caseRole
Returns the result of interpreting the object as an instance of 'Role'. 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 'Role'.
- See Also:
-
caseAbstractThreatType
Returns the result of interpreting the object as an instance of 'Abstract Threat 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 'Abstract Threat Type'.
- See Also:
-
caseCounterMeasure
Returns the result of interpreting the object as an instance of 'Counter Measure'. 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 'Counter Measure'.
- See Also:
-
caseRoleBinding
Returns the result of interpreting the object as an instance of 'Role Binding'. 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 'Role Binding'.
- See Also:
-
caseSolution
Returns the result of interpreting the object as an instance of 'Solution'. 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 'Solution'.
- See Also:
-
caseSpartaResource
Returns the result of interpreting the object as an instance of 'Sparta Resource'. 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 'Sparta Resource'.
- See Also:
-
caseThreatTypeCatalog
Returns the result of interpreting the object as an instance of 'Threat Type Catalog'. 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 'Threat Type Catalog'.
- See Also:
-
caseSolutionTypeCatalog
Returns the result of interpreting the object as an instance of 'Solution Type Catalog'. 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 'Solution Type Catalog'.
- See Also:
-
caseEStringToEBooleanMap
Returns the result of interpreting the object as an instance of 'EString To EBoolean Map'. 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 'EString To EBoolean Map'.
- See Also:
-
caseThreatSpecification
Returns the result of interpreting the object as an instance of 'Threat Specification'. 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 'Threat Specification'.
- See Also:
-
caseThreatSpecificationCatalog
Returns the result of interpreting the object as an instance of 'Threat Specification Catalog'. 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 'Threat Specification Catalog'.
- See Also:
-
caseAsset
Returns the result of interpreting the object as an instance of 'Asset'. 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 'Asset'.
- See Also:
-
caseCompositeThreatType
Returns the result of interpreting the object as an instance of 'Composite Threat 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 'Composite Threat Type'.
- See Also:
-
caseThreatType
Returns the result of interpreting the object as an instance of 'Threat 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 'Threat Type'.
- See Also:
-
caseEstimate
Returns the result of interpreting the object as an instance of 'Estimate'. 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 'Estimate'.
- See Also:
-
caseThreatTypeToEstimateMap
Returns the result of interpreting the object as an instance of 'Threat Type To Estimate Map'. 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 'Threat Type To Estimate Map'.
- See Also:
-
caseEStringToEStringMap
Returns the result of interpreting the object as an instance of 'EString To EString Map'. 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 'EString To EString Map'.
- See Also:
-
caseModelElement
Returns the result of interpreting the object as an instance of 'Model 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 'Model Element'.
- See Also:
-
caseOrCompositeThreatType
Returns the result of interpreting the object as an instance of 'Or Composite Threat 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 'Or Composite Threat Type'.
- See Also:
-
caseAndCompositeThreatType
Returns the result of interpreting the object as an instance of 'And Composite Threat 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 'And Composite Threat Type'.
- See Also:
-
caseThreatTypeGroup
Returns the result of interpreting the object as an instance of 'Threat Type Group'. 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 'Threat Type Group'.
- See Also:
-
caseAbstractCondition
Returns the result of interpreting the object as an instance of 'Abstract Condition'. 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 'Abstract Condition'.
- See Also:
-
caseCompositeCondition
Returns the result of interpreting the object as an instance of 'Composite Condition'. 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 'Composite Condition'.
- See Also:
-
caseCondition
Returns the result of interpreting the object as an instance of 'Condition'. 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 'Condition'.
- See Also:
-
caseAndCompositeCondition
Returns the result of interpreting the object as an instance of 'And Composite Condition'. 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 'And Composite Condition'.
- See Also:
-
caseOrCompositeCondition
Returns the result of interpreting the object as an instance of 'Or Composite Condition'. 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 'Or Composite Condition'.
- See Also:
-
caseNotCompositeCondition
Returns the result of interpreting the object as an instance of 'Not Composite Condition'. 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 'Not Composite Condition'.
- See Also:
-
caseSingleCompositeCondition
Returns the result of interpreting the object as an instance of 'Single Composite Condition'. 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 'Single Composite Condition'.
- See Also:
-
caseMultipleCompositeCondition
Returns the result of interpreting the object as an instance of 'Multiple Composite Condition'. 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 'Multiple Composite Condition'.
- See Also:
-
caseConditionList
Returns the result of interpreting the object as an instance of 'Condition List'. 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 'Condition List'.
- See Also:
-
caseAImportedCondition
Returns the result of interpreting the object as an instance of 'AImported Condition'. 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 'AImported Condition'.
- See Also:
-
caseImportedThreatCondition
Returns the result of interpreting the object as an instance of 'Imported Threat Condition'. 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 'Imported Threat Condition'.
- See Also:
-
caseImportedCondition
Returns the result of interpreting the object as an instance of 'Imported Condition'. 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 'Imported Condition'.
- See Also:
-
caseDFDElementAnnotation
Returns the result of interpreting the object as an instance of 'DFD Element Annotation'. 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 'DFD Element Annotation'.
- See Also:
-
caseAttackerModel
Returns the result of interpreting the object as an instance of 'Attacker 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 'Attacker Model'.
- See Also:
-
caseAttackerProfile
Returns the result of interpreting the object as an instance of 'Attacker Profile'. 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 'Attacker Profile'.
- See Also:
-
caseICharacteristic
Returns the result of interpreting the object as an instance of 'ICharacteristic'. 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 'ICharacteristic'.
- See Also:
-
caseDataModel
Returns the result of interpreting the object as an instance of 'Data 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 'Data Model'.
- See Also:
-
caseDataType
Returns the result of interpreting the object as an instance of 'Data 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 'Data Type'.
- See Also:
-
caseTransformedData
Returns the result of interpreting the object as an instance of 'Transformed Data'. 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 'Transformed Data'.
- See Also:
-
caseDataModelElement
Returns the result of interpreting the object as an instance of 'Data Model 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 'Data Model Element'.
- See Also:
-
caseDataSubjectType
Returns the result of interpreting the object as an instance of 'Data Subject 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 'Data Subject Type'.
- See Also:
-
casePersonalDataType
Returns the result of interpreting the object as an instance of 'Personal Data 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 'Personal Data Type'.
- See Also:
-
caseDataSet
Returns the result of interpreting the object as an instance of 'Data Set'. 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 Set'.
- See Also:
-
caseIModelElementAnnotation
Returns the result of interpreting the object as an instance of 'IModel Element Annotation'. 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 'IModel Element Annotation'.
- See Also:
-
caseKVModelElementAnnotation
Returns the result of interpreting the object as an instance of 'KV Model Element Annotation'. 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 'KV Model Element Annotation'.
- See Also:
-
caseModelElementAnnotation
Returns the result of interpreting the object as an instance of 'Model Element Annotation'. 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 Element Annotation'.
- See Also:
-
caseThreatPattern
Returns the result of interpreting the object as an instance of 'Threat Pattern'. 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 'Threat Pattern'.
- See Also:
-
caseThreatTypeIDToEstimateMap
Returns the result of interpreting the object as an instance of 'Threat Type ID To Estimate Map'. 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 'Threat Type ID To Estimate Map'.
- See Also:
-
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 classSwitch<T>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-