The I_EditorPersistency Persistency Editor supports you in managing your Persistency.

Open Persistency Editor

<CTRL> + <SHIFT> + <D>, <P>

Open Editor

To open the Persistency Editor, expand your DaVinci Adaptive project in the DaVinci Project Explorer and double click on I_DaVinciDeveloperAdaptive Open Project Dashboard . The Project Frame opens showing the Project Home. You can then open the Persistency Editor as follows:

The Persistency Editor opens in a new tab of the Project Frame.

Editor Toolbar

The toolbar on the top right of the Persistency Editor provides the following features:

The toolbar on the left side of the Persistency Editor provides the following features:

Functionality

The Persistency Editor provides the functionalities listed in the table below. If not otherwise mentioned, the functionalities available in the I_DetailsMode_FormMode Form mode are described. If you want to manage the properties of an element textually, switch to the I_DMLEditor DML mode via the toolbar and refer to DaVinci Modeling Language Editor for more information.

Tree View Structure

Description of Functionalities

I_FileStorageInterface Persistency File Storage Interfaces

The element Persistency File Storage Interfaces is used for grouping and does not contain any modifiable properties.

I_TreeViewStructure_ChildElementI_FileStorageInterface <Persistency File Storage Interface>

Select Persistency File Storage Interface in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the File Storage Interface. Edit the field to change the name.
  • Description: Displays the description of the File Storage Interface. Edit the field to change the description.
  • Minimum Sustained Size: Displays the the minimum size required at design time for the enclosing Persistency Interface.
  • Redundancy: Displays the requirement towards the redundancy of storage.
  • Update Strategy: Displays the update strategy of the respective Persistency Interface as a whole.
  • Max Number of Files: Displays an upper limit for the handling of files at runtime in the context of the enclosing Persistency File Storage Interface.

Redundancy Handling

  • I_Add Create Redundancy Handling: Click this icon to add a new Redundancy Handling and define Scope, Algorithm Family and Length.
  • I_Delete Delete Redundancy Handling: Click this icon to delete a selected Redundancy Handling.

File Elements

  • I_Add Create File Element: Click this icon to add a new File Element and define Name, Content URI, File Name and Update Strategy.
  • I_Delete Delete File Element: Click this icon to delete a selected File Element.

MICROSAR Adaptive Parameters

This area contains MICROSAR Adaptive Parameters that are specified as Model Extensions (MEX) in the MICROSAR Adaptive BSW Package. Parameters for the selected AUTOSAR model element are displayed in the table of the MICROSAR Adaptive Parameters area on the respective pages of the Persistency Editor. Select a parameter in the table to view the editing options.

I_TreeViewStructure_ChildElementI_TreeViewStructure_ChildElementI_FileStorage <Persistency File Storage>

Select Persistency File Storage in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the File Storage. Edit the field to change the name.
  • Description: Displays the description of the File Storage. Edit the field to change the description.
  • Minimum Sustained Size: Displays the the minimum size guaranteed at deployment time for the enclosing Persistency Deployment.
  • Maximunm Allowed Size: Displays the the maximum size guaranteed at deployment time for the enclosing Persistency Deployment.
  • Update Strategy: Displays the update strategy of the respective Persistency deployment as a whole.
  • URI: Displays the storage location for the Persistency File Storage, e.g. a directory on the file system.

Redundancy Handling

  • I_Add Create Redundancy Handling: Click this icon to add a new Redundancy Handling and define Scope, Algorithm Family and Length.
  • I_Delete Delete Redundancy Handling: Click this icon to delete a selected Redundancy Handling.

Files

  • I_Add Create File: Click this icon to add a new File and define Name, URI, File Name and Update Strategy.
  • I_Delete Delete File: Click this icon to delete a selected File.

Mappings

  • I_Edit Edit Mapping: Click this icon to edit the selected Mapping. The Modify Persistency to Port Mapping Wizard opens.

I_KeyValueStorageInterface Persistency Key Value Storage Interfaces

The element Persistency Key Value Storage Interfaces is used for grouping and does not contain any modifiable properties.

I_TreeViewStructure_ChildElementI_KeyValueStorageInterface <Persistency Key Value Storage Interface>

Select Persistency Key Value Storage Interface in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the Key Value Storage Interface. Edit the field to change the name.
  • Description: Displays the description of the Key Value Storage Interface. Edit the field to change the description.
  • Minimum Sustained Size: Displays the the minimum size required at design time for the enclosing Persistency Interface.
  • Redundancy: Displays the requirement towards the redundancy of storage.
  • Update Strategy: Displays the update strategy of the respective Persistency Interface as a whole.
  • Max Number of Files: Displays an upper limit for the handling of files at runtime in the context of the enclosing Persistency File Storage Interface.

Redundancy Handling

  • I_Add Create Redundancy Handling: Click this icon to add a new Redundancy Handling and define Scope, Algorithm Family and Length.
  • I_Delete Delete Redundancy Handling: Click this icon to delete a selected Redundancy Handling.

File Elements

  • I_Add Create File Element: Click this icon to add a new File Element and define Name, Content URI, File Name and Update Strategy.
  • I_Delete Delete File Element: Click this icon to delete a selected File Element.

MICROSAR Adaptive Parameters

This area contains MICROSAR Adaptive Parameters that are specified as Model Extensions (MEX) in the MICROSAR Adaptive BSW Package. Parameters for the selected AUTOSAR model element are displayed in the table of the MICROSAR Adaptive Parameters area on the respective pages of the Persistency Editor. Select a parameter in the table to view the editing options.

I_TreeViewStructure_ChildElementI_TreeViewStructure_ChildElementI_KeyValueStorage <Persistency Key Value Storage>

Select Persistency Key Value Storage in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the Key Value Storage. Edit the field to change the name.
  • Description: Displays the description of the Key Value Storage Storage. Edit the field to change the description.
  • Minimum Sustained Size: Displays the the minimum size guaranteed at deployment time for the enclosing Persistency Deployment.
  • Maximunm Allowed Size: Displays the the maximum size guaranteed at deployment time for the enclosing Persistency Deployment.
  • Update Strategy: Displays the update strategy of the respective Persistency deployment as a whole.
  • URI: Displays the storage location for the Persistency Key Value Storage, e.g. a directory on the file system.

Redundancy Handling

  • I_Add Create Redundancy Handling: Click this icon to add a new Redundancy Handling and define Scope, Algorithm Family and Length.
  • I_Delete Delete Redundancy Handling: Click this icon to delete a selected Redundancy Handling.

Key Value Pairs

  • I_Add Create Key Value Pair: Click this icon to add a new Key Value Pair and define Name, Type and Update Strategy.
  • I_Delete Delete Key Value Pair: Click this icon to delete a selected Key Value Pair.

Mappings

  • I_Edit Edit Mapping: Click this icon to edit the selected Mapping. The Modify Persistency to Port Mapping Wizard opens.