Skip to main content

Import Details

This page describes how the ReqIFIntegration package works when importing ReqIF data.

Supported File Formats​

  • The ReqIF import function allows you to specify files in XML format (.reqif) or compressed format (.reqifz).

  • If .reqifz contains multiple ReqIF files, only the first ReqIF file found will be imported.

Importing Request Type Definitions​

Executing "Import Request Type Definitions" converts the type definitions contained in the ReqIF data into the Next Design metamodel and creates a view definition for browsing.

Converted Metamodel​

Type definitions are converted into the Next Design metamodel according to the following correspondences:

ReqIF Type DefinitionNext Design Metamodel
SpecificationType/SpecObjectType/SpecRelationType/RelationGroupTypeMetaclass
DataTypeEnumerationEnumeration Type
Standard Attributes (Identifier, Description, LastChange)Field
Custom Attributes (SpecAttribute)Field

For details, please refer to the ReqIF Element and Next Design Correspondence Table.

View Definition for Viewing​

When importing type definitions, a view definition for viewing the requirement model is also automatically generated.

View NameTargetMime TypeContent
RequirementSpecificationTree GridLists requirements in a hierarchical structure. Includes column definitions corresponding to fields.
DetailSpecObjectFormDisplays details of individual requirements. Includes control definitions corresponding to fields.

Type Definition Update Import​

When you repeatedly execute "Import Required Type Definitions" for the same project, the existing metamodel will be updated if one exists.

Metamodel Update Decision​

The LastChange attribute included in each type definition of ReqIF (SpecType, DataType, etc.) is compared with the last modification date recorded in the metamodel on the Next Design side. If they differ, an update is performed.

Updated Content​

During the update, the following content will be overwritten with information from the ReqIF data:

  • Class name, field name
  • Display name
  • Enumeration type, enumeration value
note

The update import does not overwrite the existing view definition itself.

Column definitions and control definitions are added to the automatically generated view definition as needed.

Custom added view definitions are maintained.

Type Definition Deletion Confirmation​

If type definitions (classes, fields, enumerations, enumeration values) that do not exist in the ReqIF data remain in Next Design, a deletion confirmation dialog will be displayed.

  • Select [Yes]: Deletes the corresponding type definition. Deleted type definitions are output to the Output tab.

  • Select [No]: Continues import without deletion. Candidate type definitions for deletion are notified in the Output tab.

This deletion is performed as part of the import process and can be undone with a single undo.

Importing Requests​

Executing "Import Requests" imports the request objects (SpecElementWithAttributes) contained in the ReqIF data as models in Next Design.

Prerequisites for Execution​

Before executing "Import Requests," you can select a model of type "__ReqIF_ReqIFContent" in the Model Navigator. Even if you haven't selected a model or if there are no models, proceeding according to the pre-check confirmations will automatically add the necessary import target models.

Importing Hierarchical Structure​

Request objects are imported according to the ReqIF structure (hierarchical structure under Specification).

Updating Request Import (Re-import)​

If you repeatedly execute "Import Requests" for the same project, existing models will be updated if they exist (hereinafter referred to as "updating import").

note
  • By default, the Identifier of the request object is used to determine if an existing model is identical (search key).

  • For data where the Identifier changes each time a request is updated, the updating import may not be able to identify the existing model and may be treated as a new import.

In that case, you may be able to avoid the issue by changing the "Attribute to treat as ID" in the "Import Settings."

Deleting Requests​

When updating and importing, if there are request models (candidates for deletion) that do not exist in the ReqIF data but only exist in Next Design, they will be handled in one of the following ways depending on the "Handling of Deleted Requests" setting in the "Import Settings":

  • Keep the model and indicate that it has been deleted: The request model candidate for deletion is not deleted, (Deleted) is added to the beginning of the model name, and the "Deleted" field is set to true.

  • Delete the model: The request model candidate for deletion is deleted.

The "Deleted" field is added to the request model when you perform "Import Request Type Definitions."

See Import Settings for configuration instructions.

Changing Hierarchy Position and Order​

When updating and importing, if the hierarchical position or sibling order of request objects changes in the ReqIF data, the model in Next Design will also automatically move.

  • Parent Element Change: If the parent of a request object changes in the ReqIF data, the model in Next Design will also move under the new parent.

  • Order Change: If the sibling order changes in the ReqIF data, the order of the model in Next Design will also change.