6.2.5.30. Architecture-QEAExporter

Exports an architecture view to a .qea file for Enterprise Architect (Unsupported preview)

Required inputs: RFG

Unsupported preview.

This rule exports an architecture view to a .qea file.

Possible Messages

This rule has no predefined messages.

Options

architecture_view_name

architecture_view_name : str = 'None (value must be set)'

Name of the architecture view to be exported.
 

attribute_node_types

attribute_node_types : list[str] = ['UML Attribute']

Node types that shall be translated to attributes.
 

class_node_types

class_node_types : list[str] = ['UML Class']

Node types that shall be translated to classes.
 

component_node_types

component_node_types : list[str] = ['UML Component']

Node types that shall be translated to components.
 

ea_file_path

ea_file_path : bauhaus.analysis.config.LayerRelativePath = 'None (value must be set)'

Path to the Enterprise Architect (.qea or .eapx or .eap) project file.
 

edge_mapping

edge_mapping

Type: dict[RFGEdgeOption, EdgeConfig]

Default:

{
   'Extend':    bauhaus.architecture.ea_export.ea_export_base.EdgeConfig(
      ea_edge='Generalization',
      reverse=True
   ),
   'Source_Dependency':    bauhaus.architecture.ea_export.ea_export_base.EdgeConfig(
      ea_edge='Dependency',
      reverse=False
   )
}
Mapping from RFG edges to EA edges.
 

export_warnings

export_warnings : bool = True

Export output messages to the analysis database.
 

language

language : Language = 'C++'

The language property to be set for generated EA entities.
 

loglevel

loglevel : LogLevel = 'WARNING'

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

operation_node_types

operation_node_types : list[str] = ['UML Operation']

Node types that shall be translated to operations.
 

package_node_types

package_node_types : list[str] = ['UML Package']

Node types that shall be translated to packages.
 

parameter_node_types

parameter_node_types : list[str] = ['UML Parameter']

Node types that shall be translated to operation parameters.
 

Option Types

These types are used by options listed above:

EAEdgeOption

An enumeration.
 
  • Dependency

  • Generalization

EdgeConfig

EdgeConfig(ea_edge: bauhaus.architecture.ea_export.ea_export_base.EAEdgeOption = , reverse: bool = False)
 

ea_edge : EAEdgeOption = 'Dependency'

The EA edge to which the RFG edge shall be translated.
 

reverse : bool = False

Whether the edge direction shall be reversed.
 

Language

An enumeration.
 
  • C++

  • C

  • Java

  • C#

  • Python

LogLevel

An enumeration.
 
  • WARNING

  • INFO

  • DEBUG

RFGEdgeOption

An enumeration.
 
  • Source_Dependency

  • Extend