170 lines
7.7 KiB
XML
Executable File
170 lines
7.7 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
//
|
|
// Create Application.xml - XML definition for the initial Mocha `Create Application` system task instance
|
|
//
|
|
// Author:
|
|
// Michael Becker <alcexhim@gmail.com>
|
|
//
|
|
// Copyright (c) 2020 Mike Becker's Software
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<mocha xmlns="urn:net.alcetech.schemas.Mocha">
|
|
<libraries>
|
|
<library id="{2826E41F-763A-413F-B239-3D9698AB629F}">
|
|
<instances>
|
|
<instance id="{03f72f5a-518f-4a23-91a4-e27eee5d1bbc}" classInstanceId="{195DDDD7-0B74-4498-BF61-B0549FE05CF3}">
|
|
<!-- Text Prompt: Application Name for Create Application -->
|
|
<translations>
|
|
<translation relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
|
|
<translationValues>
|
|
<translationValue languageInstanceId="&IDI_Language_English;" value="Application Name" />
|
|
</translationValues>
|
|
</translation>
|
|
</translations>
|
|
</instance>
|
|
|
|
<instance id="{655669c1-6610-4e1e-b7ff-7928d9b6721c}" classInstanceId="{0A6E2CF2-97B6-4339-B1DA-1DBBFE9806C6}">
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{7CD62362-DDCE-4BFC-87B9-B5499B0BC141}">
|
|
<!-- Prompt Value.has Prompt `Class Instance ID` -->
|
|
<targetInstances>
|
|
<instanceReference instanceId="{06210C75-9093-4B3D-ACF2-124C84E95C2A}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{512B518E-A892-44AB-AC35-4E9DBCABFF0B}">
|
|
<!-- Instance Prompt Value.has Instance `Application` -->
|
|
<targetInstances>
|
|
<instanceReference instanceId="{b1a29a91-6795-44dc-a47e-bd77d3dcb8db}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
</instance>
|
|
|
|
<instance id="{bad3d91a-5bf8-44bf-b13b-571ff452a34b}" classInstanceId="{056B2384-F841-4562-886B-F7AFB6D272F2}">
|
|
<!-- Reference Prompt Value: Target Instance for Assign Attribute :: Newly Created Instance for Create Class -->
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{7CD62362-DDCE-4BFC-87B9-B5499B0BC141}">
|
|
<!-- Prompt Value.has Prompt -->
|
|
<targetInstances>
|
|
<!-- Target Instance for Assign Attribute -->
|
|
<instanceReference instanceId="{e9b177fc-fc52-4d09-9155-81902f5f934b}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{C9472658-9E50-48FD-BF7F-ED31A72DEF39}">
|
|
<!-- Reference Prompt Value.has source Prompt -->
|
|
<targetInstances>
|
|
<!-- Newly Created Instance for Create Class -->
|
|
<instanceReference instanceId="{C9472658-9E50-48FD-BF7F-ED31A72DEF39}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
</instance>
|
|
|
|
<instance id="{b1af5f04-a403-4005-bf35-653cc8902712}" classInstanceId="{084A6D58-32C9-4A5F-9D2B-86C46F74E522}">
|
|
<!-- Method Call: create instance `Application` -->
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{3D3B601B-4EF0-49F3-AF05-86CEA0F00619}">
|
|
<!-- Method Call.has Method -->
|
|
<targetInstances>
|
|
<instanceReference instanceId="{4E92D64E-AC91-4ABF-8052-96366DF93996}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{765BD0C9-117D-4D0E-88C9-2CEBD4898135}">
|
|
<!-- Method Call.has Prompt Value -->
|
|
<targetInstances>
|
|
<!-- Class for Create Instance -->
|
|
<instanceReference instanceId="{655669c1-6610-4e1e-b7ff-7928d9b6721c}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
</instance>
|
|
<instance id="{c3502d21-4527-439b-ba34-272dcf343529}" classInstanceId="{056B2384-F841-4562-886B-F7AFB6D272F2}">
|
|
<!-- Reference Prompt Value: Attribute Value for Assign Attribute :: Class Name for Create Class -->
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{7CD62362-DDCE-4BFC-87B9-B5499B0BC141}">
|
|
<!-- Prompt Value.has Prompt -->
|
|
<targetInstances>
|
|
<!-- Attribute Value for Assign Attribute -->
|
|
<instanceReference instanceId="{73AB917D-7C1A-49F2-B278-67AED75EF7D8}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{C9472658-9E50-48FD-BF7F-ED31A72DEF39}">
|
|
<!-- Reference Prompt Value.has source Prompt -->
|
|
<targetInstances>
|
|
<!-- Application Name for Create Application -->
|
|
<instanceReference instanceId="{03f72f5a-518f-4a23-91a4-e27eee5d1bbc}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
</instance>
|
|
<instance id="{86e22c33-b35b-4176-a81d-f216807851da}" classInstanceId="{084A6D58-32C9-4A5F-9D2B-86C46F74E522}">
|
|
<!-- Method Call: assign attribute `Name` to Instance parm (newly created) using Value parm (from prompt `Class Name`) -->
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{3D3B601B-4EF0-49F3-AF05-86CEA0F00619}">
|
|
<!-- Method Call.has Method -->
|
|
<targetInstances>
|
|
<instanceReference instanceId="{05BE1694-9B42-4E6C-880F-B5EE1765EE44}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{765BD0C9-117D-4D0E-88C9-2CEBD4898135}">
|
|
<!-- Method Call.has Prompt Value -->
|
|
<targetInstances>
|
|
<!-- `Target Instance for Assign Attribute` = the newly created instance from create instance method -->
|
|
<instanceReference instanceId="{bad3d91a-5bf8-44bf-b13b-571ff452a34b}" />
|
|
<!-- `Attribute Value for Assign Attribute` = value (from prompt `Class Name`) -->
|
|
<instanceReference instanceId="{c3502d21-4527-439b-ba34-272dcf343529}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
</instance>
|
|
|
|
<instance id="{e9b177fc-fc52-4d09-9155-81902f5f934b}" classInstanceId="{BFD07772-178C-4885-A6CE-C85076C8461C}">
|
|
<relationships>
|
|
<relationship relationshipInstanceId="{929B106F-7E3E-4D30-BB84-E450A4FED063}">
|
|
<!-- Task.has Prompt -->
|
|
<targetInstances>
|
|
<!-- Application Name -->
|
|
<instanceReference instanceId="{03f72f5a-518f-4a23-91a4-e27eee5d1bbc}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
<relationship relationshipInstanceId="{D8C0D4D4-F8C6-4B92-A2C1-8BF16B16203D}">
|
|
<!-- Task.executes Method Call -->
|
|
<targetInstances>
|
|
<!-- create instance `Application` -->
|
|
<instanceReference instanceId="{b1af5f04-a403-4005-bf35-653cc8902712}" />
|
|
<!-- assign attribute `Name` to Instance parm (newly created) using Value parm (from prompt `Class Name`) -->
|
|
<instanceReference instanceId="{86e22c33-b35b-4176-a81d-f216807851da}" />
|
|
</targetInstances>
|
|
</relationship>
|
|
</relationships>
|
|
<translations>
|
|
<translation relationshipInstanceId="{D97AE03C-261F-4060-A06D-985E26FA662C}">
|
|
<translationValues>
|
|
<translationValue languageInstanceId="&IDI_Language_English;" value="Create Application" />
|
|
</translationValues>
|
|
</translation>
|
|
<translation relationshipInstanceId="{A9387898-9DC0-4006-94F1-1FB02EB3ECD7}">
|
|
<translationValues>
|
|
<translationValue languageInstanceId="&IDI_Language_English;" value="Creates a new Application" />
|
|
</translationValues>
|
|
</translation>
|
|
</translations>
|
|
</instance>
|
|
</instances>
|
|
</library>
|
|
</libraries>
|
|
</mocha>
|