Seeded data in imported projects

Seeded data in imported projects

An Oracle Policy Modeling project created by importing an existing project will be seeded with the various project folders and documents based on the data in the project interchange file. These will include:

A project file

An Oracle Policy Modeling project file (.xprj) is created when a project interchange file is imported. The project file name will be based on the project interchange file name. Project custom properties and templates for custom properties for other project items will be included in the project file. The project file will be automatically saved on completion of the import.

A master data model file

A master data model file, datamodel.xsrc, is created and inserted in the project's root folder. For each entity, attribute and relationship in the interchange file's <model> section, a corresponding declaration will be added to the master data model XSRC file.

NOTE: While all data model elements defined in a module are exported, only those elements that were defined within the actual project itself are re-imported.

Project folders

For each ruleset, a project folder is created and assigned the properties associated with that ruleset in the interchange file.

Rules documents

A "starter" Microsoft Word or Excel rule document will be created for each unique rule file name (as specified by the /rules/*/rule/document element) in a ruleset and allocated to the ruleset's corresponding folder. Each rule in the interchange file will be allocated to a starter rule document (as specified by the rule's ruleset membership and its document element).

Rules

For each rule, appropriate content will be added to the rule document for each non-empty attribute and sub-element specified in the interchange file. This includes:

If a rule has a non-empty rule-text element, the importer will use the contained XHTML to recreate the original rule text. The rule/rule-text/@format attribute, and the rule/document/@document-type attribute, governs whether the rule text is represented as a table or regular paragraphs rule, and whether it is included in a Word or an Excel rule document.

NOTE: Rules defined in a module are not exported and therefore are not re-imported.