Skip to content

Commit 37de898

Browse files
committed
Add MDA Api
Addition of Modelio generation of MDA Api
1 parent 47634f5 commit 37de898

File tree

298 files changed

+29437
-17717
lines changed

Some content is hidden

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

298 files changed

+29437
-17717
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- definition -->
66
<groupId>org.modelio.module</groupId>
7-
<artifactId>martedesigner</artifactId>
7+
<artifactId>marte</artifactId>
88
<version>4.1.02</version>
99
<name>MARTEDesigner</name>
1010
<repositories>

src/main/conf/module.xml

Lines changed: 16376 additions & 4703 deletions
Large diffs are not rendered by default.

src/main/java/org/modelio/module/marte/api/MARTEDesignerProxyFactory.java

Lines changed: 1034 additions & 1079 deletions
Large diffs are not rendered by default.

src/main/java/org/modelio/module/marte/api/MARTEDesignerTagTypes.java

Lines changed: 2776 additions & 2776 deletions
Large diffs are not rendered by default.

src/main/java/org/modelio/module/marte/api/extensions/infrastructure/dependency/ProfileAssociationBaseDimensionDimensionDimension.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* WARNING: GENERATED FILE - DO NOT EDIT
3-
* Module: MARTEDesigner v4.0.01
3+
* Module: MARTEDesigner v4.1.02
44
5-
* This file was generated on 3/11/20 12:01 PM by Modelio Studio.
5+
* This file was generated on 2/4/21 4:12 PM by Modelio Studio.
66
*/
77
package org.modelio.module.marte.api.extensions.infrastructure.dependency;
88

@@ -32,24 +32,24 @@
3232
*/
3333
@objid ("854c55dc-94ec-4478-abf9-8976b7a965ca")
3434
public class ProfileAssociationBaseDimensionDimensionDimension {
35-
@objid ("74f51579-a8a3-420f-b5fb-bafc9207c923")
35+
@objid ("d3e03cf7-4b8d-498b-b315-855567cfedba")
3636
public static final String STEREOTYPE_NAME = "ProfileAssociation_baseDimension_Dimension_Dimension";
3737

3838
/**
3939
* The underlying {@link Dependency} represented by this proxy, never null.
4040
*/
41-
@objid ("4bcaacd5-f6bc-4923-815a-eac7f542d989")
41+
@objid ("c4459db5-b316-4b5f-a1f0-3bfbf5256250")
4242
protected final Dependency elt;
4343

4444
/**
45-
* Tells whether a {@link ProfileAssociationBaseDimensionDimensionDimension proxy} can be instantiated from a {@link MObject} checking it is a {@link Dependency} stereotyped << ProfileAssociation_baseDimension_Dimension_Dimension >>.
45+
* Tells whether a {@link ProfileAssociationBaseDimensionDimensionDimension proxy} can be instantiated from a {@link MObject} checking it is a {@link Dependency} stereotyped << ProfileAssociation_baseDimension_Dimension_Dimension >>.
4646
* <p>
47-
* The method returns <i>false</i> if the instantiation cannot be carried out.
47+
* The method returns <code>false</code> if the instantiation cannot be carried out.
4848
*
4949
* @param elt a model object
50-
* @return <i>true</i> if the instantiation can be carried out else <i>false</i>.
50+
* @return <code>true</code> if the instantiation can be carried out else <code>false</code>.
5151
*/
52-
@objid ("29244e30-1c9b-4bec-860c-eefc6678456a")
52+
@objid ("10ad91b7-635a-4f58-8db3-070e72fc8cfe")
5353
public static boolean canInstantiate(final MObject elt) {
5454
return ((elt instanceof Dependency) && ((Dependency) elt).isStereotyped(IMARTEDesignerPeerModule.MODULE_NAME, ProfileAssociationBaseDimensionDimensionDimension.STEREOTYPE_NAME));
5555
}
@@ -59,21 +59,21 @@ public static boolean canInstantiate(final MObject elt) {
5959
*
6060
* @return a {@link ProfileAssociationBaseDimensionDimensionDimension} proxy on the created {@link Dependency}.
6161
*/
62-
@objid ("92beddc7-3291-4321-b988-716d4fd4a9ea")
62+
@objid ("35b74940-f04b-4351-800f-642ec7ae959d")
6363
public static ProfileAssociationBaseDimensionDimensionDimension create() {
64-
ModelElement e = (ModelElement)MARTEModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Dependency");
64+
ModelElement e = (ModelElement)MARTEModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Infrastructure.Dependency");
6565
e.addStereotype(IMARTEDesignerPeerModule.MODULE_NAME, ProfileAssociationBaseDimensionDimensionDimension.STEREOTYPE_NAME);
6666
return ProfileAssociationBaseDimensionDimensionDimension.instantiate((Dependency)e);
6767
}
6868

6969
/**
70-
* Tries to instantiate a {@link ProfileAssociationBaseDimensionDimensionDimension} proxy from a {@link Dependency} stereotyped << ProfileAssociation_baseDimension_Dimension_Dimension >>checking its metaclass and its stereotype.
70+
* Tries to instantiate a {@link ProfileAssociationBaseDimensionDimensionDimension} proxy from a {@link Dependency} stereotyped << ProfileAssociation_baseDimension_Dimension_Dimension >> checking its metaclass and its stereotype.
7171
* <p>
7272
* The method returns <i>null</i> if the instantiation cannot be carried out.
7373
* @param obj a Dependency
7474
* @return a {@link ProfileAssociationBaseDimensionDimensionDimension} proxy or <i>null</i>.
7575
*/
76-
@objid ("1a5a6089-5d61-4a4b-80b2-baa25639e526")
76+
@objid ("89d73304-171e-4b16-991f-446f325c58ad")
7777
public static ProfileAssociationBaseDimensionDimensionDimension instantiate(final Dependency obj) {
7878
return ProfileAssociationBaseDimensionDimensionDimension.canInstantiate(obj) ? new ProfileAssociationBaseDimensionDimensionDimension(obj) : null;
7979
}
@@ -86,15 +86,15 @@ public static ProfileAssociationBaseDimensionDimensionDimension instantiate(fina
8686
* @return a {@link ProfileAssociationBaseDimensionDimensionDimension} proxy.
8787
* @throws IllegalArgumentException if the instantiation cannot be carried out.
8888
*/
89-
@objid ("cd438e74-ed80-4df4-8a5e-1dfe1bb60503")
89+
@objid ("58fd4223-9c81-4b23-b6e0-c177a4f3f681")
9090
public static ProfileAssociationBaseDimensionDimensionDimension safeInstantiate(final Dependency obj) throws IllegalArgumentException {
9191
if (ProfileAssociationBaseDimensionDimensionDimension.canInstantiate(obj))
9292
return new ProfileAssociationBaseDimensionDimensionDimension(obj);
9393
else
9494
throw new IllegalArgumentException("ProfileAssociationBaseDimensionDimensionDimension: Cannot instantiate "+obj+": wrong element type or stereotype");
9595
}
9696

97-
@objid ("d53af191-7e33-4247-b4fd-ae98d9cec3b0")
97+
@objid ("7ad74d1d-ffa4-464c-a799-7332aa9e603f")
9898
@Override
9999
public boolean equals(final Object obj) {
100100
if (this == obj) {
@@ -114,34 +114,34 @@ public boolean equals(final Object obj) {
114114
* Get the underlying {@link Dependency}.
115115
* @return the Dependency represented by this proxy, never null.
116116
*/
117-
@objid ("94f69110-566d-4a67-9ba5-45e309ec8259")
117+
@objid ("d07f65ce-44e3-4ce3-a2cf-6b73157bc613")
118118
public Dependency getElement() {
119119
return this.elt;
120120
}
121121

122-
@objid ("b98764e0-52fd-453b-b2bf-634547e35263")
122+
@objid ("1dfa67bb-96d2-4d7d-bd09-dd6fce3c3c25")
123123
@Override
124124
public int hashCode() {
125125
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
126126
}
127127

128-
@objid ("c92381a1-f1e7-4c74-9603-c3724bfd281d")
128+
@objid ("5a56a0bc-49f3-4178-ab3c-2a371a674477")
129129
protected ProfileAssociationBaseDimensionDimensionDimension(final Dependency elt) {
130130
this.elt = elt;
131131
}
132132

133133
@objid ("5b77ffb6-7658-4f7d-b221-a8f2a8e761be")
134134
public static final class MdaTypes {
135-
@objid ("0a459bbe-3300-4c49-a79d-cf20f3767c57")
135+
@objid ("328a0bf3-56ae-4d6d-b271-ca0109e3950b")
136136
public static Stereotype STEREOTYPE_ELT;
137137

138-
@objid ("dfa89359-b59e-4f51-bda6-aee28a3a92c4")
138+
@objid ("fb892a7d-4f01-4190-8455-c808ba0fd9f3")
139139
private static Stereotype MDAASSOCDEP;
140140

141-
@objid ("94ceaf3b-f08a-4c7b-bb72-b6f0e2882611")
141+
@objid ("a811d9d1-d42c-43c8-9c1c-c0b754a70630")
142142
private static TagType MDAASSOCDEP_ROLE;
143143

144-
@objid ("472fc002-6ab2-48df-a3f5-bcbfe488c1e7")
144+
@objid ("a559cb16-bc0d-4c18-825b-5dc44580e399")
145145
public static void init(final IModuleContext ctx) {
146146
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "06cb7c10-7e04-11df-9e39-0014222a9f79");
147147
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");

src/main/java/org/modelio/module/marte/api/extensions/infrastructure/dependency/ProfileAssociationBlocksComputingHwPLDHwComputingResource.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* WARNING: GENERATED FILE - DO NOT EDIT
3-
* Module: MARTEDesigner v4.0.01
3+
* Module: MARTEDesigner v4.1.02
44
5-
* This file was generated on 3/11/20 12:01 PM by Modelio Studio.
5+
* This file was generated on 2/4/21 4:12 PM by Modelio Studio.
66
*/
77
package org.modelio.module.marte.api.extensions.infrastructure.dependency;
88

@@ -32,24 +32,24 @@
3232
*/
3333
@objid ("e4ff7875-909f-4388-97b0-c19886dc6256")
3434
public class ProfileAssociationBlocksComputingHwPLDHwComputingResource {
35-
@objid ("b973706b-24a0-4aad-802f-eebca19365c4")
35+
@objid ("5a43e5a7-7822-4912-8f93-43252a044ea4")
3636
public static final String STEREOTYPE_NAME = "ProfileAssociation_blocksComputing_HwPLD_HwComputingResource";
3737

3838
/**
3939
* The underlying {@link Dependency} represented by this proxy, never null.
4040
*/
41-
@objid ("cbb412ee-9b0e-4a4d-8f88-167e8e58b267")
41+
@objid ("9355c296-51f9-46c7-9219-57453c6557b0")
4242
protected final Dependency elt;
4343

4444
/**
45-
* Tells whether a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource proxy} can be instantiated from a {@link MObject} checking it is a {@link Dependency} stereotyped << ProfileAssociation_blocksComputing_HwPLD_HwComputingResource >>.
45+
* Tells whether a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource proxy} can be instantiated from a {@link MObject} checking it is a {@link Dependency} stereotyped << ProfileAssociation_blocksComputing_HwPLD_HwComputingResource >>.
4646
* <p>
47-
* The method returns <i>false</i> if the instantiation cannot be carried out.
47+
* The method returns <code>false</code> if the instantiation cannot be carried out.
4848
*
4949
* @param elt a model object
50-
* @return <i>true</i> if the instantiation can be carried out else <i>false</i>.
50+
* @return <code>true</code> if the instantiation can be carried out else <code>false</code>.
5151
*/
52-
@objid ("e8846371-acec-4d77-a40b-6b714f8b8cc1")
52+
@objid ("ec511675-a836-41a5-8b0e-50471da88362")
5353
public static boolean canInstantiate(final MObject elt) {
5454
return ((elt instanceof Dependency) && ((Dependency) elt).isStereotyped(IMARTEDesignerPeerModule.MODULE_NAME, ProfileAssociationBlocksComputingHwPLDHwComputingResource.STEREOTYPE_NAME));
5555
}
@@ -59,21 +59,21 @@ public static boolean canInstantiate(final MObject elt) {
5959
*
6060
* @return a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource} proxy on the created {@link Dependency}.
6161
*/
62-
@objid ("d1bdf9db-55a7-43c2-a58c-f9a4d32157e8")
62+
@objid ("4810e914-ca08-4f2f-8d8b-672c2a5b0c6d")
6363
public static ProfileAssociationBlocksComputingHwPLDHwComputingResource create() {
64-
ModelElement e = (ModelElement)MARTEModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Dependency");
64+
ModelElement e = (ModelElement)MARTEModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Infrastructure.Dependency");
6565
e.addStereotype(IMARTEDesignerPeerModule.MODULE_NAME, ProfileAssociationBlocksComputingHwPLDHwComputingResource.STEREOTYPE_NAME);
6666
return ProfileAssociationBlocksComputingHwPLDHwComputingResource.instantiate((Dependency)e);
6767
}
6868

6969
/**
70-
* Tries to instantiate a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource} proxy from a {@link Dependency} stereotyped << ProfileAssociation_blocksComputing_HwPLD_HwComputingResource >>checking its metaclass and its stereotype.
70+
* Tries to instantiate a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource} proxy from a {@link Dependency} stereotyped << ProfileAssociation_blocksComputing_HwPLD_HwComputingResource >> checking its metaclass and its stereotype.
7171
* <p>
7272
* The method returns <i>null</i> if the instantiation cannot be carried out.
7373
* @param obj a Dependency
7474
* @return a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource} proxy or <i>null</i>.
7575
*/
76-
@objid ("f2e3653a-f99f-485e-b57b-28ddf205ca68")
76+
@objid ("7efc5198-6b9a-4748-8d52-5d00fd1ce7c3")
7777
public static ProfileAssociationBlocksComputingHwPLDHwComputingResource instantiate(final Dependency obj) {
7878
return ProfileAssociationBlocksComputingHwPLDHwComputingResource.canInstantiate(obj) ? new ProfileAssociationBlocksComputingHwPLDHwComputingResource(obj) : null;
7979
}
@@ -86,15 +86,15 @@ public static ProfileAssociationBlocksComputingHwPLDHwComputingResource instanti
8686
* @return a {@link ProfileAssociationBlocksComputingHwPLDHwComputingResource} proxy.
8787
* @throws IllegalArgumentException if the instantiation cannot be carried out.
8888
*/
89-
@objid ("da8cd428-3df3-42e8-af8f-179ddbc96fa2")
89+
@objid ("95fd066f-ac7b-4dc0-9b61-9ca13ff06f04")
9090
public static ProfileAssociationBlocksComputingHwPLDHwComputingResource safeInstantiate(final Dependency obj) throws IllegalArgumentException {
9191
if (ProfileAssociationBlocksComputingHwPLDHwComputingResource.canInstantiate(obj))
9292
return new ProfileAssociationBlocksComputingHwPLDHwComputingResource(obj);
9393
else
9494
throw new IllegalArgumentException("ProfileAssociationBlocksComputingHwPLDHwComputingResource: Cannot instantiate "+obj+": wrong element type or stereotype");
9595
}
9696

97-
@objid ("5dd53865-8fb8-47aa-9223-c6f067c236a7")
97+
@objid ("7e5519fc-ddb4-4770-9558-0b312c17ec14")
9898
@Override
9999
public boolean equals(final Object obj) {
100100
if (this == obj) {
@@ -114,34 +114,34 @@ public boolean equals(final Object obj) {
114114
* Get the underlying {@link Dependency}.
115115
* @return the Dependency represented by this proxy, never null.
116116
*/
117-
@objid ("b481023a-4eb1-4bd5-836f-86a303259b72")
117+
@objid ("205ee4e9-280c-4511-902a-9a3ea46fb119")
118118
public Dependency getElement() {
119119
return this.elt;
120120
}
121121

122-
@objid ("8f840731-4da2-46e2-bc2c-14d049d5b3f9")
122+
@objid ("12b57186-e346-472e-bcfb-301d91737a59")
123123
@Override
124124
public int hashCode() {
125125
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
126126
}
127127

128-
@objid ("e8ba14f7-8864-4d05-9498-82878b2f8e5b")
128+
@objid ("b5f9f202-9509-4bd5-bfe2-f924ff221c81")
129129
protected ProfileAssociationBlocksComputingHwPLDHwComputingResource(final Dependency elt) {
130130
this.elt = elt;
131131
}
132132

133133
@objid ("d64f2f81-43df-4c2d-b6e0-0a25cda54a8d")
134134
public static final class MdaTypes {
135-
@objid ("0ca3139a-952f-427a-9760-2f5fa6965272")
135+
@objid ("f52b7633-78c7-4546-a905-45d6c18f5ac0")
136136
public static Stereotype STEREOTYPE_ELT;
137137

138-
@objid ("d0dcc118-c4f0-4c34-912b-32aa0765126b")
138+
@objid ("57c6cb08-3509-4867-a2f5-38d4effc33ec")
139139
private static Stereotype MDAASSOCDEP;
140140

141-
@objid ("450d96ea-a0f2-48c5-8d64-fefdbacd5a17")
141+
@objid ("3b5545bb-12b7-410a-abb3-92051c4ad408")
142142
private static TagType MDAASSOCDEP_ROLE;
143143

144-
@objid ("9844d63f-3d0e-4a6c-8236-6ffbcda2f776")
144+
@objid ("1b31f164-cae0-4e6e-ae14-7fcfb6936932")
145145
public static void init(final IModuleContext ctx) {
146146
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "10437743-937d-11e0-b960-0027103f347c");
147147
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");

0 commit comments

Comments
 (0)