In the Information Store dialog, you can define the behavior, the modeling properties, and the custom attribute types of the current model's information stores. This dialog can be opened from the Modeling Options dialog by selecting "Information Store" and clicking the "View" button.
The Behavior tab shows the behavior options and the custom hierarchies in the model.
You can select the desired behavior options for the information store by clicking a checkbox next to the behavior option. The behavior options are:
•Check for duplicates when instantiating: when this selection is enabled, creating instances of stores of this type can be done by selecting the name of an existing store from the drop-down menu displayed on a newly created process step.
•Instances can have different graphical properties: when this selection is enabled, changing the graphical properties of an instance does not apply the change to every instance of the element.
The element hierarchies can be used, for example, to model the structure of the process. The element hierarchies are visible in sub-tabs of the Processes tab in QPR Portal. In case the model containing the custom hierarchy is a base model, the hierarchy is published if a store that is a part of the hierarchy is published. The "Custom hierarchies" list shows all the custom hierarchies in the model. The list is used to define element hierarchy behavior for the stores. The list contains four parts:
•Checkbox: selecting a checkbox will make the stores a part of the hierarchy in question.
•Hierarchy: this column lists the names of the element hierarchies in the model.
•Part of branch: the drop down boxes in this column define if the stores can be a part of a single branch (i.e. the stores can have only one parent element) or multiple branches (i.e. the stores can have multiple parent elements).
•Node type: defining the node type as a "leaf node" prevents the stores from having child elements, whereas defining the node type as "any node" allows the stores to have child elements.
To create a new element hierarchy, click the New button. To view and modify the properties of an existing hierarchy, click the View button. Click Delete to delete the selected hierarchy. Clicking the Set as Default button will set the selected hierarchy as the default hierarchy for the store type. If a hierarchy has been set as a default hierarchy, that hierarchy is shown in the selection dialogs for the store type. If a default hierarchy has not been set, the stores are shown as a list in the selection dialogs. Clicking the Clear Default button will clear the default setting.
Note: The element hierarchy is common to both material and information stores, i.e. if you create a hierarchy for either store type, the other store type is a part of that hierarchy too.
The selections on the Modeling tab are used to define quick modeling settings:
•Default connector type: defines which connector type is used when a new element of this type is created using quick modeling.
•Horizontal offset: defines the horizontal distance of the created element from the selected element in pixels. Allowed values are 10 to 1000. If the grid is enabled, the offset is rounded up to the next grid size.
•Vertical offset: defines the vertical distance of the created element from the selected element in pixels. Allowed values are 10 to 1000. If the grid is enabled, the offset is rounded up to the next grid size.
The default graphical properties of the store type are also shown. Click the Edit... button to modify the graphical properties.
Custom Attribute Types
Custom attribute types can also be defined for Information stores. On the Custom Attribute Types page of this dialog, you can add custom attribute types by clicking the "Add" button and remove custom attribute types with the "Remove" button. You can also edit the custom attribute types. To change the order of the custom attribute types, use the upward and downward arrow buttons on the right side of the dialog. You can edit the name of the custom attribute type by typing it into the Name column. The cardinality can also be changed by clicking on the cardinality value and then selecting a new value from the drop-down list (either 1 or N). If you select 1, only one value can be defined for that attribute. If you select N, several values can be defined.
Information Store dialog
On the Model Validation tab, you can define validation rules to help you with model consistency and following a modeling notation. When the check box is filled, the validation definition set in Modeling Options Dialog are used. When the check box is checked, the validation definition on the current element type dialog is used. See the Modeling Options Dialog topic for details.