Interface ModelElement
- All Known Subinterfaces:
AbstractCondition,AbstractThreatType,AImportedCondition,AndCompositeCondition,AndCompositeThreatType,Asset,AttackerModel,AttackerProfile,CompositeCondition,CompositeThreatType,Condition,CounterMeasure,DataFlow,DataFlowEntity,DataModel,DataStore,DataType,DFDBoundaryElement,DFDContainer,DFDElement,DFDModel,ExternalEntity,FlowElement,ImportedCondition,ImportedThreatCondition,MultipleCompositeCondition,NotCompositeCondition,OrCompositeCondition,OrCompositeThreatType,PersonalDataType,Process,RecipientSpecifiable,RecipientSpecification,Role,RoleBinding,SecurityAnnotation,SecurityElement,SenderSpecifiable,SenderSpecification,SingleCompositeCondition,Solution,SolutionType,SolutionTypeCatalog,SpartaResource,ThreatPattern,ThreatSpecification,ThreatSpecificationCatalog,ThreatType,ThreatTypeCatalog,ThreatTypeGroup,TransformedData,TrustBoundaryContainer
- All Known Implementing Classes:
Attacker,be.kuleuven.cs.distrinet.sparta.spartamodel.impl.AttackerProfileImpl,be.kuleuven.cs.distrinet.sparta.spartamodel.impl.ModelElementImpl,be.kuleuven.cs.distrinet.sparta.spartamodel.impl.SecurityElementImpl
A representation of the model object 'Model Element'.
DFDModelElement represents a generic element contained by a DFDModel.
They can be concrete DFD elements (e.g., processes) but also other resources such as solution catalogs.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Annotations' containment reference list.Returns the value of the 'Description' attribute.getId()Returns the value of the 'Id' attribute.getName()Returns the value of the 'Name' attribute.voidsetDescription(String value) Sets the value of the 'Description' attribute.voidSets the value of the 'Id' attribute.voidSets the value of the 'Name' attribute.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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
-
getDescription
String getDescription()Returns the value of the 'Description' attribute.- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
Sets the value of the 'Description' attribute.- Parameters:
value- the new value of the 'Description' attribute.- See Also:
-
getAnnotations
EList<IModelElementAnnotation> getAnnotations()Returns the value of the 'Annotations' containment reference list. The list contents are of typeIModelElementAnnotation.- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
-
getId
String getId()Returns the value of the 'Id' attribute.- Returns:
- the value of the 'Id' attribute.
- See Also:
-
setId
Sets the value of the 'Id' attribute.- Parameters:
value- the new value of the 'Id' attribute.- See Also:
-