Skip to content

Commit 68a9751

Browse files
committed
feat(bankbranches): update to nodecharacteristics and data dictionary
1 parent 2221f20 commit 68a9751

13 files changed

+5973
-646
lines changed

bundles/org.dataflowanalysis.examplemodels/META-INF/MANIFEST.MF

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ Require-Bundle: org.eclipse.core.runtime,
77
com.google.guava,
88
org.dataflowanalysis.analysis,
99
org.dataflowanalysis.analysis.pcm,
10-
org.dataflowanalysis.analysis.dfd
10+
org.dataflowanalysis.analysis.dfd,
11+
org.dataflowanalysis.dfd.dataflowdiagram
1112
Automatic-Module-Name: org.dataflowanalysis.examplemodels
1213
Bundle-RequiredExecutionEnvironment: JavaSE-17
1314
Export-Package: org.dataflowanalysis.examplemodels,
1415
org.dataflowanalysis.examplemodels.results,
15-
org.dataflowanalysis.examplemodels.results.pcm
16+
org.dataflowanalysis.examplemodels.results.pcm,
17+
org.dataflowanalysis.examplemodels.results.pcm.models,
18+
org.dataflowanalysis.examplemodels.results.pcm.scenarios,
19+
org.dataflowanalysis.examplemodels.results.dfd,
20+
org.dataflowanalysis.examplemodels.results.dfd.models,
21+
org.dataflowanalysis.examplemodels.results.dfd.scenarios
1622

bundles/org.dataflowanalysis.examplemodels/scenarios/pcm/BankBranches/CharacteristicTypes.characteristics

-19
This file was deleted.

bundles/org.dataflowanalysis.examplemodels/scenarios/pcm/BankBranches/Characteristics.characteristics

-19
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="ASCII"?>
2+
<allocation:Allocation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:allocation="http://palladiosimulator.org/PalladioComponentModel/Allocation/5.2" id="_hmiJoD62EeulRPEeT0f8DQ" entityName="New Allocation">
3+
<targetResourceEnvironment_Allocation href="default.resourceenvironment#/"/>
4+
<system_Allocation href="default.system#_mBBuED6tEeuVUal8mM_jUA"/>
5+
<allocationContexts_Allocation id="_rPUo0D62EeulRPEeT0f8DQ" entityName="Allocation_Assembly_BranchOffice_Asia">
6+
<resourceContainer_AllocationContext href="default.resourceenvironment#_e2sfQD62EeulRPEeT0f8DQ"/>
7+
<assemblyContext_AllocationContext href="default.system#_xNu3ED6tEeuVUal8mM_jUA"/>
8+
</allocationContexts_Allocation>
9+
<allocationContexts_Allocation id="_rjqhID62EeulRPEeT0f8DQ" entityName="Allocation_Assembly_BranchOffice_USA">
10+
<resourceContainer_AllocationContext href="default.resourceenvironment#_fSAiQD62EeulRPEeT0f8DQ"/>
11+
<assemblyContext_AllocationContext href="default.system#_q_2YgD6tEeuVUal8mM_jUA"/>
12+
</allocationContexts_Allocation>
13+
<allocationContexts_Allocation id="_sMMgwD62EeulRPEeT0f8DQ" entityName="Allocation_Assembly_CustomerMovement_USA-to_Asia">
14+
<resourceContainer_AllocationContext href="default.resourceenvironment#_fSAiQD62EeulRPEeT0f8DQ"/>
15+
<assemblyContext_AllocationContext href="default.system#_7oEH8D6tEeuVUal8mM_jUA"/>
16+
</allocationContexts_Allocation>
17+
</allocation:Allocation>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<nodecharacteristics:Assignments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:DataDictionaryCharacterized="http://dataflowanalysis.org/pcm/extension/dictionary/characterized/1.0" xmlns:nodecharacteristics="http://dataflowanalysis.org/pcm/extension/nodecharacteristics/0.1.0">
3+
<assignee xsi:type="nodecharacteristics:UsageAssignee" id="_z40-4BPJEfC6H5LfCNvhSA" entityName="ClerkAsia">
4+
<characteristics id="_-71ZUBPJEfC6H5LfCNvhSA">
5+
<type xsi:type="DataDictionaryCharacterized:EnumCharacteristicType" href="default.pddc#_Zf2gABPJEfC6H5LfCNvhSA-characteristicTypes@0"/>
6+
<values href="default.pddc#[email protected]@1"/>
7+
</characteristics>
8+
<usagescenario href="default.usagemodel#_qfEfUD6wEeuVUal8mM_jUA"/>
9+
</assignee>
10+
<assignee xsi:type="nodecharacteristics:UsageAssignee" id="_3MaPgBPJEfC6H5LfCNvhSA" entityName="ClearUSA">
11+
<characteristics id="_8INkYBU4EfCOUZsJeZYp9A">
12+
<type xsi:type="DataDictionaryCharacterized:EnumCharacteristicType" href="default.pddc#_Zf2gABPJEfC6H5LfCNvhSA-characteristicTypes@0"/>
13+
<values href="default.pddc#[email protected]@0"/>
14+
</characteristics>
15+
<usagescenario href="default.usagemodel#_oMuCMD6wEeuVUal8mM_jUA"/>
16+
</assignee>
17+
<assignee xsi:type="nodecharacteristics:UsageAssignee" id="_3mwCIBPJEfC6H5LfCNvhSA" entityName="ManagerAsia">
18+
<characteristics id="__wzbsBU4EfCOUZsJeZYp9A">
19+
<type xsi:type="DataDictionaryCharacterized:EnumCharacteristicType" href="default.pddc#_Zf2gABPJEfC6H5LfCNvhSA-characteristicTypes@0"/>
20+
<values href="default.pddc#[email protected]@1"/>
21+
</characteristics>
22+
<usagescenario href="default.usagemodel#_rcIkgD6wEeuVUal8mM_jUA"/>
23+
</assignee>
24+
<assignee xsi:type="nodecharacteristics:UsageAssignee" id="_B-yWMBU5EfCOUZsJeZYp9A" entityName="ManagerUSA">
25+
<characteristics id="_Dl3owBU5EfCOUZsJeZYp9A">
26+
<type xsi:type="DataDictionaryCharacterized:EnumCharacteristicType" href="default.pddc#_Zf2gABPJEfC6H5LfCNvhSA-characteristicTypes@0"/>
27+
<values href="default.pddc#[email protected]@0"/>
28+
</characteristics>
29+
<usagescenario href="default.usagemodel#_poSoUD6wEeuVUal8mM_jUA"/>
30+
</assignee>
31+
</nodecharacteristics:Assignments>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
dictionary id "_Zf2gABPJEfC6H5LfCNvhSA"
2+
3+
enum Locations {
4+
USA
5+
Asia
6+
}
7+
8+
enum Roles {
9+
Clerk
10+
Manager
11+
}
12+
13+
enum Status {
14+
Regular
15+
Celebrity
16+
}
17+
18+
enumCharacteristicType Location using Locations
19+
enumCharacteristicType Origin using Locations
20+
enumCharacteristicType Role using Roles
21+
enumCharacteristicType Status using Status

0 commit comments

Comments
 (0)