6.2.5.29. Architecture-EAImporter

Imports an Enterprise Architect model (in XMI1.1 format) into the RFG

Required inputs: RFG

This rule converts an XMI model (UML 1.3/XMI 1.1) exported from Enterprise Architect® to an RFG containing an architectural description based on the elements contained in the model.

The importer expects UTF-8-encoded XML files. If the XMI files have another encoding (especially multi-byte encodings like shift-jis), consider changing the encoding within Enterprise Architect or use the 'encoding' option.

Possible Messages

This rule has no predefined messages.

Options

add_classifier_edges

add_classifier_edges : bool = False

Generate UML Classifier edges (e.g. between Interfaces and ProvidedInterfaces).
 

add_raw_guids

add_raw_guids : bool = False

If set to true, store unprocessed value of GUIDs in attribute "Linkage.Raw_GUID".
 

architecture_view_name

architecture_view_name : str = 'EA Architecture'

Name of the generated architecture view.
 

encoding

encoding : str | None = None

The encoding of the XMI files to import (if differing from UTF-8).
 

excluded_class_stypes

excluded_class_stypes : list[str] = ['EntryPoint', 'ExitPoint']

UML classes with these stypes are not imported.
 

export_warnings

export_warnings : bool = True

Export output messages to the analysis database.
 

import_sequence_diagrams

import_sequence_diagrams : bool = False

Import (a fragment of) sequence diagrams.
 

import_structural_diagrams

import_structural_diagrams : bool = False

Import diagram data for structural diagrams.
 

import_tagged_values

import_tagged_values : list[str] = ['Axivion.LinkageName']

Names of tagged values that should be imported. By default, the tagged value Axivion.LinkageName is imported, which carries the linkage names of architecture nodes generated by the architecture reengineering rules.
 

imported_constraint_types

imported_constraint_types : list[str] = []

List of types of imported constraints (empty list imports all).
 

loglevel

loglevel : LogLevel = 'WARNING'

Logging mode. WARNING only outputs errors and warnings, INFO additionally prints info messages, DEBUG additionally outputs info and debug messages.
 

try_to_repair_nontree_structure

try_to_repair_nontree_structure : bool = False

If set to true, the importer attempts to disambiguate nodes having two parent nodes in the resulting architecture view by removing hierarchical edges. ' The nodes in question are also copied to an extra view for inspection.
 

uml_classifier_types

uml_classifier_types : list[str] = ['Object', 'ProvidedInterface', 'RequiredInterface', 'Part', 'InformationItem', 'TimeLine']

Names of UML classifier types that should be converted.
 

uml_types

uml_types

Type: list[str]

Default: ['Class', 'Interface', 'Package', 'Component', 'InformationItem', 'Operation', 'Attribute', 'TaggedValue', 'ClassifierRole', 'Port', 'Constraint']

Names of UML types that should be converted.
 

xmi_files

xmi_files : set[bauhaus.analysis.config.LayerRelativePath] = set()

XMI files to process.
 

Option Types

These types are used by options listed above:

LogLevel

An enumeration.
 
  • WARNING

  • INFO

  • DEBUG