Skip to content

Commit 8e5216d

Browse files
api generation
1 parent 576321b commit 8e5216d

Some content is hidden

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

41 files changed

+830
-831
lines changed

ToscaDesigner/src/main/conf/module.xml

Lines changed: 115 additions & 116 deletions
Large diffs are not rendered by default.
11 Bytes
Binary file not shown.

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

Lines changed: 16 additions & 16 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.00
44
5-
* This file was generated on 16/04/2024 16:38 by Modelio Studio.
5+
* This file was generated on 16/04/2024 16:51 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api;
88

@@ -68,16 +68,16 @@
6868
*/
6969
@objid ("365cd17d-2d04-4020-839d-7e7bdefdf43f")
7070
public class ToscaDesignerProxyFactory {
71-
@objid ("5128e17d-1658-4127-8e9a-84828cf0b339")
71+
@objid ("260e90b3-f49d-4408-8b2e-6669e99caf61")
7272
private static final String ASSETNAME = "ToscaDesigner";
7373

74-
@objid ("75cac35e-560b-4862-a64d-4186ebafa4f3")
74+
@objid ("fcd99806-1078-4d04-abea-5c4311d890c9")
7575
private static final InstantiateVisitor instantiateVisitor = new InstantiateVisitor();
7676

7777
/**
7878
* @param session The modeling session this factory is operating in.
7979
*/
80-
@objid ("b2a6f973-9842-4e6d-b6b6-225e75a9f4d8")
80+
@objid ("ce525fcb-9c53-417b-8dbf-f43bc62ee2ef")
8181
public static final void initialize(final IModelingSession session) throws MdaProxyException {
8282
fr.softeam.toscadesigner.api.tosca.standard.class_.CapabilitiesType.MdaTypes.init(session);
8383
fr.softeam.toscadesigner.api.tosca.standard.class_.CapabilityDefinitionsType.MdaTypes.init(session);
@@ -127,7 +127,7 @@ public static final void initialize(final IModelingSession session) throws MdaPr
127127
* @param e A model element
128128
* @return the right proxy or <i>null</i>.
129129
*/
130-
@objid ("763ed97c-66ff-4cfb-8810-d7952cd35cf9")
130+
@objid ("2a7d65cc-d0dc-4b48-8344-1558eda48e02")
131131
public static final Object instantiate(final ModelElement e) {
132132
for (Stereotype s : e.getExtension()) {
133133
ModuleComponent module = s.getModule();
@@ -147,23 +147,23 @@ public static final Object instantiate(final ModelElement e) {
147147
* @param stName A stereotype name.
148148
* @return the right proxy or <i>null</i>.
149149
*/
150-
@objid ("149d6476-40ed-4bd4-8504-ec5addc82723")
150+
@objid ("0e0d409b-7e22-4f8c-b4ce-9f129d9c6d8c")
151151
public static final Object instantiate(final Element e, final String stName) {
152152
instantiateVisitor.setStereotype(stName);
153153
return e.accept(instantiateVisitor);
154154
}
155155

156-
@objid ("1f06d816-9eab-4d5e-a21c-9f7d51d67004")
156+
@objid ("d783403b-cb7b-4ec9-a2b9-c7a6b3a98432")
157157
private static class InstantiateVisitor implements IDefaultModelVisitor, IDefaultInfrastructureVisitor {
158-
@objid ("f02c0713-51c3-44d8-ba0c-27fd1817016d")
158+
@objid ("2647788d-e7a5-4fca-9a62-18dd28236d31")
159159
private String stName;
160160

161-
@objid ("a66eeab5-f9f0-41ff-9921-98144ae83057")
161+
@objid ("4a787eff-88db-4d1d-9889-2f80a43841a4")
162162
public final void setStereotype(final String stName) {
163163
this.stName = stName;
164164
}
165165

166-
@objid ("1327121f-d65f-4826-b579-bb7994c31310")
166+
@objid ("b2ef7985-3de2-4db7-9143-4c8d2b9e1480")
167167
@Override
168168
public final Object visitAssociation(Association obj) {
169169
switch (this.stName) {
@@ -176,7 +176,7 @@ public final Object visitAssociation(Association obj) {
176176

177177
}
178178

179-
@objid ("fb66db36-31b5-4705-a36a-9138f4cbf417")
179+
@objid ("efbc9f0c-0441-45ce-8140-964f60828654")
180180
@Override
181181
public final Object visitPackage(Package obj) {
182182
switch (this.stName) {
@@ -189,7 +189,7 @@ public final Object visitPackage(Package obj) {
189189

190190
}
191191

192-
@objid ("70c39eae-5a1f-458a-b119-292895b4cac2")
192+
@objid ("140b8808-acfd-41a2-88a1-855cd83d94cc")
193193
@Override
194194
public final Object visitDataType(DataType obj) {
195195
switch (this.stName) {
@@ -204,7 +204,7 @@ public final Object visitDataType(DataType obj) {
204204

205205
}
206206

207-
@objid ("4b804248-8aa1-4806-a94c-4897ed1c97ab")
207+
@objid ("d4ac1454-adf9-4239-8fb1-06048f10eaf0")
208208
@Override
209209
public final Object visitClass(Class obj) {
210210
switch (this.stName) {
@@ -243,7 +243,7 @@ public final Object visitClass(Class obj) {
243243

244244
}
245245

246-
@objid ("6c609ac1-9272-4360-bfdf-f1c1b5ac7ba0")
246+
@objid ("eac8e005-aafc-4e96-a7e3-a74729543997")
247247
@Override
248248
public final Object visitStaticDiagram(StaticDiagram obj) {
249249
switch (this.stName) {
@@ -258,7 +258,7 @@ public final Object visitStaticDiagram(StaticDiagram obj) {
258258

259259
}
260260

261-
@objid ("2c4e8acd-cc88-49b9-96f9-da676af73670")
261+
@objid ("1526f54c-fdc2-4a7e-abad-14824af2b838")
262262
@Override
263263
public final Object visitModelElement(ModelElement obj) {
264264
switch (this.stName) {
@@ -277,7 +277,7 @@ public final Object visitModelElement(ModelElement obj) {
277277
* <p>If null is returned the caller will return null.
278278
* @return the {@link IInfrastructureVisitor} visitor or <i>null</i>.
279279
*/
280-
@objid ("706e9aa2-3417-49cc-a67a-1c5ab2d9bb42")
280+
@objid ("0c0b8814-f3f7-4f9c-b5f6-06b20d241997")
281281
@Override
282282
public IInfrastructureVisitor getInfrastructureVisitor() {
283283
return this;

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/api/automatic/standard/staticdiagram/CloudServiceArchiveDiagram.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.00
44
5-
* This file was generated on 16/04/2024 16:38 by Modelio Studio.
5+
* This file was generated on 16/04/2024 16:51 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api.automatic.standard.staticdiagram;
88

@@ -40,13 +40,13 @@
4040
*/
4141
@objid ("14644635-a422-47d2-a521-6f92f8f4c732")
4242
public class CloudServiceArchiveDiagram implements IMdaProxy {
43-
@objid ("d233218f-bc56-4fb5-b745-f20dac8b3803")
43+
@objid ("d9674f19-6621-46b3-ba40-d4d7c4c3dc81")
4444
public static final String STEREOTYPE_NAME = "CloudServiceArchiveDiagram";
4545

4646
/**
4747
* The underlying {@link StaticDiagram} represented by this proxy, never null.
4848
*/
49-
@objid ("cc7c79b6-99cb-42c2-b93a-1fe5bbd7c1b4")
49+
@objid ("e9203439-1a7b-493a-a2fa-a4de463027df")
5050
protected final StaticDiagram elt;
5151

5252
/**
@@ -56,7 +56,7 @@ public class CloudServiceArchiveDiagram 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 ("5931abaa-2c3f-419e-abff-6892ee94345b")
59+
@objid ("3ac94115-8cd9-42ce-849d-28fe359ff11e")
6060
public static boolean canInstantiate(final MObject elt) {
6161
return ((elt instanceof StaticDiagram) && (CloudServiceArchiveDiagram.MdaTypes.STEREOTYPE_ELT!=null) && ((StaticDiagram) elt).isStereotyped(CloudServiceArchiveDiagram.MdaTypes.STEREOTYPE_ELT));
6262
}
@@ -66,7 +66,7 @@ public static boolean canInstantiate(final MObject elt) {
6666
*
6767
* @return a {@link CloudServiceArchiveDiagram} proxy on the created {@link StaticDiagram}.
6868
*/
69-
@objid ("9e7315d1-29a3-4d38-afc1-c2c5e82778b4")
69+
@objid ("52db8254-e211-4356-94fb-757c086c5c61")
7070
public static CloudServiceArchiveDiagram create(final IModelingSession session) {
7171
ModelElement e = (ModelElement)session.getModel().createElement("Standard.StaticDiagram");
7272
e.getExtension().add(CloudServiceArchiveDiagram.MdaTypes.STEREOTYPE_ELT);
@@ -80,7 +80,7 @@ public static CloudServiceArchiveDiagram create(final IModelingSession session)
8080
* @param obj a StaticDiagram
8181
* @return a {@link CloudServiceArchiveDiagram} proxy or <i>null</i>.
8282
*/
83-
@objid ("2fcfe5ce-812b-4613-8b42-63dda77b25bb")
83+
@objid ("33f8e273-9400-487c-bf89-f35c85236c2b")
8484
public static CloudServiceArchiveDiagram instantiate(final StaticDiagram obj) {
8585
return CloudServiceArchiveDiagram.canInstantiate(obj) ? new CloudServiceArchiveDiagram(obj) : null;
8686
}
@@ -93,15 +93,15 @@ public static CloudServiceArchiveDiagram instantiate(final StaticDiagram obj) {
9393
* @return a {@link CloudServiceArchiveDiagram} proxy.
9494
* @throws IllegalArgumentException if the instantiation cannot be carried out.
9595
*/
96-
@objid ("19ec0c07-e0d7-4baf-a35d-7bf0d06e1241")
96+
@objid ("eafe9b2c-b6a4-4dec-a033-8c75aec88317")
9797
public static CloudServiceArchiveDiagram safeInstantiate(final StaticDiagram obj) throws IllegalArgumentException {
9898
if (CloudServiceArchiveDiagram.canInstantiate(obj))
9999
return new CloudServiceArchiveDiagram(obj);
100100
else
101101
throw new IllegalArgumentException("CloudServiceArchiveDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
102102
}
103103

104-
@objid ("4cf1e0aa-3d60-4aa6-af71-7f9fd9aef9b6")
104+
@objid ("037435ce-6064-41bc-8f8e-894ad1c95edb")
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 ("0d18d1e1-5a55-40cd-987a-8be08d88c161")
124+
@objid ("f3f32d1d-12da-44d8-bc48-7a13fe83637e")
125125
public StaticDiagram getElement() {
126126
return this.elt;
127127
}
128128

129-
@objid ("41324232-804c-4099-b4f1-bfeed0b618d0")
129+
@objid ("e667332a-0d91-45af-9d85-b7b9c19b202c")
130130
@Override
131131
public int hashCode() {
132132
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
133133

134134
}
135135

136-
@objid ("0019dce6-e0af-499a-be84-b87d7e05d10d")
136+
@objid ("1a70eaec-4a71-44b0-b04b-e7262539ce40")
137137
protected CloudServiceArchiveDiagram(final StaticDiagram elt) {
138138
this.elt = elt;
139139
}
140140

141141
@objid ("f9b8aa63-12e2-456c-a0b9-3c670d965b7a")
142142
public static final class MdaTypes {
143-
@objid ("da10a540-eb55-4098-b9da-3ca7ec495978")
143+
@objid ("bd2fb7e3-8992-4f3b-8fd8-67371fe7574d")
144144
public static Stereotype STEREOTYPE_ELT;
145145

146-
@objid ("4a4bd696-3df0-48ef-ad76-720108cd5bfc")
146+
@objid ("e62c227c-1379-4f34-861b-d2ccc65b1dff")
147147
private static Stereotype MDAASSOCDEP;
148148

149-
@objid ("5834efdd-b84f-4e67-871b-200bd7ea54d4")
149+
@objid ("aaf0d0ec-3057-4eba-b23a-04ae70b5ce42")
150150
private static TagType MDAASSOCDEP_ROLE;
151151

152-
@objid ("4daac611-f1fd-4a00-aa1d-d782713c4053")
152+
@objid ("818e679f-aabd-4f9d-b110-f6afec4e291b")
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/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.00
44
5-
* This file was generated on 16/04/2024 16:38 by Modelio Studio.
5+
* This file was generated on 16/04/2024 16:51 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api.automatic.standard.staticdiagram;
88

@@ -40,13 +40,13 @@
4040
*/
4141
@objid ("9d4da9ca-2131-444a-a6d6-b665a5bed195")
4242
public class ServiceTemplateDiagram implements IMdaProxy {
43-
@objid ("6d111342-af3b-42ce-8dba-1a218277d760")
43+
@objid ("99cdd2b1-332a-4d94-b008-185c0171d7dc")
4444
public static final String STEREOTYPE_NAME = "ServiceTemplateDiagram";
4545

4646
/**
4747
* The underlying {@link StaticDiagram} represented by this proxy, never null.
4848
*/
49-
@objid ("63d3651c-b4e4-4d98-b8fc-132e1fddcd60")
49+
@objid ("163104aa-22ac-45f5-902a-3dedc4ad95d8")
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 ("1fe70a06-7d3e-4669-a078-aa06821abfb7")
59+
@objid ("caa40f8b-5058-4a60-b95b-59f3e7d379eb")
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 ("ef942f80-6469-4ed8-bc53-c6c3f4650038")
69+
@objid ("9577eb65-3a6a-4611-8af5-f522ab16be29")
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 ("4669d8cd-4482-426a-8cd2-19de9657f310")
83+
@objid ("a2646238-5fbf-46eb-ba9d-396d3781633d")
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 ("5ff9e188-e732-4bf0-81c2-e07d2068c1cd")
96+
@objid ("de55666f-a275-49c1-9eb3-8224e78745a6")
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 ("576e8382-c02b-4fa0-a796-6ee184ef766d")
104+
@objid ("a5dbc9b8-269b-4e8f-92fd-a3ba5b7cfc91")
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 ("7f70e36d-8944-445a-9e10-9e84680aa613")
124+
@objid ("1609bef7-d07c-4142-9a82-e4f6e43e5594")
125125
public StaticDiagram getElement() {
126126
return this.elt;
127127
}
128128

129-
@objid ("7ecd6b9a-dd6a-420c-8518-5fe6be611344")
129+
@objid ("a8c45cfd-26d6-451f-8693-2382c16f4556")
130130
@Override
131131
public int hashCode() {
132132
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
133133

134134
}
135135

136-
@objid ("90c18d4c-2561-4118-b6a8-cc3a1006129c")
136+
@objid ("ed53d263-eba4-4206-b3d4-816fc34f9182")
137137
protected ServiceTemplateDiagram(final StaticDiagram elt) {
138138
this.elt = elt;
139139
}
140140

141141
@objid ("08ba1b65-2498-47f4-8559-0403208b2c52")
142142
public static final class MdaTypes {
143-
@objid ("44c7c476-7205-4fac-bd24-90512d276e91")
143+
@objid ("0ce9788b-a513-4496-aff5-bd823e3b52fe")
144144
public static Stereotype STEREOTYPE_ELT;
145145

146-
@objid ("bc46ad5b-64d8-4ec2-a0ca-2d5eb4804639")
146+
@objid ("03d6f62b-a9b8-44f6-b538-7fca9dbfcb63")
147147
private static Stereotype MDAASSOCDEP;
148148

149-
@objid ("2d48ed57-64e8-4c0f-86aa-b34abf1dadbf")
149+
@objid ("46c5414e-d53d-43c2-bdaf-c7cf0f54061c")
150150
private static TagType MDAASSOCDEP_ROLE;
151151

152-
@objid ("a4ff38d7-9f98-4d21-8b14-b42be4d8047d")
152+
@objid ("930f522c-5cea-4c51-b683-b29ba143f145")
153153
public static void init(final IModelingSession session) throws MdaProxyException {
154154
List <MRef> missingRefs = new ArrayList<>();
155155
MRef mRef;

0 commit comments

Comments
 (0)