Interface SpartaModelFactory

All Superinterfaces:
EFactory, EModelElement, EObject, Notifier

public interface SpartaModelFactory extends EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
See Also:
  • Field Details

    • eINSTANCE

      static final SpartaModelFactory eINSTANCE
      The singleton instance of the factory.
  • Method Details

    • createDataFlow

      DataFlow createDataFlow()
      Returns a new object of class 'Data Flow'.
      Returns:
      a new object of class 'Data Flow'.
    • createExternalEntity

      ExternalEntity createExternalEntity()
      Returns a new object of class 'External Entity'.
      Returns:
      a new object of class 'External Entity'.
    • createProcess

      Process createProcess()
      Returns a new object of class 'Process'.
      Returns:
      a new object of class 'Process'.
    • createDataStore

      DataStore createDataStore()
      Returns a new object of class 'Data Store'.
      Returns:
      a new object of class 'Data Store'.
    • createDFDModel

      DFDModel createDFDModel()
      Returns a new object of class 'DFD Model'.
      Returns:
      a new object of class 'DFD Model'.
    • createTrustBoundaryContainer

      TrustBoundaryContainer createTrustBoundaryContainer()
      Returns a new object of class 'Trust Boundary Container'.
      Returns:
      a new object of class 'Trust Boundary Container'.
    • createSenderSpecification

      SenderSpecification createSenderSpecification()
      Returns a new object of class 'Sender Specification'.
      Returns:
      a new object of class 'Sender Specification'.
    • createRecipientSpecification

      RecipientSpecification createRecipientSpecification()
      Returns a new object of class 'Recipient Specification'.
      Returns:
      a new object of class 'Recipient Specification'.
    • createSolutionType

      SolutionType createSolutionType()
      Returns a new object of class 'Solution Type'.
      Returns:
      a new object of class 'Solution Type'.
    • createRole

      Role createRole()
      Returns a new object of class 'Role'.
      Returns:
      a new object of class 'Role'.
    • createRole

      Role createRole(Class<? extends DFDElement>... types)
    • createCounterMeasure

      CounterMeasure createCounterMeasure()
      Returns a new object of class 'Counter Measure'.
      Returns:
      a new object of class 'Counter Measure'.
    • createRoleBinding

      RoleBinding createRoleBinding()
      Returns a new object of class 'Role Binding'.
      Returns:
      a new object of class 'Role Binding'.
    • createSolution

      Solution createSolution()
      Returns a new object of class 'Solution'.
      Returns:
      a new object of class 'Solution'.
    • createThreatTypeCatalog

      ThreatTypeCatalog createThreatTypeCatalog()
      Returns a new object of class 'Threat Type Catalog'.
      Returns:
      a new object of class 'Threat Type Catalog'.
    • createSolutionTypeCatalog

      SolutionTypeCatalog createSolutionTypeCatalog()
      Returns a new object of class 'Solution Type Catalog'.
      Returns:
      a new object of class 'Solution Type Catalog'.
    • createThreatSpecification

      ThreatSpecification createThreatSpecification()
      Returns a new object of class 'Threat Specification'.
      Returns:
      a new object of class 'Threat Specification'.
    • createThreatSpecificationCatalog

      ThreatSpecificationCatalog createThreatSpecificationCatalog()
      Returns a new object of class 'Threat Specification Catalog'.
      Returns:
      a new object of class 'Threat Specification Catalog'.
    • createThreatType

      ThreatType createThreatType()
      Returns a new object of class 'Threat Type'.
      Returns:
      a new object of class 'Threat Type'.
    • createEstimate

      Estimate createEstimate()
      Returns a new object of class 'Estimate'.
      Returns:
      a new object of class 'Estimate'.
    • createOrCompositeThreatType

      OrCompositeThreatType createOrCompositeThreatType()
      Returns a new object of class 'Or Composite Threat Type'.
      Returns:
      a new object of class 'Or Composite Threat Type'.
    • createAndCompositeThreatType

      AndCompositeThreatType createAndCompositeThreatType()
      Returns a new object of class 'And Composite Threat Type'.
      Returns:
      a new object of class 'And Composite Threat Type'.
    • createThreatTypeGroup

      ThreatTypeGroup createThreatTypeGroup()
      Returns a new object of class 'Threat Type Group'.
      Returns:
      a new object of class 'Threat Type Group'.
    • createCondition

      Condition createCondition()
      Returns a new object of class 'Condition'.
      Returns:
      a new object of class 'Condition'.
    • createAndCompositeCondition

      AndCompositeCondition createAndCompositeCondition()
      Returns a new object of class 'And Composite Condition'.
      Returns:
      a new object of class 'And Composite Condition'.
    • createOrCompositeCondition

      OrCompositeCondition createOrCompositeCondition()
      Returns a new object of class 'Or Composite Condition'.
      Returns:
      a new object of class 'Or Composite Condition'.
    • createNotCompositeCondition

      NotCompositeCondition createNotCompositeCondition()
      Returns a new object of class 'Not Composite Condition'.
      Returns:
      a new object of class 'Not Composite Condition'.
    • createConditionList

      ConditionList createConditionList()
      Returns a new object of class 'Condition List'.
      Returns:
      a new object of class 'Condition List'.
    • createImportedThreatCondition

      ImportedThreatCondition createImportedThreatCondition()
      Returns a new object of class 'Imported Threat Condition'.
      Returns:
      a new object of class 'Imported Threat Condition'.
    • createImportedCondition

      ImportedCondition createImportedCondition()
      Returns a new object of class 'Imported Condition'.
      Returns:
      a new object of class 'Imported Condition'.
    • createAttackerModel

      AttackerModel createAttackerModel()
      Returns a new object of class 'Attacker Model'.
      Returns:
      a new object of class 'Attacker Model'.
    • createAttackerProfile

      AttackerProfile createAttackerProfile()
      Returns a new object of class 'Attacker Profile'.
      Returns:
      a new object of class 'Attacker Profile'.
    • createDataModel

      DataModel createDataModel()
      Returns a new object of class 'Data Model'.
      Returns:
      a new object of class 'Data Model'.
    • createDataType

      DataType createDataType()
      Returns a new object of class 'Data Type'.
      Returns:
      a new object of class 'Data Type'.
    • createTransformedData

      TransformedData createTransformedData()
      Returns a new object of class 'Transformed Data'.
      Returns:
      a new object of class 'Transformed Data'.
    • createDataSubjectType

      DataSubjectType createDataSubjectType()
      Returns a new object of class 'Data Subject Type'.
      Returns:
      a new object of class 'Data Subject Type'.
    • createPersonalDataType

      PersonalDataType createPersonalDataType()
      Returns a new object of class 'Personal Data Type'.
      Returns:
      a new object of class 'Personal Data Type'.
    • createDataSet

      DataSet createDataSet()
      Returns a new object of class 'Data Set'.
      Returns:
      a new object of class 'Data Set'.
    • createKVModelElementAnnotation

      KVModelElementAnnotation createKVModelElementAnnotation()
      Returns a new object of class 'KV Model Element Annotation'.
      Returns:
      a new object of class 'KV Model Element Annotation'.
    • createModelElementAnnotation

      ModelElementAnnotation createModelElementAnnotation()
      Returns a new object of class 'Model Element Annotation'.
      Returns:
      a new object of class 'Model Element Annotation'.
    • createThreatPattern

      ThreatPattern createThreatPattern()
      Returns a new object of class 'Threat Pattern'.
      Returns:
      a new object of class 'Threat Pattern'.
    • getSpartaModelPackage

      SpartaModelPackage getSpartaModelPackage()
      Returns the package supported by this factory.
      Returns:
      the package supported by this factory.