Skip to content

Commit 61bd31f

Browse files
TNode Type "derived from" property fixed
1 parent ac24571 commit 61bd31f

File tree

113 files changed

+2225
-2205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2225
-2205
lines changed
-54 Bytes
Binary file not shown.

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/api/ToscaDesignerProxyFactory.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* WARNING: GENERATED FILE - DO NOT EDIT
33
* Module: ToscaDesigner v0.0.1
44
5-
* This file was generated on 13/02/2025 17:54 by Modelio Studio.
5+
* This file was generated on 17/02/2025 15:39 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api;
88

@@ -126,16 +126,16 @@
126126
*/
127127
@objid ("344538da-8f7b-4820-bee7-fad3a6c1b7e1")
128128
public class ToscaDesignerProxyFactory {
129-
@objid ("4cb7f980-dc5b-4d18-ae1f-277f22822b9c")
129+
@objid ("66689ef4-4eea-488b-b09e-aad99d2a04f4")
130130
private static final String ASSETNAME = "ToscaDesigner";
131131

132-
@objid ("3486d1ff-5d0f-4c4f-b500-10436237d693")
132+
@objid ("3b24624b-94aa-480a-856c-91f801d222fe")
133133
private static final InstantiateVisitor instantiateVisitor = new InstantiateVisitor();
134134

135135
/**
136136
* @param session The modeling session this factory is operating in.
137137
*/
138-
@objid ("09f241df-a96a-40ce-a016-9ded81e4969e")
138+
@objid ("94300c09-1952-430e-87f9-4a0d892914b3")
139139
public static final void initialize(final IModelingSession session) throws MdaProxyException {
140140
fr.softeam.toscadesigner.api.automatic.standard.staticdiagram.ToscaDiagram.MdaTypes.init(session);
141141
fr.softeam.toscadesigner.api.automatic.standard.staticdiagram.ServiceTemplateDiagram.MdaTypes.init(session);
@@ -241,7 +241,7 @@ public static final void initialize(final IModelingSession session) throws MdaPr
241241
* @param e A model element
242242
* @return the right proxy or <i>null</i>.
243243
*/
244-
@objid ("a4c36cd2-05ae-43ec-a77c-5063e72b4114")
244+
@objid ("0a0f32f4-7a01-46ed-8070-1fdddccf8ddc")
245245
public static final Object instantiate(final ModelElement e) {
246246
for (Stereotype s : e.getExtension()) {
247247
ModuleComponent module = s.getModule();
@@ -261,23 +261,23 @@ public static final Object instantiate(final ModelElement e) {
261261
* @param stName A stereotype name.
262262
* @return the right proxy or <i>null</i>.
263263
*/
264-
@objid ("0933ec1a-699c-40f1-87a0-856d3e782388")
264+
@objid ("3880fc45-f47b-401f-9699-994ddf2d6266")
265265
public static final Object instantiate(final Element e, final String stName) {
266266
instantiateVisitor.setStereotype(stName);
267267
return e.accept(instantiateVisitor);
268268
}
269269

270-
@objid ("b26f8c65-95cb-4ce3-8354-e670c0281bd6")
270+
@objid ("f6d85653-6701-4351-979c-a153ebdc6c84")
271271
private static class InstantiateVisitor implements IDefaultModelVisitor, IDefaultInfrastructureVisitor {
272-
@objid ("3784303c-2708-4ac6-9286-2359b3655c6a")
272+
@objid ("dd645f62-13a1-4ebb-b908-1769c1e39969")
273273
private String stName;
274274

275-
@objid ("927fe00e-cfe0-49cc-b43a-ded84947fc5d")
275+
@objid ("01c1e186-4386-426c-941b-3683f3347f87")
276276
public final void setStereotype(final String stName) {
277277
this.stName = stName;
278278
}
279279

280-
@objid ("70c55e92-b6bc-4e31-a18e-e7af4293ed00")
280+
@objid ("f951b714-8607-4400-8389-0d6e6aab4467")
281281
@Override
282282
public final Object visitAssociation(Association obj) {
283283
switch (this.stName) {
@@ -290,7 +290,7 @@ public final Object visitAssociation(Association obj) {
290290

291291
}
292292

293-
@objid ("9ff3e6a8-400b-4bc0-b1cd-74d5340dcca9")
293+
@objid ("32ed36fc-a0cd-48f5-894e-d2b787ed3c0f")
294294
@Override
295295
public final Object visitAttribute(Attribute obj) {
296296
switch (this.stName) {
@@ -305,7 +305,7 @@ public final Object visitAttribute(Attribute obj) {
305305

306306
}
307307

308-
@objid ("d66912ad-40af-4e8b-89a3-17355e5a3b76")
308+
@objid ("9d6f8183-3366-48c7-afd2-0b2bf0d14bc9")
309309
@Override
310310
public final Object visitPackage(Package obj) {
311311
switch (this.stName) {
@@ -321,7 +321,7 @@ public final Object visitPackage(Package obj) {
321321

322322
}
323323

324-
@objid ("ee3d98a2-1046-4fc9-a186-2aaf38bd7adf")
324+
@objid ("30f65c0c-edb4-4a86-9d07-94d8f9f18403")
325325
@Override
326326
public final Object visitAssociationEnd(AssociationEnd obj) {
327327
switch (this.stName) {
@@ -334,7 +334,7 @@ public final Object visitAssociationEnd(AssociationEnd obj) {
334334

335335
}
336336

337-
@objid ("b31e0725-5387-4191-8ee9-fc751b3f3175")
337+
@objid ("173e00d2-6a6b-441e-9f8e-bd110593e24f")
338338
@Override
339339
public final Object visitDataType(DataType obj) {
340340
switch (this.stName) {
@@ -348,7 +348,7 @@ public final Object visitDataType(DataType obj) {
348348

349349
}
350350

351-
@objid ("2e21846f-5998-444b-b076-e2aa93dd59d6")
351+
@objid ("30c9994c-752f-41bf-906e-cea9d82a42a7")
352352
@Override
353353
public final Object visitClass(Class obj) {
354354
switch (this.stName) {
@@ -388,7 +388,7 @@ public final Object visitClass(Class obj) {
388388

389389
}
390390

391-
@objid ("ab2da6b0-e9ea-47a9-a75c-84f8c2086c62")
391+
@objid ("ce3c86a9-ad98-45bc-b3a3-1a08ce1cc56c")
392392
@Override
393393
public final Object visitStaticDiagram(StaticDiagram obj) {
394394
switch (this.stName) {
@@ -403,7 +403,7 @@ public final Object visitStaticDiagram(StaticDiagram obj) {
403403

404404
}
405405

406-
@objid ("993fe579-85cb-452d-9446-1a7ee4f7ebb9")
406+
@objid ("a0726e73-b09c-4796-b1d5-0e57a504737f")
407407
@Override
408408
public final Object visitModelElement(ModelElement obj) {
409409
switch (this.stName) {
@@ -471,7 +471,7 @@ public final Object visitModelElement(ModelElement obj) {
471471
* <p>If null is returned the caller will return null.
472472
* @return the {@link IInfrastructureVisitor} visitor or <i>null</i>.
473473
*/
474-
@objid ("d69361bc-b0d8-4620-80b3-061fecd078ff")
474+
@objid ("850637e4-fc48-4c34-bb88-ea2231a613e0")
475475
@Override
476476
public IInfrastructureVisitor getInfrastructureVisitor() {
477477
return this;

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/api/automatic/standard/staticdiagram/ServiceTemplateDiagram.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* WARNING: GENERATED FILE - DO NOT EDIT
33
* Module: ToscaDesigner v0.0.1
44
5-
* This file was generated on 13/02/2025 17:54 by Modelio Studio.
5+
* This file was generated on 17/02/2025 15:39 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api.automatic.standard.staticdiagram;
88

@@ -40,13 +40,13 @@
4040
*/
4141
@objid ("ed792b19-3a0d-46f3-b2a8-c885af3a1414")
4242
public class ServiceTemplateDiagram implements IMdaProxy {
43-
@objid ("84c3a7dd-0e41-4816-8871-9c7c5ed5b509")
43+
@objid ("9db11505-0789-4809-b6d8-2e50464cf98b")
4444
public static final String STEREOTYPE_NAME = "ServiceTemplateDiagram";
4545

4646
/**
4747
* The underlying {@link StaticDiagram} represented by this proxy, never null.
4848
*/
49-
@objid ("3f6b775f-d880-4c84-a808-b671fb4c53e9")
49+
@objid ("e2771c34-ba3d-4a2e-9ed7-4caaaf2571fd")
5050
protected final StaticDiagram elt;
5151

5252
/**
@@ -56,7 +56,7 @@ public class ServiceTemplateDiagram implements IMdaProxy {
5656
* @param elt a model object
5757
* @return <code>true</code> if the instantiation can be carried out else <code>false</code>.
5858
*/
59-
@objid ("5268fe81-544c-4964-8405-a59b036b3d5a")
59+
@objid ("2efac9fa-14d7-41eb-ab6c-d319e6ef4115")
6060
public static boolean canInstantiate(final MObject elt) {
6161
return ((elt instanceof StaticDiagram) && (ServiceTemplateDiagram.MdaTypes.STEREOTYPE_ELT!=null) && ((StaticDiagram) elt).isStereotyped(ServiceTemplateDiagram.MdaTypes.STEREOTYPE_ELT));
6262
}
@@ -66,7 +66,7 @@ public static boolean canInstantiate(final MObject elt) {
6666
*
6767
* @return a {@link ServiceTemplateDiagram} proxy on the created {@link StaticDiagram}.
6868
*/
69-
@objid ("891e1e35-01ab-43c5-93ff-e7e773c6b6b4")
69+
@objid ("02938537-0bee-40a2-a9fb-cae7bc7830eb")
7070
public static ServiceTemplateDiagram create(final IModelingSession session) {
7171
ModelElement e = (ModelElement)session.getModel().createElement("Standard.StaticDiagram");
7272
e.getExtension().add(ServiceTemplateDiagram.MdaTypes.STEREOTYPE_ELT);
@@ -80,7 +80,7 @@ public static ServiceTemplateDiagram create(final IModelingSession session) {
8080
* @param obj a StaticDiagram
8181
* @return a {@link ServiceTemplateDiagram} proxy or <i>null</i>.
8282
*/
83-
@objid ("c92684b2-27b5-4f31-ba06-8f948bdaa16a")
83+
@objid ("6603d103-c1f7-4d9e-b1c1-6e742bfa9d77")
8484
public static ServiceTemplateDiagram instantiate(final StaticDiagram obj) {
8585
return ServiceTemplateDiagram.canInstantiate(obj) ? new ServiceTemplateDiagram(obj) : null;
8686
}
@@ -93,15 +93,15 @@ public static ServiceTemplateDiagram instantiate(final StaticDiagram obj) {
9393
* @return a {@link ServiceTemplateDiagram} proxy.
9494
* @throws IllegalArgumentException if the instantiation cannot be carried out.
9595
*/
96-
@objid ("70f9a733-dad8-4b38-a9c0-25b370dd9f69")
96+
@objid ("93210afc-5fb0-4a64-822a-0b7b1baf437b")
9797
public static ServiceTemplateDiagram safeInstantiate(final StaticDiagram obj) throws IllegalArgumentException {
9898
if (ServiceTemplateDiagram.canInstantiate(obj))
9999
return new ServiceTemplateDiagram(obj);
100100
else
101101
throw new IllegalArgumentException("ServiceTemplateDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
102102
}
103103

104-
@objid ("8820cf70-eed3-464d-8e08-7448d1916a7a")
104+
@objid ("607ee1a1-ec29-46b8-b793-106265b785bc")
105105
@Override
106106
public boolean equals(final Object obj) {
107107
if (this == obj) {
@@ -121,35 +121,35 @@ public boolean equals(final Object obj) {
121121
* Get the underlying {@link StaticDiagram}.
122122
* @return the StaticDiagram represented by this proxy, never null.
123123
*/
124-
@objid ("82685a19-3098-4851-a941-bca41d2f2942")
124+
@objid ("b7ec321a-e4fb-4a56-a0c9-f1f8a0d85abc")
125125
public StaticDiagram getElement() {
126126
return this.elt;
127127
}
128128

129-
@objid ("cc216557-4ebd-48f6-adb3-5153a66d0534")
129+
@objid ("70800595-a562-425e-9460-4e168b855b51")
130130
@Override
131131
public int hashCode() {
132132
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
133133

134134
}
135135

136-
@objid ("4d2f1490-0e78-4fa6-b743-a5a7b3382cc1")
136+
@objid ("14976226-93f5-4e9d-868d-97121da23d26")
137137
protected ServiceTemplateDiagram(final StaticDiagram elt) {
138138
this.elt = elt;
139139
}
140140

141141
@objid ("4b6fef3f-101c-4384-86b5-c7c7a22b250c")
142142
public static final class MdaTypes {
143-
@objid ("cf06c619-dd96-4294-ae8c-0642de98dc0d")
143+
@objid ("a47db882-c9b5-4372-82a2-75c69f714b74")
144144
public static Stereotype STEREOTYPE_ELT;
145145

146-
@objid ("5f5bd3d2-cf8c-4a98-ac5a-210aeb1b0d43")
146+
@objid ("f8bbc61e-a73b-4f2c-b020-3736c0deb752")
147147
private static Stereotype MDAASSOCDEP;
148148

149-
@objid ("ce8cc3d8-ebed-416f-8eb9-e0c3e27bdaad")
149+
@objid ("63a1d8f4-ae98-4d0b-a0ab-5489a011d83e")
150150
private static TagType MDAASSOCDEP_ROLE;
151151

152-
@objid ("a961eda7-df22-4015-88a9-cfbb3d5ea3f5")
152+
@objid ("f9f1c645-2763-4723-a9d9-8f194595e58e")
153153
public static void init(final IModelingSession session) throws MdaProxyException {
154154
List <MRef> missingRefs = new ArrayList<>();
155155
MRef mRef;

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/api/automatic/standard/staticdiagram/TopologyTemplateDiagram.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* WARNING: GENERATED FILE - DO NOT EDIT
33
* Module: ToscaDesigner v0.0.1
44
5-
* This file was generated on 13/02/2025 17:54 by Modelio Studio.
5+
* This file was generated on 17/02/2025 15:39 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api.automatic.standard.staticdiagram;
88

@@ -40,13 +40,13 @@
4040
*/
4141
@objid ("5690a531-d748-4d21-a33e-03dd25aeea24")
4242
public class TopologyTemplateDiagram implements IMdaProxy {
43-
@objid ("62817519-e601-4439-9202-342800c7b304")
43+
@objid ("80020510-b5c7-4cae-b0bb-d5e8c8d3549e")
4444
public static final String STEREOTYPE_NAME = "TopologyTemplateDiagram";
4545

4646
/**
4747
* The underlying {@link StaticDiagram} represented by this proxy, never null.
4848
*/
49-
@objid ("7049c22a-63fd-4972-a4c8-6c540becc6f3")
49+
@objid ("93fbe168-2f47-4915-9948-7ff030d6495f")
5050
protected final StaticDiagram elt;
5151

5252
/**
@@ -56,7 +56,7 @@ public class TopologyTemplateDiagram implements IMdaProxy {
5656
* @param elt a model object
5757
* @return <code>true</code> if the instantiation can be carried out else <code>false</code>.
5858
*/
59-
@objid ("3a0b51d1-c0b6-46af-af99-646c01ca5550")
59+
@objid ("3289154f-25ac-4601-9a33-afc37502a6a5")
6060
public static boolean canInstantiate(final MObject elt) {
6161
return ((elt instanceof StaticDiagram) && (TopologyTemplateDiagram.MdaTypes.STEREOTYPE_ELT!=null) && ((StaticDiagram) elt).isStereotyped(TopologyTemplateDiagram.MdaTypes.STEREOTYPE_ELT));
6262
}
@@ -66,7 +66,7 @@ public static boolean canInstantiate(final MObject elt) {
6666
*
6767
* @return a {@link TopologyTemplateDiagram} proxy on the created {@link StaticDiagram}.
6868
*/
69-
@objid ("a16635a6-be63-4c6e-8f20-fc57301c4200")
69+
@objid ("48ce89be-8858-4ab5-8ae3-584acfb40cdf")
7070
public static TopologyTemplateDiagram create(final IModelingSession session) {
7171
ModelElement e = (ModelElement)session.getModel().createElement("Standard.StaticDiagram");
7272
e.getExtension().add(TopologyTemplateDiagram.MdaTypes.STEREOTYPE_ELT);
@@ -80,7 +80,7 @@ public static TopologyTemplateDiagram create(final IModelingSession session) {
8080
* @param obj a StaticDiagram
8181
* @return a {@link TopologyTemplateDiagram} proxy or <i>null</i>.
8282
*/
83-
@objid ("65ade469-3c75-462a-bbd5-a274b430d11f")
83+
@objid ("acc49b0c-2bb9-4285-a20f-2da13639356e")
8484
public static TopologyTemplateDiagram instantiate(final StaticDiagram obj) {
8585
return TopologyTemplateDiagram.canInstantiate(obj) ? new TopologyTemplateDiagram(obj) : null;
8686
}
@@ -93,15 +93,15 @@ public static TopologyTemplateDiagram instantiate(final StaticDiagram obj) {
9393
* @return a {@link TopologyTemplateDiagram} proxy.
9494
* @throws IllegalArgumentException if the instantiation cannot be carried out.
9595
*/
96-
@objid ("3d8e827a-1a9d-4e77-a2bd-a4f2471258b6")
96+
@objid ("94225500-3c47-4d4c-ad3b-1cd7d5285343")
9797
public static TopologyTemplateDiagram safeInstantiate(final StaticDiagram obj) throws IllegalArgumentException {
9898
if (TopologyTemplateDiagram.canInstantiate(obj))
9999
return new TopologyTemplateDiagram(obj);
100100
else
101101
throw new IllegalArgumentException("TopologyTemplateDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
102102
}
103103

104-
@objid ("7d369476-6755-4725-a514-032ae4ca9060")
104+
@objid ("7bf9b11d-3e90-4c3c-9255-832f110027dd")
105105
@Override
106106
public boolean equals(final Object obj) {
107107
if (this == obj) {
@@ -121,35 +121,35 @@ public boolean equals(final Object obj) {
121121
* Get the underlying {@link StaticDiagram}.
122122
* @return the StaticDiagram represented by this proxy, never null.
123123
*/
124-
@objid ("e743275d-25a9-4d70-9690-18c69f717c17")
124+
@objid ("bf0516e8-0133-408e-afd8-d9cfcb0d5aa6")
125125
public StaticDiagram getElement() {
126126
return this.elt;
127127
}
128128

129-
@objid ("979c33a8-19bb-472a-a3bd-ee4f2667c636")
129+
@objid ("2e061faf-8a98-4af5-aee5-f93f06ceb237")
130130
@Override
131131
public int hashCode() {
132132
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
133133

134134
}
135135

136-
@objid ("5365cc94-a534-421f-8a10-482e46b48a19")
136+
@objid ("9dfd42e1-1692-43b5-ba3d-b873e291c22a")
137137
protected TopologyTemplateDiagram(final StaticDiagram elt) {
138138
this.elt = elt;
139139
}
140140

141141
@objid ("a75a5020-1077-4e84-8bb0-72f5c433615f")
142142
public static final class MdaTypes {
143-
@objid ("1ee371f1-c60d-4987-93a3-d806981a57cc")
143+
@objid ("4912821e-3ae2-4aad-bf3e-0a948b77e05c")
144144
public static Stereotype STEREOTYPE_ELT;
145145

146-
@objid ("e89b5456-6dcf-4c8e-988d-e3a9dbd458c2")
146+
@objid ("ecc0d24d-9f70-4468-b1ff-5a9c0a3384ed")
147147
private static Stereotype MDAASSOCDEP;
148148

149-
@objid ("61423174-5e7e-4c4d-a8c5-99827b90bc7d")
149+
@objid ("cfc50814-c986-4dfc-afe2-f02074b9cced")
150150
private static TagType MDAASSOCDEP_ROLE;
151151

152-
@objid ("c4fa3ae8-0663-4085-9d4e-587ad87e89da")
152+
@objid ("832f0e55-d252-4786-a706-0de5d385fd87")
153153
public static void init(final IModelingSession session) throws MdaProxyException {
154154
List <MRef> missingRefs = new ArrayList<>();
155155
MRef mRef;

0 commit comments

Comments
 (0)