Interface ThreatSpecification
- All Superinterfaces:
EObject,ModelElement,Notifier,SecurityElement
A representation of the model object 'Threat Specification'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Patterns' map.Returns the value of the 'Threat' reference.getTypes()Returns the value of the 'Types' map.booleanReturns the value of the 'Enabled' attribute.voidsetEnabled(boolean value) Sets the value of the 'Enabled' attribute.voidsetThreat(AbstractThreatType value) Sets the value of the 'Threat' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface be.kuleuven.cs.distrinet.sparta.spartamodel.ModelElement
getAnnotations, getDescription, getId, getName, setDescription, setId, setNameMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getThreat
AbstractThreatType getThreat()Returns the value of the 'Threat' reference.If the meaning of the 'Threat' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Threat' reference.
- See Also:
-
setThreat
Sets the value of the 'Threat' reference.- Parameters:
value- the new value of the 'Threat' reference.- See Also:
-
isEnabled
boolean isEnabled()Returns the value of the 'Enabled' attribute. The default value is"true".If the meaning of the 'Enabled' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Enabled' attribute.
- See Also:
-
setEnabled
void setEnabled(boolean value) Sets the value of the 'Enabled' attribute.- Parameters:
value- the new value of the 'Enabled' attribute.- See Also:
-
getTypes
Returns the value of the 'Types' map. The key is of typeString, and the value is of typeBoolean,If the meaning of the 'Types' map isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Types' map.
- See Also:
-
getPatterns
Returns the value of the 'Patterns' map. The key is of typeString, and the value is of typeBoolean,If the meaning of the 'Patterns' map isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Patterns' map.
- See Also:
-