If null is returned the caller will return null.
- *
* @return the {@link IInfrastructureVisitor} visitor or null.
*/
- @objid ("7cb2adb6-3a4e-4be2-a192-1e694f892b11")
+ @objid ("45c558cb-7b1b-4b6c-85fb-a05db29170cf")
@Override
public IInfrastructureVisitor getInfrastructureVisitor() {
return this;
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/dependency/Annotation.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/dependency/Annotation.java
index cc439afd..6d23a0ab 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/dependency/Annotation.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/dependency/Annotation.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.infrastructure.dependency;
@@ -34,7 +34,7 @@
*/
@objid ("7031d203-af8d-4031-b372-b418d6e60fbd")
public class Annotation extends CamelElement {
- @objid ("aff4031f-29a2-406c-b17a-ba4d565b9e39")
+ @objid ("e22aa682-2067-4f7f-bd0a-d00354b6ba77")
public static final String STEREOTYPE_NAME = "Annotation";
/**
@@ -45,7 +45,7 @@ public class Annotation extends CamelElement {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("1a00e1d2-23bb-4746-9bfc-8e132d536e22")
+ @objid ("79940e57-0480-427d-abbf-916bc412504f")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Dependency) && ((Dependency) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, Annotation.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link Annotation} proxy on the created {@link Dependency}.
*/
- @objid ("9cca048c-aa6e-4854-b999-92d005c64931")
+ @objid ("651f4f79-af24-4d57-b4ad-4184c8dcc021")
public static Annotation create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Infrastructure.Dependency");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, Annotation.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static Annotation create() {
}
/**
- * Tries to instantiate a {@link Annotation} proxy from a {@link Dependency} stereotyped << Annotation >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link Annotation} proxy from a {@link Dependency} stereotyped << Annotation >> checking its metaclass and its stereotype.
*
* The method returns null if the instantiation cannot be carried out. - * * @param obj a Dependency * @return a {@link Annotation} proxy or null. */ - @objid ("750f4ce3-eb41-40ab-94f1-7e124cce0f1f") + @objid ("713a2323-276e-4714-a414-d1a0e0052bd3") public static Annotation instantiate(final Dependency obj) { return Annotation.canInstantiate(obj) ? new Annotation(obj) : null; } /** - * Tries to instantiate a {@link Annotation} proxy from a {@link Dependency} stereotyped << Annotation >> checking its metaclass and its stereotype. + * Tries to instantiate a {@link Annotation} proxy from a {@link Dependency} stereotyped << Annotation >> checking its metaclass and its stereotype. *
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Dependency}
* @return a {@link Annotation} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("32e79ee2-cce3-4d4f-b30f-d42c23661202")
+ @objid ("daed0cb2-8cc9-47f8-8287-142c6e0631da")
public static Annotation safeInstantiate(final Dependency obj) throws IllegalArgumentException {
if (Annotation.canInstantiate(obj))
- return new Annotation(obj);
+ return new Annotation(obj);
else
- throw new IllegalArgumentException("Annotation: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("Annotation: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("1aa3767a-a8a2-4149-a823-9898898f623e")
+ @objid ("643eaa87-3286-4140-b323-5d3afa9c3326")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,17 +107,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Dependency}.
- *
+ * Get the underlying {@link Dependency}.
* @return the Dependency represented by this proxy, never null.
*/
- @objid ("6f269a21-38bb-45d1-981c-69b3f4345401")
+ @objid ("f1cc67dd-10e7-4f6b-90a3-246d08281d66")
@Override
public Dependency getElement() {
return (Dependency)super.getElement();
}
- @objid ("af6c20ea-9c0f-47f7-aa80-d84d812b271d")
+ @objid ("25ce878c-6638-4b62-a834-795fdfdfae5f")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -132,23 +129,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Dependency
* @return a {@link PropertyDependency} proxy or null.
*/
- @objid ("5440567b-9e10-4fa0-9d25-0fe6feccdfc1")
+ @objid ("775ee69c-52a2-4daf-9806-fcc7786642cf")
public static PropertyDependency instantiate(final Dependency obj) {
return PropertyDependency.canInstantiate(obj) ? new PropertyDependency(obj) : null;
}
/**
- * Tries to instantiate a {@link PropertyDependency} proxy from a {@link Dependency} stereotyped << PropertyDependency >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link PropertyDependency} proxy from a {@link Dependency} stereotyped << PropertyDependency >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Dependency}
* @return a {@link PropertyDependency} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("f203c824-44be-4d8e-9317-c859f9ea5182")
+ @objid ("f0686d3f-a07b-4196-8bfa-f84d4c56545d")
public static PropertyDependency safeInstantiate(final Dependency obj) throws IllegalArgumentException {
if (PropertyDependency.canInstantiate(obj))
- return new PropertyDependency(obj);
+ return new PropertyDependency(obj);
else
- throw new IllegalArgumentException("PropertyDependency: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("PropertyDependency: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("7db64d9c-7246-4b1c-924d-a034b32b3c35")
+ @objid ("6461dcd1-ce42-4574-8f35-97590fae78c1")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,17 +107,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Dependency}.
- *
+ * Get the underlying {@link Dependency}.
* @return the Dependency represented by this proxy, never null.
*/
- @objid ("712eea4b-3756-4fd5-8207-3a6dce5f2b8f")
+ @objid ("80725605-334f-4011-8ca9-120185e22641")
@Override
public Dependency getElement() {
return (Dependency)super.getElement();
}
- @objid ("d0fc82b1-e380-446c-857e-3dc52ba10970")
+ @objid ("cdab7378-7adb-41fc-b6f0-4b65b2225dfd")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -132,23 +129,23 @@ public List
* Role description:
* null
+ *
*/
- @objid ("55b0f039-bb65-4f7d-97bb-d7bb55f42c3d")
+ @objid ("ebedd58c-4784-451d-ba35-0572d76bf606")
public void addAnnotations(final MmsObject obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -69,7 +70,7 @@ public void addAnnotations(final MmsObject obj) {
}
}
- @objid ("3c7c0d56-a27c-4fa1-9d53-ef2b0f613f55")
+ @objid ("5adb0bb5-26e0-49e3-96d2-c0b6c60eedf2")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -89,8 +90,9 @@ public boolean equals(final Object obj) {
* Get the values of the 'annotations' role.
* Role description:
* null
+ *
*/
- @objid ("789d934f-69da-4ba0-ad64-d986486d00b7")
+ @objid ("893d38be-6aa1-4cbb-9c25-3ec46ae8a483")
public List
* Role description:
* null
+ *
*/
- @objid ("5b2f0659-112e-4a15-a056-ed3a475aab72")
+ @objid ("480711a9-5558-4c25-86b6-bf7f21a948a6")
public boolean removeAnnotations(final MmsObject obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(ExpendableElement.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(ExpendableElement.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(ExpendableElement.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(ExpendableElement.MdaTypes.MDAASSOCDEP_ROLE), "annotations"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -145,23 +147,23 @@ public boolean removeAnnotations(final MmsObject obj) {
return false;
}
- @objid ("aaa7fdf6-af0d-4315-b9ae-5f2f3c774567")
+ @objid ("1f20c2ae-549e-46bc-9480-df351f11fb8a")
protected ExpendableElement(final ModelElement elt) {
super(elt);
}
@objid ("cbcfe587-f4d9-4299-85a2-20ec2c0d6d7f")
public static final class MdaTypes {
- @objid ("7de2d0e5-26d3-4e8e-bb86-52e68e67e901")
+ @objid ("ac2d515b-174b-40b0-8a93-409d4d889a37")
public static Stereotype STEREOTYPE_ELT;
- @objid ("4d068b77-1204-4296-9306-47438bcd501a")
+ @objid ("236de19e-e6b8-4df6-aed2-0cd01d1c1804")
private static Stereotype MDAASSOCDEP;
- @objid ("b785e6b5-4c45-484e-8a0d-75dda6dc0efa")
+ @objid ("3ae76754-7d56-408f-a442-1415e3488831")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("aa8bc77f-fe5c-4fcc-bcbb-6d83bcdc4b21")
+ @objid ("a2714e2c-b652-407e-9e19-0168b72c23ca")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "f81fdaa1-17e1-49a4-bf1f-60c18563c100");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -169,11 +171,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/Feature.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/Feature.java
index b56e6401..16b0b30b 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/Feature.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/Feature.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
@@ -35,7 +35,7 @@
*/
@objid ("a5eb4aa4-b3c3-4bce-b713-24ce0ac2b84e")
public abstract class Feature extends ExpendableElement {
- @objid ("96d48d0e-0438-4652-b0f1-99a84702ed9a")
+ @objid ("b60af2f3-4fa9-43f4-a294-85ca184ca0f5")
public static final String STEREOTYPE_NAME = "Feature";
/**
@@ -46,7 +46,7 @@ public abstract class Feature extends ExpendableElement {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Artifact
* @return a {@link FeatureArtifact} proxy or null.
*/
- @objid ("f97ed5a8-0bf3-45b4-a727-6fa9a90102b8")
+ @objid ("73635599-c251-47da-a03a-21137bacad32")
public static FeatureArtifact instantiate(final Artifact obj) {
return FeatureArtifact.canInstantiate(obj) ? new FeatureArtifact(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureArtifact} proxy from a {@link Artifact} stereotyped << Feature_Artifact >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureArtifact} proxy from a {@link Artifact} stereotyped << Feature_Artifact >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Artifact}
* @return a {@link FeatureArtifact} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("d417a6ef-ee27-494b-b0f5-b097eb5d26e5")
+ @objid ("e98c53e9-29d9-4141-b9b4-16e2626a3f7a")
public static FeatureArtifact safeInstantiate(final Artifact obj) throws IllegalArgumentException {
if (FeatureArtifact.canInstantiate(obj))
- return new FeatureArtifact(obj);
+ return new FeatureArtifact(obj);
else
- throw new IllegalArgumentException("FeatureArtifact: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureArtifact: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("b3bef60c-278e-4925-8f81-56caf821f557")
+ @objid ("85d82d92-6858-4263-8374-6358f158561d")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Artifact}.
- *
+ * Get the underlying {@link Artifact}.
* @return the Artifact represented by this proxy, never null.
*/
- @objid ("8d0ba501-da26-42d1-9306-f5f68c009b88")
+ @objid ("1fbda3ca-9f5c-46e7-9454-3938b400cd2e")
@Override
public Artifact getElement() {
return (Artifact)super.getElement();
}
- @objid ("f3b00df5-6653-49bd-adf6-be6e4cdbbd2c")
+ @objid ("53f66df3-9af8-4cc9-a66e-2cc455b9eddf")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -135,23 +132,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Attribute
* @return a {@link AttributeAttribute} proxy or null.
*/
- @objid ("9a841d0c-69eb-482a-88dd-f22adf640e3a")
+ @objid ("4e9edab4-1137-4870-aa42-e76ecaab590d")
public static AttributeAttribute instantiate(final Attribute obj) {
return AttributeAttribute.canInstantiate(obj) ? new AttributeAttribute(obj) : null;
}
/**
- * Tries to instantiate a {@link AttributeAttribute} proxy from a {@link Attribute} stereotyped << Attribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeAttribute} proxy from a {@link Attribute} stereotyped << Attribute_Attribute >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Attribute}
* @return a {@link AttributeAttribute} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("0fae107c-25d4-4c43-bc87-34e5477e86c9")
+ @objid ("23d1a1de-0f78-44b3-b933-ed89031810ba")
public static AttributeAttribute safeInstantiate(final Attribute obj) throws IllegalArgumentException {
if (AttributeAttribute.canInstantiate(obj))
- return new AttributeAttribute(obj);
+ return new AttributeAttribute(obj);
else
- throw new IllegalArgumentException("AttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("AttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("0e10adf8-2d12-4c88-99bc-f1c3ff7aa038")
+ @objid ("37495426-2558-4117-af5e-0aa9990c5722")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -117,11 +115,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Attribute}.
- *
+ * Get the underlying {@link Attribute}.
* @return the Attribute represented by this proxy, never null.
*/
- @objid ("8e053991-5018-41bd-ad65-c388f52be524")
+ @objid ("b59f3a2f-9f93-4a08-8ce7-c1af0c430489")
@Override
public Attribute getElement() {
return (Attribute)super.getElement();
@@ -131,8 +128,9 @@ public Attribute getElement() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("df275493-4d16-4928-adbf-9a815d687b2f")
+ @objid ("0025f78f-e5cc-476f-a817-cfb9475670cd")
public FeatureClassifier getParent() {
return (FeatureClassifier)CamelDesignerProxyFactory.instantiate(((Attribute) this.elt).getOwner(), FeatureClassifier.STEREOTYPE_NAME);
}
@@ -141,8 +139,9 @@ public FeatureClassifier getParent() {
* Get the value of the 'unit' role.
* Role description:
* null
+ *
*/
- @objid ("393ca8bb-404c-4cb3-93bc-8a638ab316d7")
+ @objid ("706a5d61-cc82-4140-af58-0b5559147cef")
public Unit getUnit() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(AttributeAttribute.MdaTypes.MDAASSOCDEP)
@@ -162,13 +161,14 @@ public Unit getUnit() {
* Get the value to the 'valueType' role.
* Role description:
* null
+ *
*/
- @objid ("3948a717-7f02-4caf-8162-73b0ff7826a7")
+ @objid ("07077616-ed50-4935-b509-f5c382abd6e3")
public ValueType getValueType() {
return (ValueType)CamelDesignerProxyFactory.instantiate(((Attribute) this.elt).getType(), ValueType.STEREOTYPE_NAME);
}
- @objid ("cdc543e0-6817-42b3-bb95-507784171f78")
+ @objid ("15953eaa-e624-4f44-8e8e-14363b5407eb")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -178,8 +178,9 @@ public int hashCode() {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("379b575e-f15b-4de2-9fe0-3acaa296df23")
+ @objid ("6281e48f-4c2a-4bc0-b247-23d123166a3b")
public void setParent(final FeatureClassifier obj) {
((Attribute) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -188,8 +189,9 @@ public void setParent(final FeatureClassifier obj) {
* Set the value of the 'unit' role.
* Role description:
* null
+ *
*/
- @objid ("de8be8a2-3109-44a9-b964-39700b7cf4e9")
+ @objid ("5018a8df-0937-45f9-b656-6b539efd0803")
public void setUnit(final Unit obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -213,8 +215,9 @@ public void setUnit(final Unit obj) {
* Set the value of the 'valueType' role.
* Role description:
* null
+ *
*/
- @objid ("970843d7-df17-438f-a94b-4171d6ca9b53")
+ @objid ("10356fc0-54a0-4c74-9fed-217fc772193f")
public void setValueType(final ValueType obj) {
((Attribute) this.elt).setType((obj != null) ? obj.getElement() : null);
}
@@ -238,23 +241,23 @@ public void setValue(String value) {
this.getElement().setValue(value);
}
- @objid ("5dc8d01b-2572-4711-b8b9-98522ca6bb11")
+ @objid ("cfd785f9-086f-4b77-8f6b-74b50456756d")
protected AttributeAttribute(final Attribute elt) {
super(elt);
}
@objid ("f558a895-629e-4294-9127-c70f14d14fce")
public static final class MdaTypes {
- @objid ("1e6f86d6-2837-466c-a6f2-863938b8c921")
+ @objid ("ce21c706-72a0-4322-b41e-3776881c3974")
public static Stereotype STEREOTYPE_ELT;
- @objid ("88c6e32f-adbb-47bc-8b5a-d6f3e6040424")
+ @objid ("1a6795ce-a701-47fa-abdf-ca6e9db34e59")
private static Stereotype MDAASSOCDEP;
- @objid ("8719be51-d827-4a83-aba3-167b7e650cbc")
+ @objid ("c46c6a32-fd20-450a-baac-651e202168cc")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("4e5f23b6-0ca3-459c-981a-f0d51afe00c7")
+ @objid ("7a9e3e29-418d-4848-a3f0-79bca5642802")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "02d333e9-0603-47b3-87bb-b2a311cc65dd");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -262,11 +265,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/MeasurableAttributeAttribute.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/MeasurableAttributeAttribute.java
index 01b99a44..f4e87f5f 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/MeasurableAttributeAttribute.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/MeasurableAttributeAttribute.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.attribute;
@@ -35,7 +35,7 @@
*/
@objid ("64d9c99b-c8af-4882-b63d-a30a40d1dd03")
public class MeasurableAttributeAttribute extends QualityAttributeAttribute {
- @objid ("d8ae79ab-50b9-49b6-a1c5-3d3829d7604b")
+ @objid ("55f29323-b054-4306-b3b8-c16e41f18015")
public static final String STEREOTYPE_NAME = "MeasurableAttribute_Attribute";
/**
@@ -46,7 +46,7 @@ public class MeasurableAttributeAttribute extends QualityAttributeAttribute {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Attribute
* @return a {@link MeasurableAttributeAttribute} proxy or null.
*/
- @objid ("f3944838-0426-4835-acfa-838d882c0e02")
+ @objid ("4cd282e6-6562-4103-953b-226b1e4ef496")
public static MeasurableAttributeAttribute instantiate(final Attribute obj) {
return MeasurableAttributeAttribute.canInstantiate(obj) ? new MeasurableAttributeAttribute(obj) : null;
}
/**
- * Tries to instantiate a {@link MeasurableAttributeAttribute} proxy from a {@link Attribute} stereotyped << MeasurableAttribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MeasurableAttributeAttribute} proxy from a {@link Attribute} stereotyped << MeasurableAttribute_Attribute >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Attribute}
* @return a {@link MeasurableAttributeAttribute} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("7dd7beaf-c0cb-452d-b4c0-e95e5db3eaa3")
+ @objid ("903e9f6e-12b5-494a-a6d1-051a04c82297")
public static MeasurableAttributeAttribute safeInstantiate(final Attribute obj) throws IllegalArgumentException {
if (MeasurableAttributeAttribute.canInstantiate(obj))
- return new MeasurableAttributeAttribute(obj);
+ return new MeasurableAttributeAttribute(obj);
else
- throw new IllegalArgumentException("MeasurableAttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MeasurableAttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'sensors' role.
* Role description:
* null
+ *
*/
- @objid ("b5c045c5-8c66-498c-82eb-c98d94f00be1")
+ @objid ("a64e2631-c9a5-40fe-8b43-ad99b802c5f0")
public void addSensors(final Sensor obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -108,7 +107,7 @@ public void addSensors(final Sensor obj) {
}
}
- @objid ("54e358c8-fdff-4524-a6c8-0aec1c5a6435")
+ @objid ("37e01244-141a-4648-a3ae-1e85b1400a8f")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -125,11 +124,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Attribute}.
- *
+ * Get the underlying {@link Attribute}.
* @return the Attribute represented by this proxy, never null.
*/
- @objid ("12245111-5c50-4f23-b65b-f40148204e68")
+ @objid ("312a468a-a1b7-48ac-8a75-6dc1fa0a89a5")
@Override
public Attribute getElement() {
return (Attribute)super.getElement();
@@ -139,8 +137,9 @@ public Attribute getElement() {
* Get the values of the 'sensors' role.
* Role description:
* null
+ *
*/
- @objid ("7f4b0030-1b74-433a-851b-c2741bcf5ad3")
+ @objid ("5454852d-431a-4601-a431-dcf95e50adf8")
public List
* Role description:
* null
+ *
*/
- @objid ("6e42f405-4b66-4924-8149-0b4b57adcba8")
+ @objid ("3f87b7a9-0dbb-44cb-a1a8-adcdee6806dc")
public boolean removeSensors(final Sensor obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(MeasurableAttributeAttribute.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(MeasurableAttributeAttribute.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(MeasurableAttributeAttribute.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(MeasurableAttributeAttribute.MdaTypes.MDAASSOCDEP_ROLE), "sensors"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -178,23 +178,23 @@ public boolean removeSensors(final Sensor obj) {
return false;
}
- @objid ("10f14f84-920f-4273-b170-7e0b0c9281c3")
+ @objid ("c827138f-2c0c-49f8-825e-9a872d0c0a50")
protected MeasurableAttributeAttribute(final Attribute elt) {
super(elt);
}
@objid ("dd33b21d-72fe-4210-844d-e9819ab9d4aa")
public static final class MdaTypes {
- @objid ("679455a8-e01e-4884-a1e3-7fda08aa362d")
+ @objid ("e8a61d2d-ca0c-40e9-a7df-ba5473eb930e")
public static Stereotype STEREOTYPE_ELT;
- @objid ("9194b7ba-9b2b-48cb-8947-504661cfc76c")
+ @objid ("cdf14e19-51a8-45d6-a8e3-d7e2a3d93221")
private static Stereotype MDAASSOCDEP;
- @objid ("bb15d9cf-b391-4aa1-a8d9-e372d4f38c91")
+ @objid ("864e7c15-e93c-4e29-9fc8-4bb138b49f20")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("d9a03aeb-7074-4af7-84c8-6087bde4665a")
+ @objid ("ce6679fe-2a4c-40db-8e7e-b3d0edbdf7ab")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "0904c020-0de8-4170-8d49-131f2ce38022");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -202,11 +202,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/QualityAttributeAttribute.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/QualityAttributeAttribute.java
index b700a868..93478af2 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/QualityAttributeAttribute.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/attribute/QualityAttributeAttribute.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.attribute;
@@ -33,7 +33,7 @@
*/
@objid ("9c9b9a9a-5e8a-461c-87f8-f089d0e376e2")
public class QualityAttributeAttribute extends AttributeAttribute {
- @objid ("9ec2d1c7-781f-4b63-9eab-52c73c9ae08e")
+ @objid ("c28eac6c-9b43-4858-9ed1-f4ea409dcb19")
public static final String STEREOTYPE_NAME = "QualityAttribute_Attribute";
/**
@@ -44,7 +44,7 @@ public class QualityAttributeAttribute extends AttributeAttribute {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Attribute
* @return a {@link QualityAttributeAttribute} proxy or null.
*/
- @objid ("76e8e12b-ea59-4143-b797-35621aac3c0b")
+ @objid ("748ef9f1-2f21-4188-855a-9ff88594ba5b")
public static QualityAttributeAttribute instantiate(final Attribute obj) {
return QualityAttributeAttribute.canInstantiate(obj) ? new QualityAttributeAttribute(obj) : null;
}
/**
- * Tries to instantiate a {@link QualityAttributeAttribute} proxy from a {@link Attribute} stereotyped << QualityAttribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link QualityAttributeAttribute} proxy from a {@link Attribute} stereotyped << QualityAttribute_Attribute >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Attribute}
* @return a {@link QualityAttributeAttribute} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("81072360-d911-4734-bd3b-5e9dcb1e45f2")
+ @objid ("f4f63d05-695b-4533-a636-502aee0ae50e")
public static QualityAttributeAttribute safeInstantiate(final Attribute obj) throws IllegalArgumentException {
if (QualityAttributeAttribute.canInstantiate(obj))
- return new QualityAttributeAttribute(obj);
+ return new QualityAttributeAttribute(obj);
else
- throw new IllegalArgumentException("QualityAttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("QualityAttributeAttribute: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("0fe31d12-2d12-40e9-b0c5-e75b52ce0922")
+ @objid ("f6dcd382-cb14-446a-8a02-629f10f167f1")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -108,39 +106,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Attribute}.
- *
+ * Get the underlying {@link Attribute}.
* @return the Attribute represented by this proxy, never null.
*/
- @objid ("7b5cf5bb-17b4-4d7a-a007-ff142121e9d2")
+ @objid ("f648f9eb-282c-429d-b94f-9aeeaad41416")
@Override
public Attribute getElement() {
return (Attribute)super.getElement();
}
- @objid ("f1897861-1af2-4ac9-9dc4-597c5b0e52a4")
+ @objid ("d15e2415-ee59-4e79-9770-4e64a8b5c155")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("a0641233-3cd6-4b8a-ae87-292916a343a3")
+ @objid ("59183964-ef4a-47e6-a240-395e35a5db3d")
protected QualityAttributeAttribute(final Attribute elt) {
super(elt);
}
@objid ("d44e9721-1831-4bbf-98a7-0b98a311c1d2")
public static final class MdaTypes {
- @objid ("7cec0897-b1e0-4469-bb3c-b9c0546ecb1d")
+ @objid ("14a7bfd8-636d-42ad-a214-118bee55b4f1")
public static Stereotype STEREOTYPE_ELT;
- @objid ("beecea7e-e072-4716-aed8-ecaa1e29cdde")
+ @objid ("81889d25-1546-482c-aa67-a1f3691ff2a5")
private static Stereotype MDAASSOCDEP;
- @objid ("b128ec95-4e23-4fff-bf27-1b84f04d716c")
+ @objid ("e4bda9b0-5eeb-4e6a-a56d-f726bf78d5c4")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("b22c4300-d206-4786-91ff-9326880ebd03")
+ @objid ("d9807527-ae07-48be-ab88-6e3f1e1f839a")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "affcb570-9c14-4702-aacd-86bdbea720ff");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -148,11 +145,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/Application.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/Application.java
index 1715fca8..864c0c66 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/Application.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/Application.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.class_;
@@ -35,10 +35,10 @@
*/
@objid ("97e6f375-0f57-43fd-9ece-52aadc88d164")
public class Application extends FeatureClass {
- @objid ("a1432c65-ae10-47cd-9d84-777274160e13")
+ @objid ("90009577-5792-4b5d-916a-a8c5c9326ea5")
public static final String STEREOTYPE_NAME = "Application";
- @objid ("fa6bbcb8-1838-4a5c-8fe9-5561b05a1571")
+ @objid ("76481a25-508b-4681-a0f1-f406604bfabc")
public static final String VERSION_TAGTYPE = "version";
/**
@@ -49,7 +49,7 @@ public class Application extends FeatureClass {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link Application} proxy or null.
*/
- @objid ("11e2e3dc-3bad-401c-aed4-6e43acce52ce")
+ @objid ("678cb84d-70a8-4d43-b025-4cab14e5f591")
public static Application instantiate(final Class obj) {
return Application.canInstantiate(obj) ? new Application(obj) : null;
}
/**
- * Tries to instantiate a {@link Application} proxy from a {@link Class} stereotyped << Application >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link Application} proxy from a {@link Class} stereotyped << Application >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link Application} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("537c761c-19b1-483d-8453-38697848eadd")
+ @objid ("de2ea04b-90ea-4e52-819d-d86edae50d45")
public static Application safeInstantiate(final Class obj) throws IllegalArgumentException {
if (Application.canInstantiate(obj))
- return new Application(obj);
+ return new Application(obj);
else
- throw new IllegalArgumentException("Application: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("Application: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("de019b1d-c005-4216-ab16-a3e7b9f6d3c1")
+ @objid ("f8f5e3c8-af3e-4025-8cc4-66a280109cae")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -113,11 +111,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("42cd1590-a94e-4dc1-8abb-1e0258fcee45")
+ @objid ("1b6d533f-e663-4bd1-a6b5-ca2260dbcd3a")
@Override
public Class getElement() {
return (Class)super.getElement();
@@ -128,12 +125,12 @@ public Class getElement() {
* Property description:
* Property description:
*
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link AttributeClass} proxy or null.
*/
- @objid ("32b0cb91-35a2-4cd2-84c1-1c8269dbcd0e")
+ @objid ("58749f07-3f01-4950-b0c6-e6c2c8b47585")
public static AttributeClass instantiate(final Class obj) {
return AttributeClass.canInstantiate(obj) ? new AttributeClass(obj) : null;
}
/**
- * Tries to instantiate a {@link AttributeClass} proxy from a {@link Class} stereotyped << Attribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeClass} proxy from a {@link Class} stereotyped << Attribute_Class >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link AttributeClass} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("b83c135b-a73d-4c2a-ba18-4e52758a4e04")
+ @objid ("34842a44-dafd-4f09-a152-e0b5aca70b0b")
public static AttributeClass safeInstantiate(final Class obj) throws IllegalArgumentException {
if (AttributeClass.canInstantiate(obj))
- return new AttributeClass(obj);
+ return new AttributeClass(obj);
else
- throw new IllegalArgumentException("AttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("AttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("79bb44c1-7407-4de5-a645-182d8a20eeaa")
+ @objid ("f6f70581-1b88-4392-a70f-f90e3a7eed69")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -125,11 +124,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("177c9c86-2208-4bbe-a4ec-6d7cbf192490")
+ @objid ("9bcef4ab-c7c8-4c39-a12a-9b01be43a4b7")
@Override
public Class getElement() {
return (Class)super.getElement();
@@ -139,8 +137,9 @@ public Class getElement() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("e868891e-3e4f-4c2a-b97e-f6858c3da331")
+ @objid ("fcb908ac-e18c-4268-982c-99d54f1d3044")
public FeaturePackage getParent() {
return (FeaturePackage)CamelDesignerProxyFactory.instantiate(((Class) this.elt).getOwner(), FeaturePackage.STEREOTYPE_NAME);
}
@@ -149,8 +148,9 @@ public FeaturePackage getParent() {
* Get the value of the 'unit' role.
* Role description:
* null
+ *
*/
- @objid ("9670e388-d8b9-4829-9ebb-fe39c8493920")
+ @objid ("8e73f9e5-abbd-45b5-8f35-c33203cde311")
public Unit getUnit() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(AttributeClass.MdaTypes.MDAASSOCDEP)
@@ -171,7 +171,7 @@ public Unit getUnit() {
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("51eb3318-28cf-4fd7-aef0-8b1bea1e8f30")
+ @objid ("d52aad47-d66b-4af3-9173-e4ab2c907caa")
public ValueType getValueType() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(AttributeClass.MdaTypes.MDAASSOCDEP)
@@ -201,7 +202,7 @@ public ValueType getValueType() {
return null;
}
- @objid ("eb32084e-422d-462b-b643-a79fb16d7b76")
+ @objid ("d0377728-8c8a-4042-bd9d-0e09e774d412")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -211,8 +212,9 @@ public int hashCode() {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("4dda09ae-3a92-4d61-a58b-966f9b29b70d")
+ @objid ("1db10af8-144c-456d-8396-4750913a3251")
public void setParent(final FeaturePackage obj) {
((Class) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -221,8 +223,9 @@ public void setParent(final FeaturePackage obj) {
* Set the value of the 'unit' role.
* Role description:
* null
+ *
*/
- @objid ("0139cc55-4b8c-447c-8252-10bb4b9ab2dd")
+ @objid ("3e4887e5-7cc9-46b5-8093-a0bc8ebe6775")
public void setUnit(final Unit obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -247,7 +250,7 @@ public void setUnit(final Unit obj) {
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("3edb685d-47dc-4e8a-9ff4-dabfa93d7fe7")
+ @objid ("0e57e240-af8d-4fcd-8562-0946f76ef297")
public void setValueType(final ValueType obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -284,26 +288,61 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link FeatureClass} proxy or null.
*/
- @objid ("4a460027-023b-4d44-9a9a-b99bb10cfc8c")
+ @objid ("46afc1bd-9b61-4bbf-8b84-c259b0df69ea")
public static FeatureClass instantiate(final Class obj) {
return FeatureClass.canInstantiate(obj) ? new FeatureClass(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureClass} proxy from a {@link Class} stereotyped << Feature_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureClass} proxy from a {@link Class} stereotyped << Feature_Class >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link FeatureClass} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("036a7e21-9b50-45b1-99c0-79003e2a79ae")
+ @objid ("a8b0cbc7-e54e-49f5-a01d-87f8d0f32906")
public static FeatureClass safeInstantiate(final Class obj) throws IllegalArgumentException {
if (FeatureClass.canInstantiate(obj))
- return new FeatureClass(obj);
+ return new FeatureClass(obj);
else
- throw new IllegalArgumentException("FeatureClass: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureClass: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("28463fa9-e211-487f-a523-74a2763fe714")
+ @objid ("6bcd4750-4874-470e-8572-406938b76370")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("26920c45-0579-43ad-865f-1f44d6ad6019")
+ @objid ("5835fa4e-afe1-410a-b5e1-d98e0fe849b5")
@Override
public Class getElement() {
return (Class)super.getElement();
}
- @objid ("4c9edde9-9b93-4e90-9ffc-561e94d1fca3")
+ @objid ("74d7d6da-165e-4700-9f7b-d79b4baf1b45")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -135,23 +132,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link MeasurableAttributeClass} proxy or null.
*/
- @objid ("64d1742f-12e4-467c-a634-8b1b2afd9fb4")
+ @objid ("9123063e-2b6b-42f3-aff8-3da5da8407b2")
public static MeasurableAttributeClass instantiate(final Class obj) {
return MeasurableAttributeClass.canInstantiate(obj) ? new MeasurableAttributeClass(obj) : null;
}
/**
- * Tries to instantiate a {@link MeasurableAttributeClass} proxy from a {@link Class} stereotyped << MeasurableAttribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MeasurableAttributeClass} proxy from a {@link Class} stereotyped << MeasurableAttribute_Class >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link MeasurableAttributeClass} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("b2ff6195-49e4-45a8-81f7-15ed3ad535c5")
+ @objid ("1773b725-3c4f-47d0-916d-f9db8882e7ae")
public static MeasurableAttributeClass safeInstantiate(final Class obj) throws IllegalArgumentException {
if (MeasurableAttributeClass.canInstantiate(obj))
- return new MeasurableAttributeClass(obj);
+ return new MeasurableAttributeClass(obj);
else
- throw new IllegalArgumentException("MeasurableAttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MeasurableAttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'sensors' role.
* Role description:
* null
+ *
*/
- @objid ("f7988873-64b3-4c2d-ab09-cdf1ee6d6bd3")
+ @objid ("5905fc62-3ce4-48c9-aa05-1921f6fa198f")
public void addSensors(final Sensor obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -108,7 +107,7 @@ public void addSensors(final Sensor obj) {
}
}
- @objid ("54b09688-d76a-4a84-8ebb-4f48e05e55ce")
+ @objid ("7a3c8445-0e96-4a35-b65c-94e50927a35a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -125,11 +124,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("a8038c4d-11ac-4261-9062-28bac4f8e8d7")
+ @objid ("f6c3f506-4edd-42c6-87ce-f06275b39e86")
@Override
public Class getElement() {
return (Class)super.getElement();
@@ -139,8 +137,9 @@ public Class getElement() {
* Get the values of the 'sensors' role.
* Role description:
* null
+ *
*/
- @objid ("7d9ffe56-e3f5-40c2-9222-df2acef6081d")
+ @objid ("4d074097-10b6-4e69-a730-3e1e5b565ff5")
public List
* Role description:
* null
+ *
*/
- @objid ("79bafe96-298c-47a0-a7d0-e140e5d2d42e")
+ @objid ("43e760a4-16c8-40ec-a7a2-221adeb0e95d")
public boolean removeSensors(final Sensor obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(MeasurableAttributeClass.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(MeasurableAttributeClass.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(MeasurableAttributeClass.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(MeasurableAttributeClass.MdaTypes.MDAASSOCDEP_ROLE), "sensors"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -178,23 +178,23 @@ public boolean removeSensors(final Sensor obj) {
return false;
}
- @objid ("6f234e0f-167c-40dd-9141-fac34eeb0c3d")
+ @objid ("ebccdf04-3ddb-4eb4-8a44-023e98575a9b")
protected MeasurableAttributeClass(final Class elt) {
super(elt);
}
@objid ("f5778737-9189-4851-90e5-4c429752bc4a")
public static final class MdaTypes {
- @objid ("df55d371-54ae-469e-82de-3f0eca8b2194")
+ @objid ("38bf6882-9559-43ca-b109-cff80f66dd78")
public static Stereotype STEREOTYPE_ELT;
- @objid ("969c188a-5266-4577-b304-62e9ce095c72")
+ @objid ("f835f211-54b5-495e-8798-a40856be387e")
private static Stereotype MDAASSOCDEP;
- @objid ("1084b0d3-dd39-4f69-856a-030dbdf33b29")
+ @objid ("ca679b82-8c4f-4a6a-a28c-add49ecea8f2")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("3221fdc5-6737-42a6-8497-30ac39320c8f")
+ @objid ("2520e51a-c53d-4cde-9916-9e755b33df32")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "41f442d8-cf5f-4e6c-a842-47675cf36361");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -202,11 +202,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/QualityAttributeClass.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/QualityAttributeClass.java
index c759165d..0aacc032 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/QualityAttributeClass.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/class_/QualityAttributeClass.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.class_;
@@ -33,7 +33,7 @@
*/
@objid ("00b4d8d6-dff1-41ad-8764-b639c5cef9a2")
public class QualityAttributeClass extends AttributeClass {
- @objid ("7ec69d18-236a-4d89-8715-6d792a3eb576")
+ @objid ("33f1ce0a-0bff-4c2f-8c86-283b610222bc")
public static final String STEREOTYPE_NAME = "QualityAttribute_Class";
/**
@@ -44,7 +44,7 @@ public class QualityAttributeClass extends AttributeClass {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link QualityAttributeClass} proxy or null.
*/
- @objid ("10f99a86-070c-47da-a878-93389a4eefab")
+ @objid ("d8ad3f78-f042-4f1f-a148-32c98e000a6e")
public static QualityAttributeClass instantiate(final Class obj) {
return QualityAttributeClass.canInstantiate(obj) ? new QualityAttributeClass(obj) : null;
}
/**
- * Tries to instantiate a {@link QualityAttributeClass} proxy from a {@link Class} stereotyped << QualityAttribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link QualityAttributeClass} proxy from a {@link Class} stereotyped << QualityAttribute_Class >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link QualityAttributeClass} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("58ce570b-9689-4d51-94c8-403299c21f28")
+ @objid ("70068ebf-dc0e-4934-badd-21039f5bcbfc")
public static QualityAttributeClass safeInstantiate(final Class obj) throws IllegalArgumentException {
if (QualityAttributeClass.canInstantiate(obj))
- return new QualityAttributeClass(obj);
+ return new QualityAttributeClass(obj);
else
- throw new IllegalArgumentException("QualityAttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("QualityAttributeClass: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("91dae874-e985-44b8-a26b-0d6d9c2b9098")
+ @objid ("bba0f998-7a31-441a-8f25-bba963da5d5d")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -108,39 +106,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("e9d522e1-88c9-42d9-ab11-3af9c9092b4c")
+ @objid ("72e7f24f-e7e0-432d-8b42-8729a5c50116")
@Override
public Class getElement() {
return (Class)super.getElement();
}
- @objid ("13f3eb34-6df6-42da-9b90-5438e34a12d7")
+ @objid ("124df1a3-dab4-4093-9513-9cde6cd47f97")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("d5d144b7-dd6f-483f-b130-65b2fdffc185")
+ @objid ("de5508f1-5ad5-4e1a-afd6-e5023ab89fe4")
protected QualityAttributeClass(final Class elt) {
super(elt);
}
@objid ("b614d475-a5cc-4fb3-8a5c-4681fb5ee31d")
public static final class MdaTypes {
- @objid ("e2bc483c-c4e7-43ef-9158-97f797e91a25")
+ @objid ("2b5d8af8-082e-4d0d-b6a3-1f4eaa2100cd")
public static Stereotype STEREOTYPE_ELT;
- @objid ("0f860da5-da47-41ce-9c17-7551b3e61f32")
+ @objid ("dcebb014-2fa8-4797-a4fd-da1dc2071fdc")
private static Stereotype MDAASSOCDEP;
- @objid ("a6fb2556-268a-40ee-b5ed-45db436bbceb")
+ @objid ("f51427bd-9879-481c-9c94-0dd6993fc35b")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("e1bd8fe5-770e-490d-98df-2173b9a8e0fd")
+ @objid ("a12290aa-aa0b-425f-bda1-11e185189e5b")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "ef0c1237-df8a-4bfc-8f0b-d3ad72e39bf4");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -148,11 +145,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/classifier/FeatureClassifier.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/classifier/FeatureClassifier.java
index 5874be39..f4ff34a5 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/classifier/FeatureClassifier.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/classifier/FeatureClassifier.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.classifier;
@@ -127,7 +127,7 @@
*/
@objid ("2d7f6e37-5b08-4a69-88e8-d8b0a19ca96a")
public abstract class FeatureClassifier extends Feature {
- @objid ("35926a0f-2884-479b-bbc6-592453d71fb6")
+ @objid ("ef3c6fc0-44af-41d8-9959-7309f73a08ef")
public static final String STEREOTYPE_NAME = "Feature_Classifier";
/**
@@ -138,7 +138,7 @@ public abstract class FeatureClassifier extends Feature {
* @param elt a model object
* @return
* Role description:
* null
+ *
*/
- @objid ("93ff7e75-99f8-440a-8e2f-36b61a689b13")
+ @objid ("a31b6058-3ce2-49bf-8e71-f4f3b0750b6d")
public void addAttributes(final AttributeAttribute obj) {
if (obj!=null)
((Classifier) this.elt).getOwnedAttribute().add(obj.getElement());
@@ -158,14 +159,15 @@ public void addAttributes(final AttributeAttribute obj) {
* Add a value to the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("89f1ddf0-8d47-44d6-901d-1c18e9650b74")
+ @objid ("8ed0e17f-e890-481a-a292-db17da038acf")
public void addSubFeatures(final FeatureClassifier obj) {
if (obj!=null)
((Classifier) this.elt).getOwnedElement().add(obj.getElement());
}
- @objid ("f510d58c-9b42-4e92-ad1b-e1f31fcddbbc")
+ @objid ("6382e35b-12c3-4c52-8461-8f58a9dcf89d")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -185,27 +187,27 @@ public boolean equals(final Object obj) {
* Get the values of the 'attributes' role.
* Role description:
* null
+ *
*/
- @objid ("86f1ee7b-6786-4b83-a905-0a1bbaa24631")
+ @objid ("7197c7fa-ec9c-4b62-b621-b71fdee1d02f")
public List
* Role description:
* null
+ *
*/
- @objid ("bc256007-2cae-453b-b751-9fa74a58cd08")
+ @objid ("c7d9c595-2d79-4d2a-b185-7e02f2cf78c2")
public FeatureClassifier getParent() {
return (FeatureClassifier)CamelDesignerProxyFactory.instantiate(((Classifier) this.elt).getOwner(), FeatureClassifier.STEREOTYPE_NAME);
}
@@ -225,188 +228,189 @@ public FeatureClassifier getParent() {
* Get the values of the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("29fe786b-0340-42cf-9770-e21045f10804")
+ @objid ("7329a7c9-b9ef-454d-b918-588a04b7323d")
public List
* Role description:
* null
+ *
*/
- @objid ("4f3d0359-6fcd-4e04-94c5-fc551c2b9ee3")
+ @objid ("96f894b6-d9bc-464b-a0da-3a009daee695")
public boolean removeAttributes(final AttributeAttribute obj) {
return (obj!=null)? ((Classifier) this.elt).getOwnedAttribute().remove(obj.getElement()) : false;
}
@@ -426,8 +431,9 @@ public boolean removeAttributes(final AttributeAttribute obj) {
* Remove a value from the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("7a51c9f2-1d48-4b13-a0f1-d0e596bd4f23")
+ @objid ("0a902189-1932-4827-b0f1-69da308f9b84")
public boolean removeSubFeatures(final FeatureClassifier obj) {
return (obj!=null)? ((Classifier) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -436,8 +442,9 @@ public boolean removeSubFeatures(final FeatureClassifier obj) {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("6f354da1-cfa8-41a4-8936-71bbb3e5afc1")
+ @objid ("9c4e7b93-7214-4352-b2ce-856269c41cc9")
public void setParent(final FeatureClassifier obj) {
((Classifier) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -452,23 +459,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Connector
* @return a {@link FeatureConnector} proxy or null.
*/
- @objid ("ac2a3b06-3f23-405d-a5c4-d51a1758387d")
+ @objid ("d314e40a-bbae-4dc4-b952-b3049d3dc65b")
public static FeatureConnector instantiate(final Connector obj) {
return FeatureConnector.canInstantiate(obj) ? new FeatureConnector(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureConnector} proxy from a {@link Connector} stereotyped << Feature_Connector >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureConnector} proxy from a {@link Connector} stereotyped << Feature_Connector >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Connector}
* @return a {@link FeatureConnector} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("cdbcde45-1864-441b-99fd-c7cc61a57fb6")
+ @objid ("81c56b01-fdfa-456b-abaa-12738db0bf16")
public static FeatureConnector safeInstantiate(final Connector obj) throws IllegalArgumentException {
if (FeatureConnector.canInstantiate(obj))
- return new FeatureConnector(obj);
+ return new FeatureConnector(obj);
else
- throw new IllegalArgumentException("FeatureConnector: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureConnector: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("28a71681-41d6-4b50-ac04-3a3239cc0b1f")
+ @objid ("5629473d-2254-4389-bae7-e1de17a1fec6")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Connector}.
- *
+ * Get the underlying {@link Connector}.
* @return the Connector represented by this proxy, never null.
*/
- @objid ("afa0c239-a612-4086-be4e-33de6b80c632")
+ @objid ("0ffc9279-343b-4a5c-a84d-fe934cf018c7")
@Override
public Connector getElement() {
return (Connector)super.getElement();
}
- @objid ("2401090f-e88f-4de1-99c3-924989b2674e")
+ @objid ("87e6f377-bd28-4b86-95c7-8291f1f11bf1")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -135,23 +132,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a DataType
* @return a {@link FeatureDataType} proxy or null.
*/
- @objid ("abb5db46-a41a-455b-b92e-b00e67a24455")
+ @objid ("9523ec04-2ed2-4739-96e6-946d1906a2bb")
public static FeatureDataType instantiate(final DataType obj) {
return FeatureDataType.canInstantiate(obj) ? new FeatureDataType(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureDataType} proxy from a {@link DataType} stereotyped << Feature_DataType >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureDataType} proxy from a {@link DataType} stereotyped << Feature_DataType >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link DataType}
* @return a {@link FeatureDataType} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("a71648de-9f59-42ed-9eba-a997417df13f")
+ @objid ("119803e4-6b93-42c5-aec3-58798151a085")
public static FeatureDataType safeInstantiate(final DataType obj) throws IllegalArgumentException {
if (FeatureDataType.canInstantiate(obj))
- return new FeatureDataType(obj);
+ return new FeatureDataType(obj);
else
- throw new IllegalArgumentException("FeatureDataType: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureDataType: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("e10ac001-f257-4211-97c9-573f5e53f783")
+ @objid ("1396632a-dfbf-426a-90a9-09182b20c81f")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link DataType}.
- *
+ * Get the underlying {@link DataType}.
* @return the DataType represented by this proxy, never null.
*/
- @objid ("3225c755-17e4-477f-839f-962cd957956b")
+ @objid ("2a9371cf-7c62-413e-97bf-b4fe313f4b60")
@Override
public DataType getElement() {
return (DataType)super.getElement();
}
- @objid ("44bd8f75-264c-4403-88ac-74ce9a966549")
+ @objid ("a0080e59-8450-4d08-ae52-101a17843327")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -135,23 +132,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Enumeration
* @return a {@link FeatureEnumeration} proxy or null.
*/
- @objid ("6499e8e2-88f8-423d-a63e-ee7fdcc9b2f4")
+ @objid ("d4925630-b873-4204-97bb-89d6b1c34c08")
public static FeatureEnumeration instantiate(final Enumeration obj) {
return FeatureEnumeration.canInstantiate(obj) ? new FeatureEnumeration(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureEnumeration} proxy from a {@link Enumeration} stereotyped << Feature_Enumeration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureEnumeration} proxy from a {@link Enumeration} stereotyped << Feature_Enumeration >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Enumeration}
* @return a {@link FeatureEnumeration} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("5989423e-cfab-432d-9b25-0314f59daf21")
+ @objid ("cfb9d1eb-92ee-485e-89ec-6a771ed629dd")
public static FeatureEnumeration safeInstantiate(final Enumeration obj) throws IllegalArgumentException {
if (FeatureEnumeration.canInstantiate(obj))
- return new FeatureEnumeration(obj);
+ return new FeatureEnumeration(obj);
else
- throw new IllegalArgumentException("FeatureEnumeration: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureEnumeration: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("fbba21b6-f114-4aa9-b00f-da2f66ee20fa")
+ @objid ("3fd673ba-541f-411e-abef-cd68f1f9d9e7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,39 +107,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Enumeration}.
- *
+ * Get the underlying {@link Enumeration}.
* @return the Enumeration represented by this proxy, never null.
*/
- @objid ("0eb4dd05-9f07-498b-b0ca-51619007e078")
+ @objid ("bb59d25c-4ba1-4023-96fb-9b1e4103f453")
@Override
public Enumeration getElement() {
return (Enumeration)super.getElement();
}
- @objid ("d9735f27-da0c-414f-9dcd-3102daf5597f")
+ @objid ("3bc338d5-bbf2-4f66-9e7f-669edd752086")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("e8a70c8e-3319-4921-8c82-eca4cf9e3b59")
+ @objid ("509f1782-b11e-4205-9a47-218d33d591d5")
protected FeatureEnumeration(final Enumeration elt) {
super(elt);
}
@objid ("a269a5b3-0221-4ddb-b9f7-b45550b3f049")
public static final class MdaTypes {
- @objid ("5d635659-839c-4f6a-a924-03799e79c9be")
+ @objid ("2ef8fdae-4728-4b70-adb3-7e44c2bd7b67")
public static Stereotype STEREOTYPE_ELT;
- @objid ("0bd3854c-697f-46f9-8b1f-e3c40bdb520f")
+ @objid ("7bcd19aa-81fc-443a-acff-b2d420f40d82")
private static Stereotype MDAASSOCDEP;
- @objid ("743ff7bc-8e92-48b7-b878-bc3e234f9a33")
+ @objid ("cb3bb2c5-cbd7-4687-b37f-fda32dda2f79")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("7ab21a95-f384-4964-b919-a89f2d5b289e")
+ @objid ("61e04975-6b26-4890-969f-bb3d75d34748")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "56eb7780-c162-400f-8e4b-0a5178cef153");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -149,11 +146,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/instance/FeatureInstance.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/instance/FeatureInstance.java
index 32116231..5fb8423f 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/instance/FeatureInstance.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/instance/FeatureInstance.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.instance;
@@ -36,7 +36,7 @@
*/
@objid ("026725c7-06a7-48a0-9a82-211b4a69fe6e")
public class FeatureInstance extends Feature {
- @objid ("b0527527-13cc-4c06-bbcb-ead432831465")
+ @objid ("e0d656d8-2555-4c17-9d2e-48dcceae21f4")
public static final String STEREOTYPE_NAME = "Feature_Instance";
/**
@@ -47,7 +47,7 @@ public class FeatureInstance extends Feature {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link FeatureInstance} proxy or null.
*/
- @objid ("16112938-8bee-404e-9715-9ca746ee5f7d")
+ @objid ("fdec6d62-b2d2-4fa1-b1ae-58dd91700b20")
public static FeatureInstance instantiate(final Instance obj) {
return FeatureInstance.canInstantiate(obj) ? new FeatureInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link FeatureInstance} proxy from a {@link Instance} stereotyped << Feature_Instance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureInstance} proxy from a {@link Instance} stereotyped << Feature_Instance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link FeatureInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("8899a22d-e276-4f4b-a6d7-276334a53188")
+ @objid ("3549f71f-6529-4fa0-8d34-3070de0f880f")
public static FeatureInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (FeatureInstance.canInstantiate(obj))
- return new FeatureInstance(obj);
+ return new FeatureInstance(obj);
else
- throw new IllegalArgumentException("FeatureInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeatureInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("6d95bcd9-1604-430e-829c-2768a1e7841d")
+ @objid ("22ce77d9-1f60-460b-959e-e3e712f5ab4b")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("57bd4f2b-47e0-450e-b121-8264eda5d7c6")
+ @objid ("191ec980-0577-41ee-9b9f-d55684e68a2d")
@Override
public Instance getElement() {
return (Instance)super.getElement();
}
- @objid ("b39b958e-aa5f-4c6a-a456-5c8e01694d06")
+ @objid ("442482f4-7d10-46f3-9de6-1c077cf94426")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Package
* @return a {@link CamelModel} proxy or null.
*/
- @objid ("cce569aa-bc45-4f47-94fb-ba74749bead9")
+ @objid ("58e60ab4-f34a-4ec4-9c28-072dd1f33fb1")
public static CamelModel instantiate(final Package obj) {
return CamelModel.canInstantiate(obj) ? new CamelModel(obj) : null;
}
/**
- * Tries to instantiate a {@link CamelModel} proxy from a {@link Package} stereotyped << CamelModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelModel} proxy from a {@link Package} stereotyped << CamelModel >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Package}
* @return a {@link CamelModel} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("e6a53a18-89d8-4922-9870-3fca10bd274f")
+ @objid ("56338ba1-b6db-4d2b-828e-e551ebf3bd9e")
public static CamelModel safeInstantiate(final Package obj) throws IllegalArgumentException {
if (CamelModel.canInstantiate(obj))
- return new CamelModel(obj);
+ return new CamelModel(obj);
else
- throw new IllegalArgumentException("CamelModel: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("CamelModel: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'dataModels' role.
* Role description:
* null
+ *
*/
- @objid ("5c32958d-777e-499e-86ac-d1a898b6bfd2")
+ @objid ("794f4fd6-a1d5-4c51-a68b-157c1489f8b2")
public void addDataModels(final DataModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -134,8 +133,9 @@ public void addDataModels(final DataModel obj) {
* Add a value to the 'deploymentModels' role.
* Role description:
* null
+ *
*/
- @objid ("47a3a746-9edd-4d61-b669-8035b5eecadd")
+ @objid ("46eaf10c-ec91-4a65-8cfb-e3fca6aac0fd")
public void addDeploymentModels(final DeploymentModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -145,8 +145,9 @@ public void addDeploymentModels(final DeploymentModel obj) {
* Add a value to the 'executionModels' role.
* Role description:
* null
+ *
*/
- @objid ("8e901e54-ee3f-41db-b9f1-f363ca7c6bea")
+ @objid ("16007382-c157-4719-aa76-6f44ff557841")
public void addExecutionModels(final ExecutionModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -156,8 +157,9 @@ public void addExecutionModels(final ExecutionModel obj) {
* Add a value to the 'locationModels' role.
* Role description:
* null
+ *
*/
- @objid ("868abbde-75f3-4e5d-b36f-b647f85b09c6")
+ @objid ("b8c2e985-d952-45ab-bc79-e9a5336b7ac7")
public void addLocationModels(final LocationModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -167,8 +169,9 @@ public void addLocationModels(final LocationModel obj) {
* Add a value to the 'metaDataModels' role.
* Role description:
* null
+ *
*/
- @objid ("56c38fa7-85ed-440c-9109-0e90cbb0fe4b")
+ @objid ("c410814f-0edf-4a0b-86ff-db75b4edb70c")
public void addMetaDataModels(final MetaDataModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -178,8 +181,9 @@ public void addMetaDataModels(final MetaDataModel obj) {
* Add a value to the 'metricModels' role.
* Role description:
* null
+ *
*/
- @objid ("fb508562-8409-41b0-9ad8-e571ae7aee22")
+ @objid ("56d929ae-170f-4eed-9290-8df38d7c100b")
public void addMetricModels(final MetricModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -189,8 +193,9 @@ public void addMetricModels(final MetricModel obj) {
* Add a value to the 'organisationModels' role.
* Role description:
* null
+ *
*/
- @objid ("c5523b84-3c2b-4efd-8762-f9f7e1788881")
+ @objid ("dc9fe35c-9ffb-430d-b161-dc961809bb99")
public void addOrganisationModels(final OrganisationModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -200,8 +205,9 @@ public void addOrganisationModels(final OrganisationModel obj) {
* Add a value to the 'requirementModels' role.
* Role description:
* null
+ *
*/
- @objid ("fb286dd5-515f-4aca-9291-2706a5c4153c")
+ @objid ("698fbc58-3d0c-4e32-839a-0bd845a7a5f5")
public void addRequirementModels(final RequirementModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -211,8 +217,9 @@ public void addRequirementModels(final RequirementModel obj) {
* Add a value to the 'scalabilityModels' role.
* Role description:
* null
+ *
*/
- @objid ("90635690-3448-4424-9e5a-57637e1aff3e")
+ @objid ("57390f06-1803-4e78-b400-9ff2a79c1d1a")
public void addScalabilityModels(final ScalabilityModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -222,8 +229,9 @@ public void addScalabilityModels(final ScalabilityModel obj) {
* Add a value to the 'securityModels' role.
* Role description:
* null
+ *
*/
- @objid ("b9cacf3a-0d1e-4336-bc54-769bad7767f4")
+ @objid ("dddc7450-6a87-4a26-8fb6-9616a2ae9ea2")
public void addSecurityModels(final SecurityModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -233,8 +241,9 @@ public void addSecurityModels(final SecurityModel obj) {
* Add a value to the 'typeModels' role.
* Role description:
* null
+ *
*/
- @objid ("4b77e942-3f61-465f-b485-88d2dfa4a6e5")
+ @objid ("330cee9d-a8e5-4259-9c86-895d5402298c")
public void addTypeModels(final TypeModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -244,14 +253,15 @@ public void addTypeModels(final TypeModel obj) {
* Add a value to the 'unitModels' role.
* Role description:
* null
+ *
*/
- @objid ("0a5e3fe3-648a-41b3-b45a-e63265d61b55")
+ @objid ("d760a823-30ad-4ef6-8095-95a62a78a3ad")
public void addUnitModels(final UnitModel obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
}
- @objid ("43226470-8371-4daf-8826-44128e5daa2f")
+ @objid ("25638c10-3aa6-4e2e-9c2d-01764ed94d42")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -272,7 +282,7 @@ public boolean equals(final Object obj) {
* Property description:
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("ab6eef72-7c75-441a-96d2-e138b7efedd2")
+ @objid ("bf2d0609-3319-408e-8e8f-53303409acb6")
public List
* Role description:
* null
+ *
*/
- @objid ("019e05d9-1a45-458f-9d9a-65a336d8a21b")
+ @objid ("25574f2b-607e-4a69-8259-b8ae2ffa320b")
public List
* Role description:
* null
+ *
*/
- @objid ("c72e4e71-5e5f-4788-92a3-a02616bd70df")
+ @objid ("f8a034e0-7a02-4cab-a3ed-5d2edf9cce94")
public List
* Role description:
* null
+ *
*/
- @objid ("f2ee4f76-08b6-4dba-86da-62c03234dd6a")
+ @objid ("0734b4b5-1fff-448e-9bf9-40f8791575cf")
public List
* Role description:
* null
+ *
*/
- @objid ("d64b8eeb-29b5-4505-82f6-5487db20cca1")
+ @objid ("1a161c22-c30c-43fe-8347-eae708d7d4dc")
public List
* Role description:
* null
+ *
*/
- @objid ("28086c75-a5c2-440d-b71b-6ee9170ac7f0")
+ @objid ("df996def-fffd-456a-9941-0d494f203170")
public List
* Role description:
* null
+ *
*/
- @objid ("042c16d1-0e79-4c1f-a165-35caf8e9bc18")
+ @objid ("2e9c20d0-c7d3-437c-bcd1-611703d16901")
public List
* Role description:
* null
+ *
*/
- @objid ("823268aa-9d63-44a8-be12-7a735379fdf7")
+ @objid ("ba728418-ea2c-4309-b95f-d5129e03d2d1")
public List
* Role description:
* null
+ *
*/
- @objid ("8bea238c-9f13-42c4-a60c-352e8fe2e6f8")
+ @objid ("5392d708-5feb-40c4-8f1d-34d1b0b2ab43")
public List
* Role description:
* null
+ *
*/
- @objid ("0c1bf383-c4e4-4497-a9cb-a9658d84f980")
+ @objid ("a288f015-ca47-4945-abe2-d36509f63c47")
public List
* Role description:
* null
+ *
*/
- @objid ("fd6fb6d4-330f-4355-800f-6c392a8b9cc5")
+ @objid ("91418030-c563-41c1-8caf-ec118be3774a")
public List
* Role description:
* null
+ *
*/
- @objid ("8d1b6d6d-b38f-4322-8066-01b963ed3f9d")
+ @objid ("4bc517fd-5b9e-40df-a342-a5f73aa93ab4")
public List
* Role description:
* null
+ *
*/
- @objid ("2032b026-db48-4e23-814c-ddce253d5a47")
+ @objid ("4c5d1f3e-2010-4b75-9016-5936e26cadee")
public boolean removeDataModels(final DataModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -504,8 +526,9 @@ public boolean removeDataModels(final DataModel obj) {
* Remove a value from the 'deploymentModels' role.
* Role description:
* null
+ *
*/
- @objid ("6dad6ffb-4a7a-4842-9ec2-8515523837c4")
+ @objid ("4c0bce36-8735-49bd-a9d2-f32111376ef8")
public boolean removeDeploymentModels(final DeploymentModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -514,8 +537,9 @@ public boolean removeDeploymentModels(final DeploymentModel obj) {
* Remove a value from the 'executionModels' role.
* Role description:
* null
+ *
*/
- @objid ("ded9eaf5-292c-4326-b483-e8184222918d")
+ @objid ("3cdee868-a430-4bfa-ae57-4c1bb2a65550")
public boolean removeExecutionModels(final ExecutionModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -524,8 +548,9 @@ public boolean removeExecutionModels(final ExecutionModel obj) {
* Remove a value from the 'locationModels' role.
* Role description:
* null
+ *
*/
- @objid ("2faa03d3-1167-4481-84b7-50334c7fafeb")
+ @objid ("1dd94ef6-da55-4617-8980-90a6e11b737c")
public boolean removeLocationModels(final LocationModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -534,8 +559,9 @@ public boolean removeLocationModels(final LocationModel obj) {
* Remove a value from the 'metaDataModels' role.
* Role description:
* null
+ *
*/
- @objid ("7104e3f1-2395-4216-bd41-335cb9372f96")
+ @objid ("a561aed1-5c6e-4ea1-ad5f-10c976bc7725")
public boolean removeMetaDataModels(final MetaDataModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -544,8 +570,9 @@ public boolean removeMetaDataModels(final MetaDataModel obj) {
* Remove a value from the 'metricModels' role.
* Role description:
* null
+ *
*/
- @objid ("5b803069-1657-4076-afe9-032011f59ac2")
+ @objid ("fcfeb6dd-9777-4c7a-a17c-83a179f3e645")
public boolean removeMetricModels(final MetricModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -554,8 +581,9 @@ public boolean removeMetricModels(final MetricModel obj) {
* Remove a value from the 'organisationModels' role.
* Role description:
* null
+ *
*/
- @objid ("49d5f31a-b096-4d48-ad7f-b5942b19a580")
+ @objid ("10550734-926c-4b2b-ae6f-06655baac95e")
public boolean removeOrganisationModels(final OrganisationModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -564,8 +592,9 @@ public boolean removeOrganisationModels(final OrganisationModel obj) {
* Remove a value from the 'requirementModels' role.
* Role description:
* null
+ *
*/
- @objid ("8432f39f-b493-410e-a647-dd25ac981bc6")
+ @objid ("586a708e-e38f-4aa6-876e-1d6d684f3ffe")
public boolean removeRequirementModels(final RequirementModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -574,8 +603,9 @@ public boolean removeRequirementModels(final RequirementModel obj) {
* Remove a value from the 'scalabilityModels' role.
* Role description:
* null
+ *
*/
- @objid ("0a5fddad-22e1-4a17-ba94-2ea05eee6a88")
+ @objid ("c6f044c6-3393-4ad1-81f2-e6afc3cdddd8")
public boolean removeScalabilityModels(final ScalabilityModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -584,8 +614,9 @@ public boolean removeScalabilityModels(final ScalabilityModel obj) {
* Remove a value from the 'securityModels' role.
* Role description:
* null
+ *
*/
- @objid ("6e93c669-fcae-4abf-a847-a180ddfd325c")
+ @objid ("a43ae54c-34f6-4f80-a42c-9c8a1d6a974c")
public boolean removeSecurityModels(final SecurityModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -594,8 +625,9 @@ public boolean removeSecurityModels(final SecurityModel obj) {
* Remove a value from the 'typeModels' role.
* Role description:
* null
+ *
*/
- @objid ("a22804b4-65f4-41a6-8732-5f367a93f9de")
+ @objid ("d8204252-0b78-4550-a857-e2b0fb60ee0d")
public boolean removeTypeModels(final TypeModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -604,8 +636,9 @@ public boolean removeTypeModels(final TypeModel obj) {
* Remove a value from the 'unitModels' role.
* Role description:
* null
+ *
*/
- @objid ("1f65f4d8-e85b-4b9c-9f7f-db133db72cc3")
+ @objid ("1854ee33-fc3a-44b8-a8aa-f228383cc9e8")
public boolean removeUnitModels(final UnitModel obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -615,7 +648,7 @@ public boolean removeUnitModels(final UnitModel obj) {
* Property description:
* Property description:
*
* The method returns
* Role description:
* null
+ *
*/
- @objid ("9179b585-ece5-448d-b02d-90638eb071ed")
+ @objid ("1156b729-fe02-4c83-94ee-58215d982775")
public void addAttributes(final AttributeClass obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -81,14 +89,15 @@ public void addAttributes(final AttributeClass obj) {
* Add a value to the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("e494372d-3ea0-46cf-b031-c52864dc1627")
+ @objid ("de19bfd5-6c4c-420b-9cc6-265d780b7389")
public void addSubFeatures(final FeaturePackage obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
}
- @objid ("c5a1cc7a-8f85-4a42-bcc3-f9870897922e")
+ @objid ("64e29e53-493a-4226-8c46-0c3f4e2d91e4")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -108,31 +117,31 @@ public boolean equals(final Object obj) {
* Get the values of the 'attributes' role.
* Role description:
* null
+ *
*/
- @objid ("a26238eb-cda3-42c8-a55e-2da50cb8f62d")
+ @objid ("6c63b35c-a586-4a7d-a04c-943ae464de18")
public List
* Role description:
* null
+ *
*/
- @objid ("0047bc85-676d-458e-9ff6-5563d691d5ec")
+ @objid ("fe9df3d1-85f1-4bf6-aa1e-6e8f9443db48")
public FeaturePackage getParent() {
return (FeaturePackage)CamelDesignerProxyFactory.instantiate(((Package) this.elt).getOwner(), FeaturePackage.STEREOTYPE_NAME);
}
@@ -152,56 +162,49 @@ public FeaturePackage getParent() {
* Get the values of the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("a9197534-8f0c-47be-b0d8-feac0b135f2b")
+ @objid ("ac8eb06d-383d-43b0-82c9-d0d669a6faf5")
public List
* Role description:
* null
+ *
*/
- @objid ("854ff6ee-1091-4771-8275-6faf62d02523")
+ @objid ("e4cac05b-bdc0-4054-918d-6c387e566a47")
public boolean removeAttributes(final AttributeClass obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -221,8 +225,9 @@ public boolean removeAttributes(final AttributeClass obj) {
* Remove a value from the 'subFeatures' role.
* Role description:
* null
+ *
*/
- @objid ("ee59f5f8-c615-4b12-b5cb-c7fc81f1d210")
+ @objid ("d9a3638a-5942-47a7-b8da-aadb41c22b7a")
public boolean removeSubFeatures(final FeaturePackage obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -231,29 +236,30 @@ public boolean removeSubFeatures(final FeaturePackage obj) {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("8a8c9649-328a-41d3-a751-e6adf61941a6")
+ @objid ("9a2be274-afc9-429a-b70c-c5c9e2f7fe3e")
public void setParent(final FeaturePackage obj) {
((Package) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
- @objid ("f6f9f595-709f-47f7-8775-da8b7ab92912")
+ @objid ("b1120265-f347-45ec-93cc-b8fcfd1a3fdb")
protected FeaturePackage(final Package elt) {
super(elt);
}
@objid ("21c2bdec-ab84-4154-b5ff-90933f016c05")
public static final class MdaTypes {
- @objid ("be0d5115-bdc2-4a4a-a3b5-21b1012a80a9")
+ @objid ("07befc9b-4c89-4582-bccd-ddd9aecb05c9")
public static Stereotype STEREOTYPE_ELT;
- @objid ("95c8b301-50f1-4925-ad34-bbafa0c1372f")
+ @objid ("0a873c2c-9e83-4c65-b7c4-e884ac28586a")
private static Stereotype MDAASSOCDEP;
- @objid ("8e7d9b52-005b-4515-9376-9c08b23e83f5")
+ @objid ("d62f7d5b-8957-4e15-a8ed-1996f7efecb0")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("f3c5f621-9b0c-4686-9667-254bf942e641")
+ @objid ("5441794d-36ca-4f84-ae04-ccc258d12fe5")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "9a524454-5126-4778-9cec-5eae95e4f160");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -261,11 +267,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/SubModel.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/SubModel.java
index bde3e743..a1d1a08c 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/SubModel.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/SubModel.java
@@ -1,21 +1,17 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.package_;
import java.util.ArrayList;
-import java.util.List;
+import java.util.Collections;
+import java.util.Objects;
import com.modeliosoft.modelio.javadesigner.annotations.objid;
-import org.modelio.api.module.context.IModuleContext;
-import org.modelio.metamodel.uml.infrastructure.Stereotype;
-import org.modelio.metamodel.uml.infrastructure.TagType;
-import org.modelio.metamodel.uml.statik.Package;
-import org.modelio.vcore.smkernel.mapi.MObject;
+import fr.softeam.cameldesigner.api.CamelDesignerProxyFactory;
import fr.softeam.cameldesigner.api.ICamelDesignerPeerModule;
-import fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement.CamelElement;
import fr.softeam.cameldesigner.api.constraintmodel.standard.package_.ConstraintModel;
import fr.softeam.cameldesigner.api.datamodel.standard.package_.DataModel;
import fr.softeam.cameldesigner.api.deploymentmodel.standard.package_.DeploymentModel;
@@ -30,6 +26,18 @@
import fr.softeam.cameldesigner.api.typemodel.standard.package_.TypeModel;
import fr.softeam.cameldesigner.api.unitmodel.standard.package_.UnitModel;
import fr.softeam.cameldesigner.impl.CamelDesignerModule;
+import org.modelio.api.modelio.model.IModelingSession;
+import org.modelio.api.modelio.model.PropertyConverter;
+import org.modelio.api.module.context.IModuleContext;
+import org.modelio.metamodel.mmextensions.infrastructure.ExtensionNotFoundException;
+import org.modelio.metamodel.uml.infrastructure.Dependency;
+import org.modelio.metamodel.uml.infrastructure.ModelElement;
+import org.modelio.metamodel.uml.infrastructure.Stereotype;
+import org.modelio.metamodel.uml.infrastructure.TagType;
+import org.modelio.metamodel.uml.infrastructure.properties.PropertyDefinition;
+import org.modelio.metamodel.uml.infrastructure.properties.PropertyTableDefinition;
+import org.modelio.metamodel.uml.statik.Package;
+import org.modelio.vcore.smkernel.mapi.MObject;
/**
* Proxy class to handle a {@link Package} with << SubModel >> stereotype.
@@ -38,18 +46,18 @@
*/
@objid ("f07e87ba-586c-403f-a02b-a1871d8d3882")
public abstract class SubModel extends FeaturePackage {
- @objid ("4aa6217c-3bbc-4f14-80e1-0216e52a885a")
+ @objid ("ed70d567-b9dc-4ab1-a78a-fd0fcfeed810")
public static final String STEREOTYPE_NAME = "SubModel";
/**
* Tells whether a {@link SubModel proxy} can be instantiated from a {@link MObject} checking it is a {@link Package} stereotyped << SubModel >>.
*
* The method returns
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Port
* @return a {@link FeaturePort} proxy or null.
*/
- @objid ("c466011c-4f3f-4d56-a7d9-9a0656e7afc8")
+ @objid ("c1eea209-e1d2-4511-a1af-d84d6aff53de")
public static FeaturePort instantiate(final Port obj) {
return FeaturePort.canInstantiate(obj) ? new FeaturePort(obj) : null;
}
/**
- * Tries to instantiate a {@link FeaturePort} proxy from a {@link Port} stereotyped << Feature_Port >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeaturePort} proxy from a {@link Port} stereotyped << Feature_Port >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Port}
* @return a {@link FeaturePort} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("2b324aee-b54b-45c6-9baa-bc6091d0ded6")
+ @objid ("0cabf9f7-6e64-42bf-84bd-5701aae3b507")
public static FeaturePort safeInstantiate(final Port obj) throws IllegalArgumentException {
if (FeaturePort.canInstantiate(obj))
- return new FeaturePort(obj);
+ return new FeaturePort(obj);
else
- throw new IllegalArgumentException("FeaturePort: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("FeaturePort: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("09c5b3ea-a46b-42ad-a941-fb7cb5dfc649")
+ @objid ("ecb5d057-aa85-42c2-ae74-0febf65cec18")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,39 +107,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Port}.
- *
+ * Get the underlying {@link Port}.
* @return the Port represented by this proxy, never null.
*/
- @objid ("f191312b-23a4-4494-ac0e-ac1cc1a8e6ce")
+ @objid ("7f514945-012e-474b-b2ef-48c6cc4052cb")
@Override
public Port getElement() {
return (Port)super.getElement();
}
- @objid ("ba95109b-493a-4f1c-9889-d7c80e92a87a")
+ @objid ("b706ce36-95ba-42ef-a0e1-30312a29ab35")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("140cc3c3-0dc0-4285-80c4-e8ad541af5c0")
+ @objid ("0bba243d-2769-4238-82d1-15b8e94023cf")
protected FeaturePort(final Port elt) {
super(elt);
}
@objid ("a8d9e562-ebce-4b04-a8f8-b81512ba3fd4")
public static final class MdaTypes {
- @objid ("34585ddb-be93-4bbb-a836-f29626171f54")
+ @objid ("f863a206-4fb1-441d-9627-6adc43411a32")
public static Stereotype STEREOTYPE_ELT;
- @objid ("055352fc-90df-44aa-9a68-0c5cdf3de368")
+ @objid ("a1d6682c-6215-4a1c-8020-08ad50a1207e")
private static Stereotype MDAASSOCDEP;
- @objid ("88d042e4-4c69-4f18-9312-cec508310041")
+ @objid ("3f00ac46-3297-43ff-b960-7f4a4e2a2361")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("50c4358b-79c9-468d-a531-7fc4ff74081e")
+ @objid ("98887fa0-6938-448b-a399-6c327d8861c1")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "18d0504c-73e0-4c7c-8341-53038298af2c");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -149,11 +146,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/infrastructure/abstractdiagram/AbstractCamelDiagram.java b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/infrastructure/abstractdiagram/AbstractCamelDiagram.java
index 0a18d8b9..2a2e7d06 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/infrastructure/abstractdiagram/AbstractCamelDiagram.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/infrastructure/abstractdiagram/AbstractCamelDiagram.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.cameldiagrams.infrastructure.abstractdiagram;
@@ -34,7 +34,7 @@
*/
@objid ("6bdaebda-7701-4743-a8e3-51e9d10ac891")
public abstract class AbstractCamelDiagram extends ExpendableElement {
- @objid ("751764ba-30fc-4573-ac80-0559a08df946")
+ @objid ("0b0539d3-6de4-44b1-a041-22049d15c5fb")
public static final String STEREOTYPE_NAME = "AbstractCamelDiagram";
/**
@@ -45,12 +45,12 @@ public abstract class AbstractCamelDiagram extends ExpendableElement {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link CamelModelDiagram} proxy or null.
*/
- @objid ("c3358747-683c-42e8-8515-ccc3740f6203")
+ @objid ("24ce7c8f-7acb-4060-bcd5-8084dc8328c4")
public static CamelModelDiagram instantiate(final ClassDiagram obj) {
return CamelModelDiagram.canInstantiate(obj) ? new CamelModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link CamelModelDiagram} proxy from a {@link ClassDiagram} stereotyped << CamelModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelModelDiagram} proxy from a {@link ClassDiagram} stereotyped << CamelModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link CamelModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("7f03ed57-850a-41d7-8a0a-62671b027c92")
+ @objid ("e5209472-b0ac-4610-9b3b-bd4536f88cb5")
public static CamelModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (CamelModelDiagram.canInstantiate(obj))
- return new CamelModelDiagram(obj);
+ return new CamelModelDiagram(obj);
else
- throw new IllegalArgumentException("CamelModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("CamelModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("0de5bad1-cee4-4a16-b314-e0e69fa19bc2")
+ @objid ("87cf292c-0463-4853-bb8e-58f413bf176b")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("52d84c27-42a8-4454-9f58-511421509993")
+ @objid ("ad5f2988-ed9c-49e7-885c-3ce165f9d539")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("bb1414c2-04de-4790-84fc-1ea40542e9ea")
+ @objid ("b3c4a75a-0658-4ba8-949b-6ddd39659119")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link CamelViewPoint} proxy or null.
*/
- @objid ("dbb5c345-40b0-485f-9cdd-d2f871200f6f")
+ @objid ("fff4db0c-ec9f-441d-b901-a9f4604b5a88")
public static CamelViewPoint instantiate(final ClassDiagram obj) {
return CamelViewPoint.canInstantiate(obj) ? new CamelViewPoint(obj) : null;
}
/**
- * Tries to instantiate a {@link CamelViewPoint} proxy from a {@link ClassDiagram} stereotyped << CamelViewPoint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelViewPoint} proxy from a {@link ClassDiagram} stereotyped << CamelViewPoint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link CamelViewPoint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("e6ec73a0-94ec-4830-823b-0c4575bc42e9")
+ @objid ("7d7fe8dd-572d-4ca3-be75-435b4e08b872")
public static CamelViewPoint safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (CamelViewPoint.canInstantiate(obj))
- return new CamelViewPoint(obj);
+ return new CamelViewPoint(obj);
else
- throw new IllegalArgumentException("CamelViewPoint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("CamelViewPoint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("610e7182-5c5d-49fc-8880-8efc7e215625")
+ @objid ("7f39697e-03f9-4361-9a74-8dafd29119a1")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -114,38 +112,37 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("2b8bb62b-0025-4cb6-a707-8e1736946885")
+ @objid ("2f0e31b6-ea8e-4d59-99bb-1a182220ba23")
public ClassDiagram getElement() {
return this.elt;
}
- @objid ("c770def0-2255-46f5-90f4-e69582b056a2")
+ @objid ("52105baa-8434-48d5-9645-9539f528eb63")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("4bdb0854-4b58-4408-b0ad-650aabb95693")
+ @objid ("d570bb61-dd7a-475e-9052-d47e03fd1b70")
protected CamelViewPoint(final ClassDiagram elt) {
this.elt = elt;
}
@objid ("b97bab2c-d812-455d-9d9d-74777baddf53")
public static final class MdaTypes {
- @objid ("51ee7bda-7ea0-4ff9-bf0d-60a41ceec2f2")
+ @objid ("0e871006-ceed-4a64-9dea-db1c294f3559")
public static Stereotype STEREOTYPE_ELT;
- @objid ("9310e9d2-3715-45cf-aedf-f60c24bb8470")
+ @objid ("d8f997d8-4d29-4474-b33a-dfbde85b5227")
private static Stereotype MDAASSOCDEP;
- @objid ("941143aa-a42c-445d-a73c-21c11d8019c3")
+ @objid ("ed291755-1751-44a8-aa84-fe2747440370")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("928b65a1-4da4-48dc-928b-ecb9518ae768")
+ @objid ("2adae500-f128-492f-a621-f4c84ccb2872")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "e46b07f3-2bf2-48c1-8218-3a31ce9fa75d");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -153,11 +150,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/ConstraintModelDiagram.java b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/ConstraintModelDiagram.java
index aa0025d6..ac7179cb 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/ConstraintModelDiagram.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/ConstraintModelDiagram.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.cameldiagrams.standard.classdiagram;
@@ -36,7 +36,7 @@
*/
@objid ("73ef4e61-0be5-40e6-8c65-2c42095a3cd4")
public class ConstraintModelDiagram extends AbstractCamelDiagram {
- @objid ("b675dd21-78b2-41c3-a884-09ab1659aaab")
+ @objid ("9ba8b1a3-40d6-444e-843e-d5c446876207")
public static final String STEREOTYPE_NAME = "ConstraintModelDiagram";
/**
@@ -47,7 +47,7 @@ public class ConstraintModelDiagram extends AbstractCamelDiagram {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link ConstraintModelDiagram} proxy or null.
*/
- @objid ("606a6c6b-7804-4c13-988a-25c64fcb6ba5")
+ @objid ("8a2c61a2-bb8f-424e-8fec-2dfb3d32640e")
public static ConstraintModelDiagram instantiate(final ClassDiagram obj) {
return ConstraintModelDiagram.canInstantiate(obj) ? new ConstraintModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link ConstraintModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ConstraintModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ConstraintModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ConstraintModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link ConstraintModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("8dd2e269-8151-44d8-a0bc-544490ece589")
+ @objid ("7977573b-48e8-4420-9705-1582b40aae62")
public static ConstraintModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (ConstraintModelDiagram.canInstantiate(obj))
- return new ConstraintModelDiagram(obj);
+ return new ConstraintModelDiagram(obj);
else
- throw new IllegalArgumentException("ConstraintModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ConstraintModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("99826dff-a639-402d-b2e1-12e1c5bd40a6")
+ @objid ("9b55bd55-4e35-48d7-9bbe-b8406c4c9ee7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("b633a224-2fb9-4956-865a-11f84d19136e")
+ @objid ("addb9757-f31d-460e-bbef-9c4c1e346810")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("4831ae2d-72fc-474d-8101-18e3b4fd4b28")
+ @objid ("5f9fbc12-0fef-48e7-b73e-bcf7aee931b7")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link DataInstanceModelDiagram} proxy or null.
*/
- @objid ("7dae4c8a-89aa-470c-a5fc-afab7dfec3e7")
+ @objid ("db4a71b1-b094-4975-afbb-286a1e3795b7")
public static DataInstanceModelDiagram instantiate(final ClassDiagram obj) {
return DataInstanceModelDiagram.canInstantiate(obj) ? new DataInstanceModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link DataInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataInstanceModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link DataInstanceModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("2406eb17-f0a8-4d3f-b43f-105254e66934")
+ @objid ("6434a89f-6b93-4868-8838-4eb4d5f1bfdb")
public static DataInstanceModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (DataInstanceModelDiagram.canInstantiate(obj))
- return new DataInstanceModelDiagram(obj);
+ return new DataInstanceModelDiagram(obj);
else
- throw new IllegalArgumentException("DataInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("280bfb9d-7b74-43d7-985c-7213d7267cc5")
+ @objid ("ff819468-aab5-434f-bbe0-4ece82233673")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,39 +107,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("f0e9c372-95bf-4e8c-b403-a52f47a409d2")
+ @objid ("5d65cdb3-846f-49ea-a8f8-7ce3ef3d42c1")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("ba095bb3-5589-48f8-adea-dd712beaefc6")
+ @objid ("9c457e27-2e96-4fa5-9c58-3cabc5b03d02")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("9078be55-5d9b-4f46-9445-131e715018a3")
+ @objid ("bc4daff0-cec8-4018-afef-16a9b9c928b1")
protected DataInstanceModelDiagram(final ClassDiagram elt) {
super(elt);
}
@objid ("fe41e622-b57a-48fd-aa9b-ded14e5c5266")
public static final class MdaTypes {
- @objid ("43c360fa-b43d-40e7-8141-3da8dbe7eb06")
+ @objid ("cb206d45-9ba6-4eec-921a-53cd00120bca")
public static Stereotype STEREOTYPE_ELT;
- @objid ("10b4e9eb-b352-42fb-bc74-9c073f32fced")
+ @objid ("2d976204-8124-4e73-acd3-cf48892c4c26")
private static Stereotype MDAASSOCDEP;
- @objid ("36cb2942-1f54-48f5-9ce6-e31697e32e26")
+ @objid ("a794f88a-f3fc-4f76-a089-113f8e94f59a")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("80493176-e907-4d0a-af02-9cb853018f68")
+ @objid ("36845495-cd32-43ad-b0d4-4ccaaa2003a2")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "8ab145ba-4bc6-410d-be7a-b17e36147115");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -149,11 +146,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DataTypeModelDiagram.java b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DataTypeModelDiagram.java
index fc21c385..3d16c2f6 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DataTypeModelDiagram.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DataTypeModelDiagram.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.cameldiagrams.standard.classdiagram;
@@ -36,7 +36,7 @@
*/
@objid ("05f54bfd-dbfd-4864-835a-f9d72e6569b8")
public class DataTypeModelDiagram extends AbstractCamelDiagram {
- @objid ("2d824038-036a-415c-a210-442714872ba8")
+ @objid ("bd6c154a-df9d-4c6e-b543-ee045618b8f3")
public static final String STEREOTYPE_NAME = "DataTypeModelDiagram";
/**
@@ -47,7 +47,7 @@ public class DataTypeModelDiagram extends AbstractCamelDiagram {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link DataTypeModelDiagram} proxy or null.
*/
- @objid ("107202cb-0b40-4be4-bfe5-c25a0e5e8f42")
+ @objid ("065d4dae-867b-46b2-93ef-eabc46fe492b")
public static DataTypeModelDiagram instantiate(final ClassDiagram obj) {
return DataTypeModelDiagram.canInstantiate(obj) ? new DataTypeModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link DataTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataTypeModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link DataTypeModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("9514f182-1ec3-49a4-b3e6-cfb7943703bc")
+ @objid ("a3277080-35dd-43eb-b680-b695e6c217bc")
public static DataTypeModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (DataTypeModelDiagram.canInstantiate(obj))
- return new DataTypeModelDiagram(obj);
+ return new DataTypeModelDiagram(obj);
else
- throw new IllegalArgumentException("DataTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("0c271205-617c-4538-9f32-d4a731c36cd0")
+ @objid ("1561faea-6a93-4dcc-a85d-ce1799fc42ce")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("31394ce2-e39f-4d96-afc5-e710cecdf257")
+ @objid ("ddcfdefc-f9a0-4619-9387-b40643ada889")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("def64e2b-70cc-4b84-9838-3e31f459b5a9")
+ @objid ("79364f64-77b9-4b10-a341-65ebf37a613a")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link DeploymentInstanceModelDiagram} proxy or null.
*/
- @objid ("65612f03-5666-4041-bedd-e016da2c8d1e")
+ @objid ("2bfb4c55-e5b9-4b78-baf0-dfc6c58aff79")
public static DeploymentInstanceModelDiagram instantiate(final ClassDiagram obj) {
return DeploymentInstanceModelDiagram.canInstantiate(obj) ? new DeploymentInstanceModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link DeploymentInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentInstanceModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link DeploymentInstanceModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("abb8eb01-e292-4b70-b947-6c691bde3ecb")
+ @objid ("85ff34b5-08c6-4252-883b-2e3af24df06a")
public static DeploymentInstanceModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (DeploymentInstanceModelDiagram.canInstantiate(obj))
- return new DeploymentInstanceModelDiagram(obj);
+ return new DeploymentInstanceModelDiagram(obj);
else
- throw new IllegalArgumentException("DeploymentInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DeploymentInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("6b698152-3dc3-4553-beb2-fc1909e4f39e")
+ @objid ("8ee303ed-9374-4735-b251-2a840dec6cf7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -109,39 +107,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("69f4ac27-21c6-457c-ad38-78c7bb31097f")
+ @objid ("c700735e-ea2e-4ceb-8928-bfc1bee7cbd8")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("98ea5240-5d4a-4256-b6c2-922d6d1fbdd9")
+ @objid ("89e8aa8c-ed5c-44ff-90ea-cc23c99102b6")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("c2d2178d-608e-4f6d-bd80-81d8d0460b69")
+ @objid ("14b8eacd-7daf-41b6-9508-06859068e779")
protected DeploymentInstanceModelDiagram(final ClassDiagram elt) {
super(elt);
}
@objid ("72b3d4f2-38d1-4f0c-84c4-d4774033c64c")
public static final class MdaTypes {
- @objid ("01787945-2c00-4e14-bb6e-0dab69a1322d")
+ @objid ("b2935cd2-f8de-4b94-8d2e-0b1766fa07fb")
public static Stereotype STEREOTYPE_ELT;
- @objid ("26cdf2ba-16f0-455c-a6d4-d95543cd4a98")
+ @objid ("ddb7f0a4-a8b2-42bf-b035-da6e34aeec90")
private static Stereotype MDAASSOCDEP;
- @objid ("7d158242-741c-407b-a395-2eb5f0cfea83")
+ @objid ("97e50d83-23c8-46a4-aab0-200b18933f8d")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("be43766e-cb21-4841-8f7f-7ac9f47d11b2")
+ @objid ("8cedc31c-5f13-4882-8f45-52e95b165767")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "b5ff2f96-fb60-424e-ae18-02b24209d1af");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -149,11 +146,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DeploymentTypeModelDiagram.java b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DeploymentTypeModelDiagram.java
index 70a75cfe..1d028669 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DeploymentTypeModelDiagram.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/DeploymentTypeModelDiagram.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.cameldiagrams.standard.classdiagram;
@@ -36,7 +36,7 @@
*/
@objid ("85540842-c7cb-455a-a265-21e99c9177ad")
public class DeploymentTypeModelDiagram extends AbstractCamelDiagram {
- @objid ("6f2b33ba-2ef2-488d-a284-8a416af2ce9b")
+ @objid ("922e9b58-6aaf-43d6-86f1-e92df177c0f1")
public static final String STEREOTYPE_NAME = "DeploymentTypeModelDiagram";
/**
@@ -47,7 +47,7 @@ public class DeploymentTypeModelDiagram extends AbstractCamelDiagram {
* @param elt a model object
* @return
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link DeploymentTypeModelDiagram} proxy or null.
*/
- @objid ("f2e5cd71-1003-4dc1-af61-85f77ca46b95")
+ @objid ("aeafa9cb-371e-44a4-a425-b555b9ba1ce7")
public static DeploymentTypeModelDiagram instantiate(final ClassDiagram obj) {
return DeploymentTypeModelDiagram.canInstantiate(obj) ? new DeploymentTypeModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link DeploymentTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentTypeModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link DeploymentTypeModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("3566385e-5bc1-4c9f-be79-8a36a24dfc7e")
+ @objid ("b60eee63-84fa-4052-bb33-2b4999f1744d")
public static DeploymentTypeModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (DeploymentTypeModelDiagram.canInstantiate(obj))
- return new DeploymentTypeModelDiagram(obj);
+ return new DeploymentTypeModelDiagram(obj);
else
- throw new IllegalArgumentException("DeploymentTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DeploymentTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("399675fa-6e20-41e0-9b32-ecb0f7234ec4")
+ @objid ("832d9d00-d458-4d1f-b7e2-752f5dc9bfbf")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("2f55f1ab-a41c-464c-84b3-eba3dd3794a7")
+ @objid ("6998cf93-6e97-47d2-adc4-f4e28adf1900")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("dd2f4eec-cafb-402b-9f13-1cd92c053bc3")
+ @objid ("26b68e6a-4350-4202-8e98-3fae86b6ee46")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -135,23 +132,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link ExecutionModelDiagram} proxy or null.
*/
- @objid ("e005b786-c450-4bd6-b9a6-66452ee2f62a")
+ @objid ("8319f71b-7667-480a-b450-3478351b45de")
public static ExecutionModelDiagram instantiate(final ClassDiagram obj) {
return ExecutionModelDiagram.canInstantiate(obj) ? new ExecutionModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link ExecutionModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ExecutionModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ExecutionModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ExecutionModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link ExecutionModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("f27564b4-0e51-4098-bcf5-d5ef385ece36")
+ @objid ("b450f0c0-e148-4d53-a53a-c2468fd4943c")
public static ExecutionModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (ExecutionModelDiagram.canInstantiate(obj))
- return new ExecutionModelDiagram(obj);
+ return new ExecutionModelDiagram(obj);
else
- throw new IllegalArgumentException("ExecutionModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ExecutionModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("6367c9f8-1574-46e1-bb7d-af99007b7a98")
+ @objid ("8ee75272-8b1d-4fff-9679-78a02ad2142a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("25cbabab-5a27-41b9-b3f6-6a4b31efbc6d")
+ @objid ("8979a025-5a4d-4da9-9204-bfbe050bbaeb")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
@@ -126,13 +123,14 @@ public ClassDiagram getElement() {
* Get the value to the 'Origin' role.
* Role description:
* null
+ *
*/
- @objid ("b98eaceb-43d9-42da-94d1-7372dbbcdf4a")
+ @objid ("b311784e-7fc0-41b0-8404-f19dcc86b50b")
public ExecutionModel getOrigin() {
return (ExecutionModel)CamelDesignerProxyFactory.instantiate(((ClassDiagram) this.elt).getOrigin(), ExecutionModel.STEREOTYPE_NAME);
}
- @objid ("9b955000-c26c-4e5f-8674-936e14511229")
+ @objid ("5b7b16cf-7ab6-4e31-9e66-de275f145ec7")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -142,8 +140,9 @@ public int hashCode() {
* Set the value of the 'Origin' role.
* Role description:
* null
+ *
*/
- @objid ("06dc6ebf-b20b-46dc-81ac-04699cddd520")
+ @objid ("1c740b3f-3c54-4cfd-a58b-ff6fd16c9f7d")
public void setOrigin(final ExecutionModel obj) {
((ClassDiagram) this.elt).setOrigin((obj != null) ? obj.getElement() : null);
}
@@ -155,23 +154,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link LocationModelDiagram} proxy or null.
*/
- @objid ("d7037782-591b-4329-a83d-c2a35eeb8308")
+ @objid ("9431d08c-cd98-4557-bbd0-84574af70276")
public static LocationModelDiagram instantiate(final ClassDiagram obj) {
return LocationModelDiagram.canInstantiate(obj) ? new LocationModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link LocationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << LocationModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link LocationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << LocationModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link LocationModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("637f17f1-b85b-4018-91d2-0052de7f4fe0")
+ @objid ("f26ed4d0-b0d7-4ac3-9e10-02aee25f7085")
public static LocationModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (LocationModelDiagram.canInstantiate(obj))
- return new LocationModelDiagram(obj);
+ return new LocationModelDiagram(obj);
else
- throw new IllegalArgumentException("LocationModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("LocationModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("5adee3e3-e09b-4dfd-b5a9-a37e11c65c1e")
+ @objid ("d0284bd8-b2a5-4782-8040-33ce2575945a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("e319e24d-fa06-4386-9437-6a4c09598ea8")
+ @objid ("e597712a-9268-4856-b0c6-4af9ac377a48")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("2ea51940-df2d-429d-b51b-1d4c85369340")
+ @objid ("67c59076-09a3-40e9-a794-d6e3c932afef")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link MetadataModelDiagram} proxy or null.
*/
- @objid ("d319d9a0-3840-4be3-8952-280ac38dff61")
+ @objid ("f4380122-fd6e-417c-82bd-1d057f9d4a8a")
public static MetadataModelDiagram instantiate(final ClassDiagram obj) {
return MetadataModelDiagram.canInstantiate(obj) ? new MetadataModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link MetadataModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetadataModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetadataModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetadataModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link MetadataModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("fa8a2952-0148-46af-a3f0-7f96ed843186")
+ @objid ("6bb47b72-7a71-4de5-83e6-f3feefbe0969")
public static MetadataModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (MetadataModelDiagram.canInstantiate(obj))
- return new MetadataModelDiagram(obj);
+ return new MetadataModelDiagram(obj);
else
- throw new IllegalArgumentException("MetadataModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MetadataModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("e169a1c8-5481-489f-8fa8-6f836239ddb7")
+ @objid ("4164f84a-3221-41af-8b46-d6262e6d25a4")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("f18467f1-6b18-46a0-b47e-94f3fa0966fe")
+ @objid ("b0cfd043-6f2a-49d3-afe0-63fd730f0dbd")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("3419bdbc-60d6-4602-bbd5-4fb47bb6b38f")
+ @objid ("13e7e97b-6241-41ec-9347-b0974a98eb90")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link MetricInstanceModelDiagram} proxy or null.
*/
- @objid ("6b6df22d-6e3b-4a70-9985-af35a8bfcefe")
+ @objid ("dbedd8a4-17b8-4e86-ba37-b70ba44f56cd")
public static MetricInstanceModelDiagram instantiate(final ClassDiagram obj) {
return MetricInstanceModelDiagram.canInstantiate(obj) ? new MetricInstanceModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link MetricInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricInstanceModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link MetricInstanceModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("fb9fd691-9737-4e8c-aa5c-e0de9465a2f5")
+ @objid ("49df840c-7237-4a0c-b369-a851871f0696")
public static MetricInstanceModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (MetricInstanceModelDiagram.canInstantiate(obj))
- return new MetricInstanceModelDiagram(obj);
+ return new MetricInstanceModelDiagram(obj);
else
- throw new IllegalArgumentException("MetricInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MetricInstanceModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("a2743b10-35a1-465e-a0dd-952a1ef9001d")
+ @objid ("a9950576-5590-4066-a005-37bc2d28cd0b")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("252db4a7-df92-453d-8254-29d187d78db0")
+ @objid ("2b998220-c501-45e0-93bd-4845dd0d1b5b")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("d0f0ea6a-8e9a-43f5-bbdb-40ddf706eb21")
+ @objid ("13f079b0-7838-4ff9-9f27-f7183e89b815")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link MetricTypeModelDiagram} proxy or null.
*/
- @objid ("ffffd945-eda4-4a88-971c-6e4a38203820")
+ @objid ("9429f775-d5a1-4d69-ae72-e01427416f53")
public static MetricTypeModelDiagram instantiate(final ClassDiagram obj) {
return MetricTypeModelDiagram.canInstantiate(obj) ? new MetricTypeModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link MetricTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricTypeModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link MetricTypeModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("46fb0af0-c5d3-4337-9e3a-45c5e65c0183")
+ @objid ("0f9d7944-204f-4c8f-9958-321af67ed9fd")
public static MetricTypeModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (MetricTypeModelDiagram.canInstantiate(obj))
- return new MetricTypeModelDiagram(obj);
+ return new MetricTypeModelDiagram(obj);
else
- throw new IllegalArgumentException("MetricTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MetricTypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("366a62d0-2438-4c89-a3ed-627fa5163dd6")
+ @objid ("e7dcf399-e8ae-4cc2-a49a-4c744b2d72de")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("15f92b6c-df43-4ab5-bb89-1fb4e57e45d5")
+ @objid ("80188149-d60f-434a-9317-369deb29ea6d")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("0a34116a-589a-4d93-a494-99cae6eb3de4")
+ @objid ("1b95b96f-ef49-4ef4-a0f1-de2d87eb44d9")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link OrganisationModelDiagram} proxy or null.
*/
- @objid ("9a4123d8-559c-4d9d-b10c-4c14bc058bad")
+ @objid ("6b2e7f2c-0674-4d0d-ac49-20a00e6ef936")
public static OrganisationModelDiagram instantiate(final ClassDiagram obj) {
return OrganisationModelDiagram.canInstantiate(obj) ? new OrganisationModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link OrganisationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << OrganisationModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link OrganisationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << OrganisationModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link OrganisationModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("2d4e4c1b-5b96-4b3d-a18e-468d948972ca")
+ @objid ("7c66cf5d-8766-4fb4-952c-60b585d388d7")
public static OrganisationModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (OrganisationModelDiagram.canInstantiate(obj))
- return new OrganisationModelDiagram(obj);
+ return new OrganisationModelDiagram(obj);
else
- throw new IllegalArgumentException("OrganisationModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("OrganisationModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("016fd826-c658-4e60-b1b7-6c9e8cf4d888")
+ @objid ("4f57d44c-2a8b-4af2-ab72-20f373878bef")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("288df705-d1bd-49a1-93d3-70be9d210506")
+ @objid ("bcf68fa9-d3db-4efa-affa-c52a13507f4e")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("9d66c943-71d0-4fff-88f9-c5e517eb40d6")
+ @objid ("bd9b5f19-6906-440d-b56f-60617e70869d")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link RequirementModelDiagram} proxy or null.
*/
- @objid ("2a8cdf37-fd33-4bbf-8e52-7119f2b07dcf")
+ @objid ("4bfc9cb4-9865-4e34-958c-368900a5c4ad")
public static RequirementModelDiagram instantiate(final ClassDiagram obj) {
return RequirementModelDiagram.canInstantiate(obj) ? new RequirementModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link RequirementModelDiagram} proxy from a {@link ClassDiagram} stereotyped << RequirementModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link RequirementModelDiagram} proxy from a {@link ClassDiagram} stereotyped << RequirementModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link RequirementModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("a76eb04a-6af1-445c-b457-63304bd81789")
+ @objid ("c23c351d-6c2b-4645-a0d3-de3613af80d8")
public static RequirementModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (RequirementModelDiagram.canInstantiate(obj))
- return new RequirementModelDiagram(obj);
+ return new RequirementModelDiagram(obj);
else
- throw new IllegalArgumentException("RequirementModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("RequirementModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("1e170e77-f789-4655-82dc-46b730b9dc1a")
+ @objid ("015f2498-539a-437d-b43d-a46f38bdb769")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("ed066e34-faa9-46a3-80c8-74b630779963")
+ @objid ("e14b8396-ee2e-4879-b7e6-94219757a748")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("9f572daf-dfec-4e77-8306-a08e31a7125e")
+ @objid ("4943581d-543d-4d06-8d1a-7dec4d0a6912")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link ScalabilityModelDiagram} proxy or null.
*/
- @objid ("8476aa88-3a9f-484a-8544-45653ccd7ca2")
+ @objid ("197dc64e-7f32-46be-a043-3ff947ffce14")
public static ScalabilityModelDiagram instantiate(final ClassDiagram obj) {
return ScalabilityModelDiagram.canInstantiate(obj) ? new ScalabilityModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link ScalabilityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ScalabilityModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ScalabilityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ScalabilityModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link ScalabilityModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("30f80f11-b011-4d6f-951a-19959e5381c5")
+ @objid ("746c4aac-028c-4cdc-9987-dec23141809f")
public static ScalabilityModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (ScalabilityModelDiagram.canInstantiate(obj))
- return new ScalabilityModelDiagram(obj);
+ return new ScalabilityModelDiagram(obj);
else
- throw new IllegalArgumentException("ScalabilityModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ScalabilityModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("2473257f-e2c5-4893-aa9f-6bf1ba03bad5")
+ @objid ("e6d27f41-24ef-4a8d-8155-41ac56f0b3e2")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("a65ecdb0-93c7-4944-82a1-02dca8129c2d")
+ @objid ("47cba9b1-8ba3-41a7-954a-8001930de0cd")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("bffdf909-c35b-4d1d-a15f-77299fd1a829")
+ @objid ("64df7718-3a69-4ed3-ac6b-80015e7507cb")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link SecurityModelDiagram} proxy or null.
*/
- @objid ("fbe37983-8aea-4d47-978a-cbf5acb69c33")
+ @objid ("9c1de38e-17fe-461f-bb21-e72ea6a37ce0")
public static SecurityModelDiagram instantiate(final ClassDiagram obj) {
return SecurityModelDiagram.canInstantiate(obj) ? new SecurityModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link SecurityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << SecurityModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link SecurityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << SecurityModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link SecurityModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("23ba837b-7af0-4b96-a3e6-4db52841a700")
+ @objid ("52fcb69b-ceeb-4df1-a2b2-f4db2cb2572a")
public static SecurityModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (SecurityModelDiagram.canInstantiate(obj))
- return new SecurityModelDiagram(obj);
+ return new SecurityModelDiagram(obj);
else
- throw new IllegalArgumentException("SecurityModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("SecurityModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("b51c806e-b507-440f-b78b-e92ba0cb51a1")
+ @objid ("3926f54d-9625-461b-815b-60c1a7d72eb2")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("c3a6bbca-aa3e-4221-9d75-85321c1135ea")
+ @objid ("cdfe5970-efc5-4975-8dcd-9c49bbfb2a39")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("0308abe2-f0bf-46d2-9f3c-0fd157633aac")
+ @objid ("98224d4f-efa6-4363-af2a-7f224a2f601b")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link TypeModelDiagram} proxy or null.
*/
- @objid ("1d29d17f-1e3d-4811-97ce-43c8b97a4117")
+ @objid ("1613a4d3-411f-4e41-87a8-0d8707fc3128")
public static TypeModelDiagram instantiate(final ClassDiagram obj) {
return TypeModelDiagram.canInstantiate(obj) ? new TypeModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link TypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << TypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link TypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << TypeModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link TypeModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("cf667a87-fb18-4e44-a539-8d42d7df78b0")
+ @objid ("52072867-7b04-45fe-856b-d89a50f52675")
public static TypeModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (TypeModelDiagram.canInstantiate(obj))
- return new TypeModelDiagram(obj);
+ return new TypeModelDiagram(obj);
else
- throw new IllegalArgumentException("TypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("TypeModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("c3295c11-98ce-43d2-86f1-44d3e21a6dae")
+ @objid ("eddbae5b-c3ca-4ced-b952-1418944036f7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("6fbe334c-72be-4c1f-b5c7-a610321aef4a")
+ @objid ("57cafd81-e4ff-4674-9a92-fd25f2335828")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("80c20f7a-0ec4-4aea-b6c8-06a6cb0ca1de")
+ @objid ("690f6cf7-a261-46ea-bba4-5766e05de799")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a ClassDiagram
* @return a {@link UnitModelDiagram} proxy or null.
*/
- @objid ("d830f42b-ff42-46ec-9ff2-0af53e88c0c8")
+ @objid ("4bab1e72-8c4c-47aa-aa57-6c8e131e4d08")
public static UnitModelDiagram instantiate(final ClassDiagram obj) {
return UnitModelDiagram.canInstantiate(obj) ? new UnitModelDiagram(obj) : null;
}
/**
- * Tries to instantiate a {@link UnitModelDiagram} proxy from a {@link ClassDiagram} stereotyped << UnitModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link UnitModelDiagram} proxy from a {@link ClassDiagram} stereotyped << UnitModelDiagram >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link ClassDiagram}
* @return a {@link UnitModelDiagram} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("c9de9a86-33d2-4821-ae5f-c375bf190bcd")
+ @objid ("5cc812e0-0930-42ef-a1d3-270477e80857")
public static UnitModelDiagram safeInstantiate(final ClassDiagram obj) throws IllegalArgumentException {
if (UnitModelDiagram.canInstantiate(obj))
- return new UnitModelDiagram(obj);
+ return new UnitModelDiagram(obj);
else
- throw new IllegalArgumentException("UnitModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("UnitModelDiagram: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("8a2892e9-6818-48c2-84fa-4134c06d9497")
+ @objid ("e02b2bff-bd93-4407-9b06-d6f88897c4db")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ClassDiagram}.
- *
+ * Get the underlying {@link ClassDiagram}.
* @return the ClassDiagram represented by this proxy, never null.
*/
- @objid ("29c021b5-4651-450f-865b-2c130caef80b")
+ @objid ("cba87d76-0a91-4bbd-9375-c19866797b9c")
@Override
public ClassDiagram getElement() {
return (ClassDiagram)super.getElement();
}
- @objid ("7db2e28a-08ea-4df7-9574-1149f892e671")
+ @objid ("08202f67-82d3-40fe-b27c-a1dfa5ebc1b9")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Constraint
* @return a {@link AttributeConstraint} proxy or null.
*/
- @objid ("f8c675ec-7f8d-4990-a5c7-bc52ad9b0b34")
+ @objid ("aec14f98-99c5-4263-9159-8e29c1dd3ec8")
public static AttributeConstraint instantiate(final Constraint obj) {
return AttributeConstraint.canInstantiate(obj) ? new AttributeConstraint(obj) : null;
}
/**
- * Tries to instantiate a {@link AttributeConstraint} proxy from a {@link Constraint} stereotyped << AttributeConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeConstraint} proxy from a {@link Constraint} stereotyped << AttributeConstraint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Constraint}
* @return a {@link AttributeConstraint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("4b7725a7-fd07-4249-9ea4-ac7310442599")
+ @objid ("387c46a9-b3f2-4dea-a5ed-11a2f28439a6")
public static AttributeConstraint safeInstantiate(final Constraint obj) throws IllegalArgumentException {
if (AttributeConstraint.canInstantiate(obj))
- return new AttributeConstraint(obj);
+ return new AttributeConstraint(obj);
else
- throw new IllegalArgumentException("AttributeConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("AttributeConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("93c9ba9e-9aa5-40f7-9fa6-9f22f9be4440")
+ @objid ("a075a0f2-637d-4cb1-b8f7-3cde103fa61c")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -115,28 +113,28 @@ public boolean equals(final Object obj) {
* Get the value to the 'attributeContext' role.
* Role description:
* null
+ *
*/
- @objid ("cb7edb08-0c0c-488c-a8ae-a3c8c5a48344")
+ @objid ("a6862511-b0f3-4e19-a174-d9d7d417880f")
public AttributeContext getAttributeContext() {
- for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
- if (AttributeContext.canInstantiate(obj))
- return (AttributeContext)CamelDesignerProxyFactory.instantiate(obj, AttributeContext.STEREOTYPE_NAME);
- }
- return null;
+ for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
+ if (AttributeContext.canInstantiate(obj))
+ return (AttributeContext)CamelDesignerProxyFactory.instantiate(obj, AttributeContext.STEREOTYPE_NAME);
+ }
+ return null;
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("54ad1096-abf0-4a69-8af2-094d6adc3785")
+ @objid ("08a72d99-8601-445f-ab50-68fbfe7fa466")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
}
- @objid ("daf1dced-77fc-4b96-9738-9383a749de72")
+ @objid ("0ea9ca2c-b89d-4ded-90b2-196f739da353")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -146,8 +144,9 @@ public int hashCode() {
* Set the value of the 'attributeContext' role.
* Role description:
* null
+ *
*/
- @objid ("56604416-76d5-4b82-9c32-d2e6837c4e7a")
+ @objid ("74ec3d89-608a-489b-9f28-8710b0ddd02c")
public void setAttributeContext(final AttributeContext obj) {
// Remove existing AttributeContexts
for (Class e : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
@@ -168,23 +167,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Constraint
* @return a {@link IfThenConstraint} proxy or null.
*/
- @objid ("cabb7c3b-c142-4381-a6a8-c7195879fab1")
+ @objid ("91e31029-a05c-4daf-b777-1e0d6833e214")
public static IfThenConstraint instantiate(final Constraint obj) {
return IfThenConstraint.canInstantiate(obj) ? new IfThenConstraint(obj) : null;
}
/**
- * Tries to instantiate a {@link IfThenConstraint} proxy from a {@link Constraint} stereotyped << IfThenConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link IfThenConstraint} proxy from a {@link Constraint} stereotyped << IfThenConstraint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Constraint}
* @return a {@link IfThenConstraint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("9616e3d4-4014-49a5-b717-0d7a859b2b6d")
+ @objid ("567e3ad4-e08f-4635-b4cf-776a23c552e6")
public static IfThenConstraint safeInstantiate(final Constraint obj) throws IllegalArgumentException {
if (IfThenConstraint.canInstantiate(obj))
- return new IfThenConstraint(obj);
+ return new IfThenConstraint(obj);
else
- throw new IllegalArgumentException("IfThenConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("IfThenConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("db37e6fe-6e8a-4774-886c-b7b2adf0d2e2")
+ @objid ("1ba87389-463f-46af-9463-9211b8bf51e3")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -114,11 +113,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("e4272839-2b32-44b3-8bca-54b1341f9eb8")
+ @objid ("b70f94b3-c26f-43fe-baec-e64f901247bc")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
@@ -128,8 +126,9 @@ public Constraint getElement() {
* Get the value of the 'else' role.
* Role description:
* null
+ *
*/
- @objid ("a95a6987-65af-457b-addc-25ed4cb741dd")
+ @objid ("7c946a27-4bd0-4bc4-a322-f9fdf35332eb")
public CamelConstraint getElse() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(IfThenConstraint.MdaTypes.MDAASSOCDEP)
@@ -153,8 +152,9 @@ public CamelConstraint getElse() {
* Get the value of the 'if' role.
* Role description:
* null
+ *
*/
- @objid ("c9a98956-53c6-4d14-a655-489bd50c8bbd")
+ @objid ("58b67890-1aa8-4211-832f-a9f6054febee")
public CamelConstraint getIf() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(IfThenConstraint.MdaTypes.MDAASSOCDEP)
@@ -178,8 +178,9 @@ public CamelConstraint getIf() {
* Get the value of the 'then' role.
* Role description:
* null
+ *
*/
- @objid ("08a6550d-6ac3-4e42-bc29-06d7eded972a")
+ @objid ("010945e9-0340-4d56-bc18-25aa8a4881c2")
public CamelConstraint getThen() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(IfThenConstraint.MdaTypes.MDAASSOCDEP)
@@ -199,7 +200,7 @@ public CamelConstraint getThen() {
return null;
}
- @objid ("eb7660da-f2f7-4f0c-a2df-b5b65d29f703")
+ @objid ("cdf5e81d-bd18-4580-a88e-a143289439e8")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -209,8 +210,9 @@ public int hashCode() {
* Set the value of the 'else' role.
* Role description:
* null
+ *
*/
- @objid ("033135cb-4343-4ccb-aeff-8d1ba321c99e")
+ @objid ("09626bbb-f085-476f-847a-1bf623923188")
public void setElse(final CamelConstraint obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -234,8 +236,9 @@ public void setElse(final CamelConstraint obj) {
* Set the value of the 'if' role.
* Role description:
* null
+ *
*/
- @objid ("f35afbb3-d816-47b1-b782-e307eb1760a0")
+ @objid ("e64027c0-daec-4d26-a896-cba4b301d804")
public void setIf(final CamelConstraint obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -259,8 +262,9 @@ public void setIf(final CamelConstraint obj) {
* Set the value of the 'then' role.
* Role description:
* null
+ *
*/
- @objid ("620c90c5-44d4-4dda-8b58-22a36c13c679")
+ @objid ("0ba3dcc6-8f4f-49b2-a0d5-7cd4a242e658")
public void setThen(final CamelConstraint obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -287,23 +291,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Constraint
* @return a {@link LogicalConstraint} proxy or null.
*/
- @objid ("00138b88-d5b7-4f59-a0bb-66372f464188")
+ @objid ("2d25bc71-3ca9-4a80-ba35-5e60178b9307")
public static LogicalConstraint instantiate(final Constraint obj) {
return LogicalConstraint.canInstantiate(obj) ? new LogicalConstraint(obj) : null;
}
/**
- * Tries to instantiate a {@link LogicalConstraint} proxy from a {@link Constraint} stereotyped << LogicalConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link LogicalConstraint} proxy from a {@link Constraint} stereotyped << LogicalConstraint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Constraint}
* @return a {@link LogicalConstraint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("93abf6e6-cfc2-4ad0-ad27-aa6a614e0160")
+ @objid ("63245031-177b-430e-94f6-cbbdfc92687c")
public static LogicalConstraint safeInstantiate(final Constraint obj) throws IllegalArgumentException {
if (LogicalConstraint.canInstantiate(obj))
- return new LogicalConstraint(obj);
+ return new LogicalConstraint(obj);
else
- throw new IllegalArgumentException("LogicalConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("LogicalConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'constraints' role.
* Role description:
* null
+ *
*/
- @objid ("53c2f525-ff3f-4b4c-aae8-e8aa6a711c8b")
+ @objid ("f8ada423-546f-4caa-9336-c464a659baa7")
public void addConstraints(final CamelConstraint obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -115,7 +115,7 @@ public void addConstraints(final CamelConstraint obj) {
}
}
- @objid ("2d619d4f-6f84-482e-872f-9fc9f6b66a22")
+ @objid ("9f22b16a-2199-42d1-b4ce-401adea884c7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -135,8 +135,9 @@ public boolean equals(final Object obj) {
* Get the values of the 'constraints' role.
* Role description:
* null
+ *
*/
- @objid ("90384fce-afa0-40e9-b2ba-1747c04153c0")
+ @objid ("7ebdb135-4f71-43b3-86ab-a5280e07f02a")
public List Property description:
*
* Role description:
* null
+ *
*/
- @objid ("b5cc5220-1354-464b-aa8f-110db18e8bdb")
+ @objid ("2e4cc435-9241-48f9-9e4e-8cdbdb68a7c2")
public boolean removeConstraints(final CamelConstraint obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(LogicalConstraint.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(LogicalConstraint.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(LogicalConstraint.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(LogicalConstraint.MdaTypes.MDAASSOCDEP_ROLE), "constraints"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -208,7 +209,7 @@ public boolean removeConstraints(final CamelConstraint obj) {
* Property description:
*
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Constraint
* @return a {@link MetricConstraint} proxy or null.
*/
- @objid ("1e629909-b975-4021-b093-4335b3470a79")
+ @objid ("a8c9a606-16d9-479f-a2a0-31b578daba7d")
public static MetricConstraint instantiate(final Constraint obj) {
return MetricConstraint.canInstantiate(obj) ? new MetricConstraint(obj) : null;
}
/**
- * Tries to instantiate a {@link MetricConstraint} proxy from a {@link Constraint} stereotyped << MetricConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricConstraint} proxy from a {@link Constraint} stereotyped << MetricConstraint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Constraint}
* @return a {@link MetricConstraint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("eb8f32e4-154e-4aa5-aaa3-b463cd64e036")
+ @objid ("9dbc8a7a-ecc9-465b-b652-c5f14ae07205")
public static MetricConstraint safeInstantiate(final Constraint obj) throws IllegalArgumentException {
if (MetricConstraint.canInstantiate(obj))
- return new MetricConstraint(obj);
+ return new MetricConstraint(obj);
else
- throw new IllegalArgumentException("MetricConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MetricConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("d4aee747-da43-45ba-b850-92f7e8f58c8a")
+ @objid ("34768f3d-0ed1-4f66-b071-3321ddb9ab16")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("c9bc9c18-444f-4ece-a0de-816d0c8c6030")
+ @objid ("1768d4a0-312a-4235-b7b2-bb8c6c01c400")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
@@ -126,17 +123,18 @@ public Constraint getElement() {
* Get the value to the 'metricContext' role.
* Role description:
* null
+ *
*/
- @objid ("c9afa20b-9ad7-4747-8980-52ab66d49d3c")
+ @objid ("30c19fb9-83f8-4ba6-a0d7-257faeaf9cc6")
public MetricContext getMetricContext() {
- for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
- if (MetricContext.canInstantiate(obj))
- return (MetricContext)CamelDesignerProxyFactory.instantiate(obj, MetricContext.STEREOTYPE_NAME);
- }
- return null;
+ for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
+ if (MetricContext.canInstantiate(obj))
+ return (MetricContext)CamelDesignerProxyFactory.instantiate(obj, MetricContext.STEREOTYPE_NAME);
+ }
+ return null;
}
- @objid ("0fabd1f4-078a-443d-a330-bc8569d4ae29")
+ @objid ("b48a7db1-860f-4d78-b358-a5cc36241248")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -146,8 +144,9 @@ public int hashCode() {
* Set the value of the 'metricContext' role.
* Role description:
* null
+ *
*/
- @objid ("2eb9100b-5af6-4d92-9bcc-0de885f5372b")
+ @objid ("023eb697-7bee-453f-9040-7a526914b656")
public void setMetricContext(final MetricContext obj) {
// Remove existing MetricContexts
for (Class e : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
@@ -168,23 +167,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Constraint
* @return a {@link MetricVariableConstraint} proxy or null.
*/
- @objid ("2ce46125-5be2-4f33-b035-6d5aecfa7f9d")
+ @objid ("c19467f7-105a-483a-87b8-f5adb23243a6")
public static MetricVariableConstraint instantiate(final Constraint obj) {
return MetricVariableConstraint.canInstantiate(obj) ? new MetricVariableConstraint(obj) : null;
}
/**
- * Tries to instantiate a {@link MetricVariableConstraint} proxy from a {@link Constraint} stereotyped << MetricVariableConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricVariableConstraint} proxy from a {@link Constraint} stereotyped << MetricVariableConstraint >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Constraint}
* @return a {@link MetricVariableConstraint} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("e2cf379c-a1b4-4ef5-a525-608fb8722fbb")
+ @objid ("6716961b-1996-4fa3-be3b-7fc1a052945b")
public static MetricVariableConstraint safeInstantiate(final Constraint obj) throws IllegalArgumentException {
if (MetricVariableConstraint.canInstantiate(obj))
- return new MetricVariableConstraint(obj);
+ return new MetricVariableConstraint(obj);
else
- throw new IllegalArgumentException("MetricVariableConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("MetricVariableConstraint: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("02ee24ff-41e2-415a-b4ed-48104071a5d5")
+ @objid ("fbac8a90-46c6-4044-b236-7ac1aa205633")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("74dbbb0d-e7eb-4111-b05d-19e6e50834da")
+ @objid ("a0ea2f82-a22c-4a54-849e-ed380b051b9d")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
@@ -126,17 +123,18 @@ public Constraint getElement() {
* Get the value to the 'metricVariable' role.
* Role description:
* null
+ *
*/
- @objid ("7a3e9d36-04c9-4248-95b9-47ec7ecc2016")
+ @objid ("b4ccc140-21e6-4385-870e-f6bb3c056605")
public MetricVariable getMetricVariable() {
- for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
- if (MetricVariable.canInstantiate(obj))
- return (MetricVariable)CamelDesignerProxyFactory.instantiate(obj, MetricVariable.STEREOTYPE_NAME);
- }
- return null;
+ for (Class obj : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
+ if (MetricVariable.canInstantiate(obj))
+ return (MetricVariable)CamelDesignerProxyFactory.instantiate(obj, MetricVariable.STEREOTYPE_NAME);
+ }
+ return null;
}
- @objid ("d39a38e0-ae4d-430d-b31c-e93a78e44848")
+ @objid ("ee71c2e4-2d65-4401-b626-a4f8d85be802")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -146,8 +144,9 @@ public int hashCode() {
* Set the value of the 'metricVariable' role.
* Role description:
* null
+ *
*/
- @objid ("7b877ddb-d116-4713-8a84-3dd08383a85a")
+ @objid ("7e55bbbb-9954-4088-8517-58435d4b69b9")
public void setMetricVariable(final MetricVariable obj) {
// Remove existing MetricVariables
for (Class e : ((Constraint) this.elt).getConstrainedElement(Class.class)) {
@@ -168,23 +167,23 @@ public List Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
*
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Package
* @return a {@link ConstraintModel} proxy or null.
*/
- @objid ("6d8c52ed-ce43-422f-99ef-056f1562f3bb")
+ @objid ("076a8d57-5423-479e-af97-9f22d9181dbe")
public static ConstraintModel instantiate(final Package obj) {
return ConstraintModel.canInstantiate(obj) ? new ConstraintModel(obj) : null;
}
/**
- * Tries to instantiate a {@link ConstraintModel} proxy from a {@link Package} stereotyped << ConstraintModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ConstraintModel} proxy from a {@link Package} stereotyped << ConstraintModel >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Package}
* @return a {@link ConstraintModel} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("c6994188-62b7-47eb-aa38-901edbe4f80f")
+ @objid ("65be398d-4ad1-4eb9-92c0-2fc7a58b5a29")
public static ConstraintModel safeInstantiate(final Package obj) throws IllegalArgumentException {
if (ConstraintModel.canInstantiate(obj))
- return new ConstraintModel(obj);
+ return new ConstraintModel(obj);
else
- throw new IllegalArgumentException("ConstraintModel: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ConstraintModel: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("ca77ed77-89d8-4dbf-aa81-6730d9e79896")
+ @objid ("b1fd0d57-d55e-4d0d-a9bb-2c2d318b6e02")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,17 +109,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Package}.
- *
+ * Get the underlying {@link Package}.
* @return the Package represented by this proxy, never null.
*/
- @objid ("67b0923d-aa8c-400b-8b0a-2ff51679faed")
+ @objid ("7ad26398-11a6-42e4-ad8a-350b1a9bba02")
@Override
public Package getElement() {
return (Package)super.getElement();
}
- @objid ("806f68aa-e818-4035-b0ec-f4c3bd96483f")
+ @objid ("6fc75e22-4ee4-4f94-b635-f00c9a528214")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -134,23 +131,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a BindableInstance
* @return a {@link DataInstanceBindableInstance} proxy or null.
*/
- @objid ("7019cbd3-a61a-48eb-af0c-7e4e41e3983e")
+ @objid ("69ec89e9-c83b-4e38-b187-c3dcea61ff87")
public static DataInstanceBindableInstance instantiate(final BindableInstance obj) {
return DataInstanceBindableInstance.canInstantiate(obj) ? new DataInstanceBindableInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link DataInstanceBindableInstance} proxy from a {@link BindableInstance} stereotyped << DataInstance_BindableInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceBindableInstance} proxy from a {@link BindableInstance} stereotyped << DataInstance_BindableInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link BindableInstance}
* @return a {@link DataInstanceBindableInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("1f3f582a-84ba-4f7a-9ec1-94014a8dc7ef")
+ @objid ("121982b6-230c-478a-8916-3c3643c1fabd")
public static DataInstanceBindableInstance safeInstantiate(final BindableInstance obj) throws IllegalArgumentException {
if (DataInstanceBindableInstance.canInstantiate(obj))
- return new DataInstanceBindableInstance(obj);
+ return new DataInstanceBindableInstance(obj);
else
- throw new IllegalArgumentException("DataInstanceBindableInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataInstanceBindableInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("a605e939-128f-413a-8fcd-0080cf064dc2")
+ @objid ("160b27d3-74e3-43d4-a62a-6c0c30377e55")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,11 +109,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link BindableInstance}.
- *
+ * Get the underlying {@link BindableInstance}.
* @return the BindableInstance represented by this proxy, never null.
*/
- @objid ("e46a9d2c-cc49-4f67-aa5d-f8f6755b1c41")
+ @objid ("65bcc76d-5f52-4675-8a4b-f0aed646798c")
@Override
public BindableInstance getElement() {
return (BindableInstance)super.getElement();
@@ -125,13 +122,14 @@ public BindableInstance getElement() {
* Get the value to the 'owner' role.
* Role description:
* null
+ *
*/
- @objid ("a04bd5d2-14ac-4e11-b89b-52a558667b49")
+ @objid ("cff6d387-28e1-4302-a538-349f86caa729")
public DataInstance getOwner() {
return (DataInstance)CamelDesignerProxyFactory.instantiate(((BindableInstance) this.elt).getCluster(), DataInstance.STEREOTYPE_NAME);
}
- @objid ("4d2a6fee-80c5-4f3b-bd97-fa76587d0dca")
+ @objid ("deb23ecb-8f2e-4c03-b912-ee2c49e3ca48")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -141,8 +139,9 @@ public int hashCode() {
* Set the value of the 'owner' role.
* Role description:
* null
+ *
*/
- @objid ("010af0bc-2a72-427e-a0ba-285f59f9ddba")
+ @objid ("e135029a-1b38-437e-b1f2-94000612358e")
public void setOwner(final DataInstance obj) {
((BindableInstance) this.elt).setCluster((obj != null) ? obj.getElement() : null);
}
@@ -155,23 +154,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link Data} proxy or null.
*/
- @objid ("ffa2ff96-325a-47e3-a22c-4e6349acadb3")
+ @objid ("618750e3-cbbf-4970-92ae-aeded5774244")
public static Data instantiate(final Class obj) {
return Data.canInstantiate(obj) ? new Data(obj) : null;
}
/**
- * Tries to instantiate a {@link Data} proxy from a {@link Class} stereotyped << Data >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link Data} proxy from a {@link Class} stereotyped << Data >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link Data} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("b8f43cd1-2bfd-4078-8e52-4628f186b9b9")
+ @objid ("cc81b75f-0a46-46b0-acec-bbf8816c09fa")
public static Data safeInstantiate(final Class obj) throws IllegalArgumentException {
if (Data.canInstantiate(obj))
- return new Data(obj);
+ return new Data(obj);
else
- throw new IllegalArgumentException("Data: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("Data: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'includesData' role.
* Role description:
* null
+ *
*/
- @objid ("7ef31b54-4222-4860-a9b4-007de0d13139")
+ @objid ("86704b10-6d28-4072-8b4c-4da15d7fe4d1")
public void addIncludesData(final Data obj) {
if (obj!=null)
((Class) this.elt).getOwnedElement().add(obj.getElement());
}
- @objid ("3adaafdf-5d39-4e1b-8385-e9415072ffe7")
+ @objid ("a2953f6b-d88a-4ade-a4a5-0168fe1d4ee9")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -126,8 +126,9 @@ public boolean equals(final Object obj) {
* Get the value of the 'dataSource' role.
* Role description:
* null
+ *
*/
- @objid ("b6334a47-a157-4abd-9e34-59c64c00e7f5")
+ @objid ("6ac5d879-cbc3-4421-8608-cc7f6539243e")
public DataSource getDataSource() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(Data.MdaTypes.MDAASSOCDEP)
@@ -140,11 +141,10 @@ public DataSource getDataSource() {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("88a26e30-8a3b-408b-b496-e48acb1d61a7")
+ @objid ("75a970aa-79a0-4e3f-a08b-eba2e616e726")
@Override
public Class getElement() {
return (Class)super.getElement();
@@ -154,14 +154,15 @@ public Class getElement() {
* Get the values of the 'includesData' role.
* Role description:
* null
+ *
*/
- @objid ("0ad8b237-5a8d-447d-9fb8-b6df4d11bd79")
+ @objid ("18950354-c2d2-4823-8713-270c6e84457d")
public List getIncludesData() {
List results = new ArrayList<>();
for (ModelTree mObj : ((Class) this.elt).getOwnedElement()){
- if (Data.canInstantiate(mObj))
- results.add((Data)CamelDesignerProxyFactory.instantiate(mObj, Data.STEREOTYPE_NAME));
- }
+ if (Data.canInstantiate(mObj))
+ results.add((Data)CamelDesignerProxyFactory.instantiate(mObj, Data.STEREOTYPE_NAME));
+ }
return Collections.unmodifiableList(results);
}
@@ -169,13 +170,14 @@ public List getIncludesData() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("dcea6bbf-b786-4a85-9be9-a7d43534c9a1")
+ @objid ("49b8e507-ab50-4095-bad7-707eff7af0a7")
public Data getParent() {
return (Data)CamelDesignerProxyFactory.instantiate(((Class) this.elt).getOwner(), Data.STEREOTYPE_NAME);
}
- @objid ("2f628d97-86e2-49c7-a6ce-275bcdc5c791")
+ @objid ("8d5fe1fb-9eb5-493d-8153-769e4baa9a1c")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -185,8 +187,9 @@ public int hashCode() {
* Remove a value from the 'includesData' role.
* Role description:
* null
+ *
*/
- @objid ("a0dddb74-ab69-4220-99e6-366d7239432d")
+ @objid ("ad3612a0-135d-4358-b2bf-cb23e435d873")
public boolean removeIncludesData(final Data obj) {
return (obj!=null)? ((Class) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -195,8 +198,9 @@ public boolean removeIncludesData(final Data obj) {
* Set the value of the 'dataSource' role.
* Role description:
* null
+ *
*/
- @objid ("f240d661-3d81-48da-9391-73b335536715")
+ @objid ("a60e3938-e9a9-405b-9bea-1554ee25108c")
public void setDataSource(final DataSource obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -220,8 +224,9 @@ public void setDataSource(final DataSource obj) {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("31763f77-d121-405a-8616-9b70dbf1a91a")
+ @objid ("3d08ce8b-2f94-40bb-8565-6d4fde4da9de")
public void setParent(final Data obj) {
((Class) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -234,23 +239,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Class
* @return a {@link DataSource} proxy or null.
*/
- @objid ("dd7c5e4e-adaa-449e-af15-ddd857d9b4a7")
+ @objid ("7a7f1751-4113-4971-bf69-abfb6ed27b8d")
public static DataSource instantiate(final Class obj) {
return DataSource.canInstantiate(obj) ? new DataSource(obj) : null;
}
/**
- * Tries to instantiate a {@link DataSource} proxy from a {@link Class} stereotyped << DataSource >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataSource} proxy from a {@link Class} stereotyped << DataSource >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Class}
* @return a {@link DataSource} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("2e12b260-9fff-4c04-b242-a6c1f96c5fed")
+ @objid ("df17193c-f40f-401e-a88a-ab2636f362d2")
public static DataSource safeInstantiate(final Class obj) throws IllegalArgumentException {
if (DataSource.canInstantiate(obj))
- return new DataSource(obj);
+ return new DataSource(obj);
else
- throw new IllegalArgumentException("DataSource: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataSource: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("ea6cf78c-36a9-4dfe-b883-f4a6c31e70e4")
+ @objid ("83aa7646-434e-49c4-ab37-53442a21e59c")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -116,11 +114,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Class}.
- *
+ * Get the underlying {@link Class}.
* @return the Class represented by this proxy, never null.
*/
- @objid ("76596b2d-9afd-47c4-b5b0-db8c3fe8057c")
+ @objid ("382672af-272d-418c-b9e1-293ed30cd099")
@Override
public Class getElement() {
return (Class)super.getElement();
@@ -130,8 +127,9 @@ public Class getElement() {
* Get the value of the 'SoftwareComponent' role.
* Role description:
* null
+ *
*/
- @objid ("674ba211-3ab5-4482-9125-2729eb6f1fa1")
+ @objid ("edef4e2c-c5f0-435f-bbfd-932dca75f579")
public SoftwareComponent getSoftwareComponent() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(DataSource.MdaTypes.MDAASSOCDEP)
@@ -145,7 +143,7 @@ public SoftwareComponent getSoftwareComponent() {
return null;
}
- @objid ("d5598e97-dc11-43e4-89f5-d61fac62eb95")
+ @objid ("064e699e-2968-4ca5-b43d-fa642c73530a")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -156,7 +154,7 @@ public int hashCode() {
* Property description:
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("880b55a6-e843-440e-bc5c-d533838e2d26")
+ @objid ("fc58c45d-e88d-421d-81e1-17f8ef58a523")
public void setSoftwareComponent(final SoftwareComponent obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -207,26 +206,26 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link DataInstance} proxy or null.
*/
- @objid ("a6cbf429-7542-458d-ba76-bef0c0fe9e19")
+ @objid ("d26a3dfe-afb4-4583-a63b-3cf1a0443fd7")
public static DataInstance instantiate(final Instance obj) {
return DataInstance.canInstantiate(obj) ? new DataInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link DataInstance} proxy from a {@link Instance} stereotyped << DataInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstance} proxy from a {@link Instance} stereotyped << DataInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link DataInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("55afcce1-9ad0-45ea-b230-5c1b46689fab")
+ @objid ("ada7cf46-546f-42f9-850e-34cd3733dd38")
public static DataInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (DataInstance.canInstantiate(obj))
- return new DataInstance(obj);
+ return new DataInstance(obj);
else
- throw new IllegalArgumentException("DataInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'includesDataInstance' role.
* Role description:
* null
+ *
*/
- @objid ("bcb2f12f-0271-45e6-b92d-7efd773a52c9")
+ @objid ("11c67f05-038d-4a34-9c7f-ecf3eb69ce50")
public void addIncludesDataInstance(final DataInstanceBindableInstance obj) {
if (obj!=null)
((Instance) this.elt).getPart().add(obj.getElement());
}
- @objid ("d7cceed4-2f69-4104-8c20-605ebeb26322")
+ @objid ("bbaa666a-ae3f-4899-866a-6028c84a91dd")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -129,8 +129,9 @@ public boolean equals(final Object obj) {
* Get the value of the 'dataSourceInstance' role.
* Role description:
* null
+ *
*/
- @objid ("402ff6d7-661e-4de7-bd42-dcf6132e2277")
+ @objid ("9ce8d8d7-751b-4d44-9ef6-64ce58519cf3")
public DataSourceInstance getDataSourceInstance() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(DataInstance.MdaTypes.MDAASSOCDEP)
@@ -143,11 +144,10 @@ public DataSourceInstance getDataSourceInstance() {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("ea76f3a2-3bdf-4196-a557-9ae49c8f0f6d")
+ @objid ("2d9a8283-c9fc-40c3-95bd-f63ca27b2262")
@Override
public Instance getElement() {
return (Instance)super.getElement();
@@ -157,14 +157,15 @@ public Instance getElement() {
* Get the values of the 'includesDataInstance' role.
* Role description:
* null
+ *
*/
- @objid ("1624a0d6-8321-41af-85a4-a23f92bce852")
+ @objid ("3ba30bac-16ce-4a56-bfe7-21719191001e")
public List
* Role description:
* null
+ *
*/
- @objid ("9208d9cd-30cc-440b-980c-75213d7b8baf")
+ @objid ("8713ec89-3dce-4fd9-a224-c713437f96a4")
public DataInstanceModel getParent() {
return (DataInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DataInstanceModel.STEREOTYPE_NAME);
}
@@ -182,13 +184,14 @@ public DataInstanceModel getParent() {
* Get the value to the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("ffe5ee41-8d83-4c95-8b7f-3eaa6a348c79")
+ @objid ("71ef2ab7-5ac7-4e1b-84fc-081fc637ae05")
public Data getType() {
return (Data)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getBase(), Data.STEREOTYPE_NAME);
}
- @objid ("aac34b22-69ef-45f9-88c3-145dfd62cbd1")
+ @objid ("bd67f1ea-0951-4b39-a810-89c71583e1ad")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -198,8 +201,9 @@ public int hashCode() {
* Remove a value from the 'includesDataInstance' role.
* Role description:
* null
+ *
*/
- @objid ("a4e01114-e997-474d-919c-a26a8459f9f3")
+ @objid ("386576a7-b9bb-4b5f-aead-799221c4f87c")
public boolean removeIncludesDataInstance(final DataInstanceBindableInstance obj) {
return (obj!=null)? ((Instance) this.elt).getPart().remove(obj.getElement()) : false;
}
@@ -208,8 +212,9 @@ public boolean removeIncludesDataInstance(final DataInstanceBindableInstance obj
* Set the value of the 'dataSourceInstance' role.
* Role description:
* null
+ *
*/
- @objid ("be8556f0-86bc-4adc-839a-e32d1bd83702")
+ @objid ("b884d028-00ba-4245-bb9a-150d53a275dc")
public void setDataSourceInstance(final DataSourceInstance obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -233,8 +238,9 @@ public void setDataSourceInstance(final DataSourceInstance obj) {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("a5f1a42b-cad0-4f58-8873-ff8630bc2a63")
+ @objid ("84f6ccad-9c15-4405-a59f-d8fb22bf3189")
public void setParent(final DataInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -243,8 +249,9 @@ public void setParent(final DataInstanceModel obj) {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("3fa8a32b-4089-444c-9cc7-40ce3a2ddfa8")
+ @objid ("7613ea2e-9238-4841-8843-9945fe417941")
public void setType(final Data obj) {
((Instance) this.elt).setBase((obj != null) ? obj.getElement() : null);
}
@@ -257,23 +264,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link DataSourceInstance} proxy or null.
*/
- @objid ("2ed1105f-79d8-40e5-92d4-cce2e35cfc38")
+ @objid ("ea16c76f-df28-4f90-9ce2-681940867dff")
public static DataSourceInstance instantiate(final Instance obj) {
return DataSourceInstance.canInstantiate(obj) ? new DataSourceInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link DataSourceInstance} proxy from a {@link Instance} stereotyped << DataSourceInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataSourceInstance} proxy from a {@link Instance} stereotyped << DataSourceInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link DataSourceInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("30eab7d8-099f-46f8-8ce4-b2dc31a47a1b")
+ @objid ("ba2c445c-6d0d-4cdc-9ac1-87a321512ebd")
public static DataSourceInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (DataSourceInstance.canInstantiate(obj))
- return new DataSourceInstance(obj);
+ return new DataSourceInstance(obj);
else
- throw new IllegalArgumentException("DataSourceInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataSourceInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("dbee91f7-4502-4e5a-b5de-fcd2ca463338")
+ @objid ("ad78d1eb-4187-4004-813a-3d44e120dd6a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -114,11 +112,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("f306de12-5711-41de-bcc0-3885c9746b14")
+ @objid ("d327933a-3609-42d1-8ba3-0a5467cc3519")
@Override
public Instance getElement() {
return (Instance)super.getElement();
@@ -128,8 +125,9 @@ public Instance getElement() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("15d53f7b-5c80-451e-be99-7f1a0bdd250a")
+ @objid ("4c206c26-e43a-4b6d-af91-7ae939349d30")
public DataInstanceModel getParent() {
return (DataInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DataInstanceModel.STEREOTYPE_NAME);
}
@@ -138,8 +136,9 @@ public DataInstanceModel getParent() {
* Get the value of the 'softwareComponentInstance' role.
* Role description:
* null
+ *
*/
- @objid ("751f5fe7-d362-40e7-b409-ff7070b60712")
+ @objid ("63c030c8-4451-4754-a1bd-77abd47dd90a")
public SoftwareComponentInstance getSoftwareComponentInstance() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(DataSourceInstance.MdaTypes.MDAASSOCDEP)
@@ -155,13 +154,14 @@ public SoftwareComponentInstance getSoftwareComponentInstance() {
* Get the value to the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("501d8184-3f23-4a56-9d89-580d831d2d29")
+ @objid ("63a9bda8-8af0-4be3-805a-29850dcfb63c")
public DataSource getType() {
return (DataSource)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getBase(), DataSource.STEREOTYPE_NAME);
}
- @objid ("ac9acd2f-91db-49ec-b04d-f0c8845b9eb6")
+ @objid ("abcca6b8-810e-45e2-a4bd-a9389556a22d")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -171,8 +171,9 @@ public int hashCode() {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("91b7b8b9-2fca-489b-abc6-c55edf59ef66")
+ @objid ("ee295620-f97c-4d64-abce-50912c384153")
public void setParent(final DataInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -181,8 +182,9 @@ public void setParent(final DataInstanceModel obj) {
* Set the value of the 'softwareComponentInstance' role.
* Role description:
* null
+ *
*/
- @objid ("e650096a-84ba-440a-adc6-520ff12e9742")
+ @objid ("a8281977-b2f7-42ef-8817-a963a0cb1118")
public void setSoftwareComponentInstance(final SoftwareComponentInstance obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -206,8 +208,9 @@ public void setSoftwareComponentInstance(final SoftwareComponentInstance obj) {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("858e9ef3-bea1-45e7-b0aa-655acd423e38")
+ @objid ("dc105a8e-aab5-41b6-8117-db4d0237ad63")
public void setType(final DataSource obj) {
((Instance) this.elt).setBase((obj != null) ? obj.getElement() : null);
}
@@ -220,23 +223,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Package
* @return a {@link DataInstanceModel} proxy or null.
*/
- @objid ("481203a3-8818-4b32-932d-06583c251c3e")
+ @objid ("eadc2fe9-176e-4dab-9fa9-1377fc133faf")
public static DataInstanceModel instantiate(final Package obj) {
return DataInstanceModel.canInstantiate(obj) ? new DataInstanceModel(obj) : null;
}
/**
- * Tries to instantiate a {@link DataInstanceModel} proxy from a {@link Package} stereotyped << DataInstanceModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceModel} proxy from a {@link Package} stereotyped << DataInstanceModel >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Package}
* @return a {@link DataInstanceModel} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("6a61c0c6-4921-461e-a635-a5c8a8e44efb")
+ @objid ("87efe09c-b02b-43e8-b688-16391cb09f95")
public static DataInstanceModel safeInstantiate(final Package obj) throws IllegalArgumentException {
if (DataInstanceModel.canInstantiate(obj))
- return new DataInstanceModel(obj);
+ return new DataInstanceModel(obj);
else
- throw new IllegalArgumentException("DataInstanceModel: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataInstanceModel: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'dataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("3b13b9fa-4cee-4928-8a96-f8ff5ba1d46e")
+ @objid ("05d5415d-5e2c-46d1-9b8b-06b9a2d7a625")
public void addDataInstances(final DataInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
@@ -108,14 +112,15 @@ public void addDataInstances(final DataInstance obj) {
* Add a value to the 'dataSourcesInstances' role.
* Role description:
* null
+ *
*/
- @objid ("e7efb017-d136-434d-b319-0c421c77443e")
+ @objid ("aa863002-b18f-43c4-a53b-673fe7d7c604")
public void addDataSourcesInstances(final DataSourceInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
}
- @objid ("4ab449a3-c501-4701-8ff0-ac3cc56d3a16")
+ @objid ("d75e2704-a4ce-4529-b255-81a1998020a3")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -135,16 +140,17 @@ public boolean equals(final Object obj) {
* Get the values of the 'dataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("74116897-5a27-4788-9b03-0ab2a974d706")
+ @objid ("10f08fcf-7cb1-4f96-b9c0-ed16d30491ee")
public List
* Role description:
* null
+ *
*/
- @objid ("22e5c785-e684-41cb-8a09-5b68c04bd6ff")
+ @objid ("62a8b9e8-a433-4459-84eb-ea52fd8e588a")
public List
* Role description:
* null
+ *
*/
- @objid ("6aaf68cd-68e4-4b04-8b8a-e0f34498cb73")
+ @objid ("9ebe908f-a902-45df-9282-ae7de713a4ed")
public DataTypeModel getType() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(DataInstanceModel.MdaTypes.MDAASSOCDEP)
@@ -191,7 +198,7 @@ public DataTypeModel getType() {
return null;
}
- @objid ("599c837f-0db2-40bc-afdf-973324c41c07")
+ @objid ("c488bbde-051e-4c81-aa75-6edf7eb90efd")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -201,8 +208,9 @@ public int hashCode() {
* Remove a value from the 'dataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("034f6059-a56b-4818-9326-c623bb7e1cfd")
+ @objid ("f804f601-3e2a-4625-9957-2bce960e2d60")
public boolean removeDataInstances(final DataInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -211,8 +219,9 @@ public boolean removeDataInstances(final DataInstance obj) {
* Remove a value from the 'dataSourcesInstances' role.
* Role description:
* null
+ *
*/
- @objid ("c684a8aa-2561-4a07-8c8d-51c7dba92f31")
+ @objid ("af515593-dd5e-4ab4-96ea-85da7cdbd432")
public boolean removeDataSourcesInstances(final DataSourceInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -221,8 +230,9 @@ public boolean removeDataSourcesInstances(final DataSourceInstance obj) {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("247a3789-6e87-46a1-bd02-b56f67936218")
+ @objid ("292dc699-a3e2-48f7-bc93-602bb59b34cf")
public void setType(final DataTypeModel obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -252,23 +262,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Package
* @return a {@link DataTypeModel} proxy or null.
*/
- @objid ("7417be26-2a96-4a0b-9625-0d68f4f6c056")
+ @objid ("c270b5cd-bccd-4a82-a670-7763b7b04788")
public static DataTypeModel instantiate(final Package obj) {
return DataTypeModel.canInstantiate(obj) ? new DataTypeModel(obj) : null;
}
/**
- * Tries to instantiate a {@link DataTypeModel} proxy from a {@link Package} stereotyped << DataTypeModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataTypeModel} proxy from a {@link Package} stereotyped << DataTypeModel >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Package}
* @return a {@link DataTypeModel} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("481c755d-9d2e-402b-bc44-6ba11e7908e2")
+ @objid ("f36740b0-aab1-4902-a11a-c2e5113e524f")
public static DataTypeModel safeInstantiate(final Package obj) throws IllegalArgumentException {
if (DataTypeModel.canInstantiate(obj))
- return new DataTypeModel(obj);
+ return new DataTypeModel(obj);
else
- throw new IllegalArgumentException("DataTypeModel: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DataTypeModel: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'data' role.
* Role description:
* null
+ *
*/
- @objid ("fd14fbde-5a93-414a-8704-56c4b9631f88")
+ @objid ("8467e567-6cbd-4ffc-9f3e-9239e7f71618")
public void addData(final Data obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
@@ -104,14 +110,15 @@ public void addData(final Data obj) {
* Add a value to the 'dataSources' role.
* Role description:
* null
+ *
*/
- @objid ("6485200c-6702-4d7a-87a9-d00240f3891d")
+ @objid ("592a2df7-61d7-4dbd-8788-dcacb55303c8")
public void addDataSources(final DataSource obj) {
if (obj!=null)
((Package) this.elt).getOwnedElement().add(obj.getElement());
}
- @objid ("783d53bd-7949-487a-8bfb-6cacbefda165")
+ @objid ("e9a62fdd-f065-4437-b815-5e18a06e468f")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -131,14 +138,15 @@ public boolean equals(final Object obj) {
* Get the values of the 'data' role.
* Role description:
* null
+ *
*/
- @objid ("23e03420-7ccd-442f-838a-9934d9e3477a")
+ @objid ("19231258-1418-41f6-b23f-563bdd727986")
public List getData() {
List results = new ArrayList<>();
for (ModelTree mObj : ((Package) this.elt).getOwnedElement()){
- if (Data.canInstantiate(mObj))
- results.add((Data)CamelDesignerProxyFactory.instantiate(mObj, Data.STEREOTYPE_NAME));
- }
+ if (Data.canInstantiate(mObj))
+ results.add((Data)CamelDesignerProxyFactory.instantiate(mObj, Data.STEREOTYPE_NAME));
+ }
return Collections.unmodifiableList(results);
}
@@ -146,29 +154,29 @@ public List getData() {
* Get the values of the 'dataSources' role.
* Role description:
* null
+ *
*/
- @objid ("53888e62-90be-4c9f-82de-19ca8cf0f3d4")
+ @objid ("fb85c99e-36e4-492f-a657-d55458933b9b")
public List
* Role description:
* null
+ *
*/
- @objid ("404a837f-f0a9-4b73-b6c8-2d3306aa7eb0")
+ @objid ("bb1e456e-e4ca-4a8a-acd4-f858221e2f8d")
public boolean removeData(final Data obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -188,8 +197,9 @@ public boolean removeData(final Data obj) {
* Remove a value from the 'dataSources' role.
* Role description:
* null
+ *
*/
- @objid ("cd9c64cd-51a6-4d69-a507-9f5f89255b42")
+ @objid ("060fabbd-9bd2-4c6b-9420-54c6001d6ab5")
public boolean removeDataSources(final DataSource obj) {
return (obj!=null)? ((Package) this.elt).getOwnedElement().remove(obj.getElement()) : false;
}
@@ -204,23 +214,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Connector
* @return a {@link CommunicationInstance} proxy or null.
*/
- @objid ("ff39519c-c57f-4710-af3f-0e9bdb6bbfbe")
+ @objid ("06822dc7-4966-4065-810c-fbd75a84f81d")
public static CommunicationInstance instantiate(final Connector obj) {
return CommunicationInstance.canInstantiate(obj) ? new CommunicationInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link CommunicationInstance} proxy from a {@link Connector} stereotyped << CommunicationInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CommunicationInstance} proxy from a {@link Connector} stereotyped << CommunicationInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Connector}
* @return a {@link CommunicationInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("6a14a774-8914-49b5-859a-51984ecfd7f4")
+ @objid ("670af9e5-9354-471a-97ff-4f91c2a9817c")
public static CommunicationInstance safeInstantiate(final Connector obj) throws IllegalArgumentException {
if (CommunicationInstance.canInstantiate(obj))
- return new CommunicationInstance(obj);
+ return new CommunicationInstance(obj);
else
- throw new IllegalArgumentException("CommunicationInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("CommunicationInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("52a8fa62-275d-4dd2-b731-82f5523fe093")
+ @objid ("3424a97d-246c-403e-9a18-e1fbd0167f34")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Connector}.
- *
+ * Get the underlying {@link Connector}.
* @return the Connector represented by this proxy, never null.
*/
- @objid ("e5c29f93-ea06-4147-8cc5-1057c7120955")
+ @objid ("74d3c1c4-3571-4b04-85ff-f7afe123857e")
@Override
public Connector getElement() {
return (Connector)super.getElement();
@@ -126,8 +123,9 @@ public Connector getElement() {
* Get the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("c3a91b10-45b7-438c-99e1-4bd1da47df58")
+ @objid ("cf487452-ae04-4f95-9aeb-c56a66be56c7")
public DeploymentInstanceModel getParent() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(CommunicationInstance.MdaTypes.MDAASSOCDEP)
@@ -143,8 +141,9 @@ public DeploymentInstanceModel getParent() {
* Get the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("146caa53-6aae-497f-b27b-08d3e985fd52")
+ @objid ("aaeeecb9-d204-4028-a1be-d5bb76ba5feb")
public Communication getType() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(CommunicationInstance.MdaTypes.MDAASSOCDEP)
@@ -156,7 +155,7 @@ public Communication getType() {
return null;
}
- @objid ("8080b5d1-f2fb-4178-976c-19c18c4febb9")
+ @objid ("4d0b5345-79b5-4db8-be84-fb348fb15fcf")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -166,8 +165,9 @@ public int hashCode() {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("39c4c559-f600-435c-b7f5-5a35fa8f8415")
+ @objid ("08e04a5f-fae1-4d3a-a5bb-f1dd65607d81")
public void setParent(final DeploymentInstanceModel obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -191,8 +191,9 @@ public void setParent(final DeploymentInstanceModel obj) {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("261297b4-2d08-4623-97f0-204e92b94922")
+ @objid ("85aa02e7-d71c-424b-942f-477b971674d0")
public void setType(final Communication obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -220,23 +221,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Connector
* @return a {@link HostingInstance} proxy or null.
*/
- @objid ("89e8b199-3270-410a-9751-632af637fd42")
+ @objid ("ec82df5c-1163-4d03-b1a5-80b86df82629")
public static HostingInstance instantiate(final Connector obj) {
return HostingInstance.canInstantiate(obj) ? new HostingInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link HostingInstance} proxy from a {@link Connector} stereotyped << HostingInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link HostingInstance} proxy from a {@link Connector} stereotyped << HostingInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Connector}
* @return a {@link HostingInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("76de75bb-1c5f-4ea6-8130-5817ed8399f2")
+ @objid ("282c7c3e-58fb-4092-a266-1f3f7faae5c2")
public static HostingInstance safeInstantiate(final Connector obj) throws IllegalArgumentException {
if (HostingInstance.canInstantiate(obj))
- return new HostingInstance(obj);
+ return new HostingInstance(obj);
else
- throw new IllegalArgumentException("HostingInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("HostingInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("9c0951b7-475d-4b9f-9530-46cc20e5b251")
+ @objid ("bc2d6cd5-a2e9-4098-83b3-ea5a11a14096")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,11 +109,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Connector}.
- *
+ * Get the underlying {@link Connector}.
* @return the Connector represented by this proxy, never null.
*/
- @objid ("dc9223aa-f686-46ac-ab1c-f1bb5d6ff668")
+ @objid ("0463058a-b123-4c9c-a32a-0fc44c1e462f")
@Override
public Connector getElement() {
return (Connector)super.getElement();
@@ -125,8 +122,9 @@ public Connector getElement() {
* Get the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("49749ede-3d12-4174-b787-093a3a45b1eb")
+ @objid ("078bdca0-a591-402e-876a-4e3fe7c1215d")
public Hosting getType() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(HostingInstance.MdaTypes.MDAASSOCDEP)
@@ -138,7 +136,7 @@ public Hosting getType() {
return null;
}
- @objid ("98c21b03-6dff-4eff-92c4-2194123cc78c")
+ @objid ("fe105191-4d17-4c06-bbfa-5fd71cda93da")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -148,8 +146,9 @@ public int hashCode() {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("3e7bc79f-9cb9-4741-9c38-516de0c2a666")
+ @objid ("61284b1c-1559-40e8-ae27-92d1a8e7e621")
public void setType(final Hosting obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -177,23 +176,23 @@ public List
* Role description:
* null
+ *
*/
- @objid ("41e42fb7-3127-47d9-8b5f-6e40ec5cc34a")
+ @objid ("98e3353e-f4aa-4726-944b-d61974f0b2d7")
public void addProvidedCommunicationInstances(final CommunicationPort obj) {
if (obj!=null)
((Instance) this.elt).getPart().add(obj.getElement());
@@ -77,14 +78,15 @@ public void addProvidedCommunicationInstances(final CommunicationPort obj) {
* Add a value to the 'providedHostInstances' role.
* Role description:
* null
+ *
*/
- @objid ("849b46ca-de27-49c4-a9cd-6db3bd50ac64")
+ @objid ("e4a18be6-3cfa-40ec-89d3-2334ab7d125b")
public void addProvidedHostInstances(final HostingPort obj) {
if (obj!=null)
((Instance) this.elt).getPart().add(obj.getElement());
}
- @objid ("5d2aca28-e584-4986-80be-f54ebe1c0589")
+ @objid ("9c804733-7ede-46f0-be2a-7e3c42f8395a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -105,17 +107,16 @@ public boolean equals(final Object obj) {
* Property description:
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("c412a478-ad6a-4f74-ab79-c11ab6183296")
+ @objid ("ae9276d5-8559-462d-8f46-70ecd41a1cdd")
public List
* Role description:
* null
+ *
*/
- @objid ("c309bc60-354b-4445-b998-3bfd5fcf8fc0")
+ @objid ("a4021e59-8cd1-483b-90dd-3fd1f558869b")
public List
* Role description:
* null
+ *
*/
- @objid ("85d32f37-aede-40e1-b24a-6a13e4704ebc")
+ @objid ("9f93d086-13b0-48e2-9eb9-f17f1b9f697b")
public CamelComponent getType() {
return (CamelComponent)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getBase(), CamelComponent.STEREOTYPE_NAME);
}
- @objid ("460c4c05-f615-4115-b0e1-5b1e36851285")
+ @objid ("3f6ad13f-6873-4a16-a769-e42a42368838")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -181,8 +185,9 @@ public int hashCode() {
* Remove a value from the 'providedCommunicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("7768799e-8c85-4710-9c1b-eeacbfa018a0")
+ @objid ("b9c20464-fe5e-4599-914e-ed3534e40a60")
public boolean removeProvidedCommunicationInstances(final CommunicationPort obj) {
return (obj!=null)? ((Instance) this.elt).getPart().remove(obj.getElement()) : false;
}
@@ -191,8 +196,9 @@ public boolean removeProvidedCommunicationInstances(final CommunicationPort obj)
* Remove a value from the 'providedHostInstances' role.
* Role description:
* null
+ *
*/
- @objid ("cdf27348-be67-4594-9927-d028e6aed7e1")
+ @objid ("6cbd22b1-227f-4fc5-9692-f15305e163eb")
public boolean removeProvidedHostInstances(final HostingPort obj) {
return (obj!=null)? ((Instance) this.elt).getPart().remove(obj.getElement()) : false;
}
@@ -202,7 +208,7 @@ public boolean removeProvidedHostInstances(final HostingPort obj) {
* Property description:
* Property description:
*
* Role description:
* null
+ *
*/
- @objid ("a9ca578a-268e-4562-aafc-dea6ef1513b2")
+ @objid ("8fb789c5-e701-4773-a8b1-2634316569d4")
public void setType(final CamelComponent obj) {
((Instance) this.elt).setBase((obj != null) ? obj.getElement() : null);
}
@@ -235,29 +242,29 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link ContainerInstance} proxy or null.
*/
- @objid ("50a89532-cc51-400c-ab16-4fc32cadae4e")
+ @objid ("da984eb5-d823-4109-bc33-8c6a1e1eb211")
public static ContainerInstance instantiate(final Instance obj) {
return ContainerInstance.canInstantiate(obj) ? new ContainerInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link ContainerInstance} proxy from a {@link Instance} stereotyped << ContainerInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ContainerInstance} proxy from a {@link Instance} stereotyped << ContainerInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link ContainerInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("39703242-e94c-43e8-97ff-3596f09b0399")
+ @objid ("64448ae1-54e6-44d9-991e-7564e946bb18")
public static ContainerInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (ContainerInstance.canInstantiate(obj))
- return new ContainerInstance(obj);
+ return new ContainerInstance(obj);
else
- throw new IllegalArgumentException("ContainerInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ContainerInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'requiredCommunicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("c4826308-e92d-4947-b8f2-e88708d97a28")
+ @objid ("8f5c0ddb-b909-418f-8908-716f1fc935b3")
public void addRequiredCommunicationInstances(final CommunicationPort obj) {
if (obj!=null)
((Instance) this.elt).getPart().add(obj.getElement());
}
- @objid ("0be25de2-e687-472a-bfb6-6860ee2b9a6b")
+ @objid ("f4e11747-2bce-471f-b387-3c10033898ec")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -126,11 +125,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("67cb29f6-faf4-434c-b2dc-f0c53cbef67b")
+ @objid ("e12545c1-e43c-47de-b8a0-9db07a6b504c")
@Override
public Instance getElement() {
return (Instance)super.getElement();
@@ -140,8 +138,9 @@ public Instance getElement() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("5b44766d-9cd2-48f8-91b6-4b5c854d916e")
+ @objid ("db3ff8c7-17f8-40bf-80e5-6177a06e9d4d")
public DeploymentInstanceModel getParent() {
return (DeploymentInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DeploymentInstanceModel.STEREOTYPE_NAME);
}
@@ -150,14 +149,15 @@ public DeploymentInstanceModel getParent() {
* Get the values of the 'requiredCommunicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("283bbcb3-ffb9-4fd8-b263-af8cca5acfd8")
+ @objid ("9bece2d0-8b64-4590-b4e3-6a6dc0364002")
public List
* Role description:
* null
+ *
*/
- @objid ("23bcf2b4-4a5c-489e-be32-463084f5730a")
+ @objid ("d8d47ec9-1c29-4fd7-8dea-9a4618da0432")
public HostingPort getRequiredHostInstance() {
- for (Port obj : ((Instance) this.elt).getPart(Port.class)) {
- if (HostingPort.canInstantiate(obj))
- return (HostingPort)CamelDesignerProxyFactory.instantiate(obj, HostingPort.STEREOTYPE_NAME);
- }
- return null;
+ for (Port obj : ((Instance) this.elt).getPart(Port.class)) {
+ if (HostingPort.canInstantiate(obj))
+ return (HostingPort)CamelDesignerProxyFactory.instantiate(obj, HostingPort.STEREOTYPE_NAME);
+ }
+ return null;
}
- @objid ("9faa97e6-171a-42f1-8a60-dce71f4a967c")
+ @objid ("1d2e89e1-7ef5-4a88-9000-0b30ad7af20e")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -185,8 +186,9 @@ public int hashCode() {
* Remove a value from the 'requiredCommunicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("61dc8d63-d0c9-46ee-bdcd-c67234e46636")
+ @objid ("d0478e51-e936-4f0a-984b-a8d20590dafb")
public boolean removeRequiredCommunicationInstances(final CommunicationPort obj) {
return (obj!=null)? ((Instance) this.elt).getPart().remove(obj.getElement()) : false;
}
@@ -195,8 +197,9 @@ public boolean removeRequiredCommunicationInstances(final CommunicationPort obj)
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("8f92b9a6-7a55-407e-8e51-e0f1e8ec388b")
+ @objid ("1bbbdfac-5611-4dca-ad96-aed1cc8d8049")
public void setParent(final DeploymentInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -205,8 +208,9 @@ public void setParent(final DeploymentInstanceModel obj) {
* Set the value of the 'requiredHostInstance' role.
* Role description:
* null
+ *
*/
- @objid ("dc2bbee8-4b58-4f96-a69e-94de43e29088")
+ @objid ("92caf694-98bf-4b7f-919f-92ed507ed46f")
public void setRequiredHostInstance(final HostingPort obj) {
// Remove existing HostingPorts
for (Port e : ((Instance) this.elt).getPart(Port.class)) {
@@ -228,23 +232,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link PaaSInstance} proxy or null.
*/
- @objid ("a1ec778a-4ff5-4ab7-bac2-a455cfe0f0a1")
+ @objid ("ed96814b-6ea0-4c90-ba3c-23c29003a131")
public static PaaSInstance instantiate(final Instance obj) {
return PaaSInstance.canInstantiate(obj) ? new PaaSInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link PaaSInstance} proxy from a {@link Instance} stereotyped << PaaSInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link PaaSInstance} proxy from a {@link Instance} stereotyped << PaaSInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link PaaSInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("a14d8b62-bc36-4d7b-8cad-7146b5219f18")
+ @objid ("9c0481ac-d6da-46c7-8c2d-8f14945672b7")
public static PaaSInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (PaaSInstance.canInstantiate(obj))
- return new PaaSInstance(obj);
+ return new PaaSInstance(obj);
else
- throw new IllegalArgumentException("PaaSInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("PaaSInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("67d2821a-e5e5-47cf-ac4e-f4e781bee670")
+ @objid ("1bc2f4c2-1545-4ec1-ac6b-a22c7bd88805")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -111,11 +109,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("0bb2d99d-66d7-46aa-a53e-a245dd34dfd5")
+ @objid ("04edf125-a7f8-46ee-8b3e-fb4508976dd3")
@Override
public Instance getElement() {
return (Instance)super.getElement();
@@ -125,13 +122,14 @@ public Instance getElement() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("a3efcb74-7d9d-4c6d-b278-3e8bddf93a15")
+ @objid ("4069f03d-7724-4130-8011-b238133e3764")
public DeploymentInstanceModel getParent() {
return (DeploymentInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DeploymentInstanceModel.STEREOTYPE_NAME);
}
- @objid ("e84ea1d1-64fa-4601-a664-f8b2655618a8")
+ @objid ("f143d82a-90d1-47c4-bdce-2c6b61efe36c")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -141,8 +139,9 @@ public int hashCode() {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("6c3a0a29-191c-438a-b081-f802d484488b")
+ @objid ("34a14910-b362-4cea-a7bc-661fa2f67f7d")
public void setParent(final DeploymentInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -155,23 +154,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link SoftwareComponentInstance} proxy or null.
*/
- @objid ("6bda9e90-bfe2-4d9f-b8fd-aeee9face54e")
+ @objid ("52607fbd-7326-4203-bc78-dfae081a4b8e")
public static SoftwareComponentInstance instantiate(final Instance obj) {
return SoftwareComponentInstance.canInstantiate(obj) ? new SoftwareComponentInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link SoftwareComponentInstance} proxy from a {@link Instance} stereotyped << SoftwareComponentInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link SoftwareComponentInstance} proxy from a {@link Instance} stereotyped << SoftwareComponentInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link SoftwareComponentInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("b91615ff-ca3a-4ef4-98cf-89158dc32ca1")
+ @objid ("f5080d87-88e3-4e0e-b935-cf6cb0faad0f")
public static SoftwareComponentInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (SoftwareComponentInstance.canInstantiate(obj))
- return new SoftwareComponentInstance(obj);
+ return new SoftwareComponentInstance(obj);
else
- throw new IllegalArgumentException("SoftwareComponentInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("SoftwareComponentInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'consumesDataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("8172d3cc-fd4e-4727-8248-8d899f80b330")
+ @objid ("305c22b4-c292-4cbf-adbd-06f55e452062")
public void addConsumesDataInstances(final DataInstance obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -120,8 +119,9 @@ public void addConsumesDataInstances(final DataInstance obj) {
* Add a value to the 'generatesDataInstance' role.
* Role description:
* null
+ *
*/
- @objid ("5e9f02d8-30e4-463e-a49d-f6092440bb64")
+ @objid ("daec0cd8-da46-421a-95f6-1a564a0abf24")
public void addGeneratesDataInstance(final DataInstance obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -135,8 +135,9 @@ public void addGeneratesDataInstance(final DataInstance obj) {
* Add a value to the 'managesDataSourceInstance' role.
* Role description:
* null
+ *
*/
- @objid ("7f15df24-13bf-4733-aeb1-a3cd0d394faa")
+ @objid ("aa4f64fb-5634-42af-a02e-e3b740582f8a")
public void addManagesDataSourceInstance(final DataSourceInstance obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -150,14 +151,15 @@ public void addManagesDataSourceInstance(final DataSourceInstance obj) {
* Add a value to the 'requiredCommunicationsInstances' role.
* Role description:
* null
+ *
*/
- @objid ("942c2301-0481-47b8-a2dd-148346c2e98a")
+ @objid ("c3afd3a1-3bdc-48d2-a2b9-72ef6876a32c")
public void addRequiredCommunicationsInstances(final CommunicationPort obj) {
if (obj!=null)
((Instance) this.elt).getPart().add(obj.getElement());
}
- @objid ("75cb2767-c745-4341-85c4-3d02c81a1cbb")
+ @objid ("c982e4f0-7a05-4913-890e-8287e4a8c9b1")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -177,8 +179,9 @@ public boolean equals(final Object obj) {
* Get the values of the 'consumesDataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("ec319915-b3d6-4ae7-8658-044f6f1fccd6")
+ @objid ("6727a486-7acf-48d8-9cf4-69599e87dcbd")
public List
* Role description:
* null
+ *
*/
- @objid ("09dd695b-2b96-4256-88c8-4df4ca28b802")
+ @objid ("3864caec-2c5c-4910-b0eb-ef79c763eb6e")
public List
* Role description:
* null
+ *
*/
- @objid ("78e17e18-c260-4a04-8986-39f82043e2ce")
+ @objid ("cd6973d5-abf5-4216-b12b-c65ac534e5fc")
public List
* Role description:
* null
+ *
*/
- @objid ("801bf798-d971-47f7-a5da-ebf17a47b47a")
+ @objid ("f0750b32-04c9-4279-b89c-f0d3c0392f70")
public DeploymentInstanceModel getParent() {
return (DeploymentInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DeploymentInstanceModel.STEREOTYPE_NAME);
}
@@ -256,14 +261,15 @@ public DeploymentInstanceModel getParent() {
* Get the values of the 'requiredCommunicationsInstances' role.
* Role description:
* null
+ *
*/
- @objid ("5c51646f-664f-4fb7-a0c7-52be55916156")
+ @objid ("60700392-a51a-4ca9-b886-d06ee2b65048")
public List
* Role description:
* null
+ *
*/
- @objid ("b29fb2ec-713c-44d2-a0d5-e42b826caad4")
+ @objid ("a35f1a53-d224-49cd-834f-bfbc7d60d55a")
public HostingPort getRequiredHostInstance() {
- for (Port obj : ((Instance) this.elt).getPart(Port.class)) {
- if (HostingPort.canInstantiate(obj))
- return (HostingPort)CamelDesignerProxyFactory.instantiate(obj, HostingPort.STEREOTYPE_NAME);
- }
- return null;
+ for (Port obj : ((Instance) this.elt).getPart(Port.class)) {
+ if (HostingPort.canInstantiate(obj))
+ return (HostingPort)CamelDesignerProxyFactory.instantiate(obj, HostingPort.STEREOTYPE_NAME);
+ }
+ return null;
}
- @objid ("cbf47ea4-f6a9-4123-909a-73e044be9975")
+ @objid ("d4c46b59-700c-4b9a-bddf-95d7ae174d6f")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -291,12 +298,13 @@ public int hashCode() {
* Remove a value from the 'consumesDataInstances' role.
* Role description:
* null
+ *
*/
- @objid ("aa8d3361-e9f7-4ac5-8f9d-fd10bd7764a8")
+ @objid ("c1e1ee3c-f83e-450e-81c9-f21107883069")
public boolean removeConsumesDataInstances(final DataInstance obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), "consumesDataInstances"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -310,12 +318,13 @@ public boolean removeConsumesDataInstances(final DataInstance obj) {
* Remove a value from the 'generatesDataInstance' role.
* Role description:
* null
+ *
*/
- @objid ("4ba75e52-5895-4ffc-86e7-cc76e0e419ff")
+ @objid ("be0ad156-1128-4dda-a3c9-9171bbe176f2")
public boolean removeGeneratesDataInstance(final DataInstance obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), "generatesDataInstance"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -329,12 +338,13 @@ public boolean removeGeneratesDataInstance(final DataInstance obj) {
* Remove a value from the 'managesDataSourceInstance' role.
* Role description:
* null
+ *
*/
- @objid ("7369d747-b86e-46d6-8377-d76a4c5f049c")
+ @objid ("1b4f188c-bf4f-4805-bb65-f70c3b96beba")
public boolean removeManagesDataSourceInstance(final DataSourceInstance obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getDependsOnDependency())) {
- if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), ""))
+ if (d.isStereotyped(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP) && Objects.equals(d.getTagValue(SoftwareComponentInstance.MdaTypes.MDAASSOCDEP_ROLE), "managesDataSourceInstance"))
if (Objects.equals(d.getDependsOn(), obj.getElement())) {
d.delete();
return true;
@@ -348,8 +358,9 @@ public boolean removeManagesDataSourceInstance(final DataSourceInstance obj) {
* Remove a value from the 'requiredCommunicationsInstances' role.
* Role description:
* null
+ *
*/
- @objid ("f2d1de23-8651-497a-a942-8efd683b438b")
+ @objid ("defb94a9-27e3-440d-95d8-3dbf4766b950")
public boolean removeRequiredCommunicationsInstances(final CommunicationPort obj) {
return (obj!=null)? ((Instance) this.elt).getPart().remove(obj.getElement()) : false;
}
@@ -358,8 +369,9 @@ public boolean removeRequiredCommunicationsInstances(final CommunicationPort obj
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("91ae6bba-6053-465f-b004-4fe0279b9863")
+ @objid ("a54c18fd-1bd3-419e-8c27-8caad916fcf7")
public void setParent(final DeploymentInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -368,8 +380,9 @@ public void setParent(final DeploymentInstanceModel obj) {
* Set the value of the 'requiredHostInstance' role.
* Role description:
* null
+ *
*/
- @objid ("2ccc8d9d-4df8-4260-8623-1673afb03b7d")
+ @objid ("02ef62e5-a04b-49cb-9800-5919b2aefaa1")
public void setRequiredHostInstance(final HostingPort obj) {
// Remove existing HostingPorts
for (Port e : ((Instance) this.elt).getPart(Port.class)) {
@@ -391,23 +404,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Instance
* @return a {@link VMInstance} proxy or null.
*/
- @objid ("f23e6b1e-02cf-4351-b8dd-4e6f7e912565")
+ @objid ("ea15131b-01d8-4c08-959c-02e5b586eb54")
public static VMInstance instantiate(final Instance obj) {
return VMInstance.canInstantiate(obj) ? new VMInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link VMInstance} proxy from a {@link Instance} stereotyped << VMInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link VMInstance} proxy from a {@link Instance} stereotyped << VMInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Instance}
* @return a {@link VMInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("4c832063-cd32-4a18-8b56-89a4ca387f30")
+ @objid ("6f846810-3b99-4c3d-b9ce-db1393d3c530")
public static VMInstance safeInstantiate(final Instance obj) throws IllegalArgumentException {
if (VMInstance.canInstantiate(obj))
- return new VMInstance(obj);
+ return new VMInstance(obj);
else
- throw new IllegalArgumentException("VMInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("VMInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("e86afb7d-68f0-4018-a91f-da9af5cb1868")
+ @objid ("7bf26dac-d08d-40ea-8cfc-3f25e4afa88f")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -123,11 +121,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Instance}.
- *
+ * Get the underlying {@link Instance}.
* @return the Instance represented by this proxy, never null.
*/
- @objid ("d924f29f-2aa0-4c89-8934-4576d57056d5")
+ @objid ("e95a1486-1384-4cd2-9b12-e2e7ae3e0733")
@Override
public Instance getElement() {
return (Instance)super.getElement();
@@ -137,8 +134,9 @@ public Instance getElement() {
* Get the value of the 'location' role.
* Role description:
* null
+ *
*/
- @objid ("ac06ac4a-6827-4740-9205-bce81fc1a089")
+ @objid ("55e53fd9-b42a-4b39-862f-dba5bd244d3f")
public Location getLocation() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(VMInstance.MdaTypes.MDAASSOCDEP)
@@ -156,8 +154,9 @@ public Location getLocation() {
* Get the value of the 'os' role.
* Role description:
* null
+ *
*/
- @objid ("8138d1c4-8dd3-456b-96f6-237b9d228288")
+ @objid ("98c95723-c6f3-40ad-b3f5-f20ebd2583e4")
public CamelAttribute getOs() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(VMInstance.MdaTypes.MDAASSOCDEP)
@@ -187,13 +186,14 @@ public CamelAttribute getOs() {
* Get the value to the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("3cbcaa0d-e0e2-47c4-a057-0a8c8a38d636")
+ @objid ("79491a3c-9040-42d6-ba74-7e36ffaf4dca")
public DeploymentInstanceModel getParent() {
return (DeploymentInstanceModel)CamelDesignerProxyFactory.instantiate(((Instance) this.elt).getOwner(), DeploymentInstanceModel.STEREOTYPE_NAME);
}
- @objid ("d0f0939a-0785-40b1-8b23-bf888ac9001b")
+ @objid ("7c8e2c79-5f17-420e-ade7-92edd7912705")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -203,8 +203,9 @@ public int hashCode() {
* Set the value of the 'location' role.
* Role description:
* null
+ *
*/
- @objid ("d4b33e29-dbfb-48e2-bc3f-c47146bfac34")
+ @objid ("f46224a3-2409-40b9-b856-5ca07503895f")
public void setLocation(final Location obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -228,8 +229,9 @@ public void setLocation(final Location obj) {
* Set the value of the 'os' role.
* Role description:
* null
+ *
*/
- @objid ("b0f97e8b-2a5b-4d2b-b18d-f607e1d128c1")
+ @objid ("dd353f16-4735-42d8-b65f-a4c832276d2b")
public void setOs(final CamelAttribute obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -253,8 +255,9 @@ public void setOs(final CamelAttribute obj) {
* Set the value of the 'parent' role.
* Role description:
* null
+ *
*/
- @objid ("cd3b0bb1-0a89-41eb-b34d-1b77049a87aa")
+ @objid ("425399d1-5d05-4773-87ec-038e4ba21c21")
public void setParent(final DeploymentInstanceModel obj) {
((Instance) this.elt).setOwner((obj != null) ? obj.getElement() : null);
}
@@ -267,23 +270,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Package
* @return a {@link DeploymentInstanceModel} proxy or null.
*/
- @objid ("b4d0fc8c-184c-48fb-b6cb-8ab9a5626517")
+ @objid ("abddd2c0-ab94-4c1b-81ca-c8514948d6f5")
public static DeploymentInstanceModel instantiate(final Package obj) {
return DeploymentInstanceModel.canInstantiate(obj) ? new DeploymentInstanceModel(obj) : null;
}
/**
- * Tries to instantiate a {@link DeploymentInstanceModel} proxy from a {@link Package} stereotyped << DeploymentInstanceModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentInstanceModel} proxy from a {@link Package} stereotyped << DeploymentInstanceModel >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Package}
* @return a {@link DeploymentInstanceModel} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("92ec0511-073a-45ab-b22b-e75ff130d7bf")
+ @objid ("2d615d49-32a4-42cd-8b5e-fa32e5e1ec77")
public static DeploymentInstanceModel safeInstantiate(final Package obj) throws IllegalArgumentException {
if (DeploymentInstanceModel.canInstantiate(obj))
- return new DeploymentInstanceModel(obj);
+ return new DeploymentInstanceModel(obj);
else
- throw new IllegalArgumentException("DeploymentInstanceModel: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("DeploymentInstanceModel: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value of the 'communicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("077811ca-3f89-46a6-97c1-daa0ba11cc39")
+ @objid ("73498214-409c-4340-93cf-0c38798972c6")
public void addCommunicationInstances(final CommunicationInstance obj) {
if (obj != null) {
IModelingSession session = CamelDesignerModule.getInstance().getModuleContext().getModelingSession();
@@ -120,8 +119,9 @@ public void addCommunicationInstances(final CommunicationInstance obj) {
* Add a value to the 'containerInstances' role.
* Role description:
* null
+ *
*/
- @objid ("3d540112-b1dd-4752-87ac-1eed0c8b481a")
+ @objid ("efba17af-489b-4fa1-95e9-0d714d810faa")
public void addContainerInstances(final ContainerInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
@@ -131,8 +131,9 @@ public void addContainerInstances(final ContainerInstance obj) {
* Add a value to the 'paasInstances' role.
* Role description:
* null
+ *
*/
- @objid ("fb162ef6-6ac6-4a37-9655-197cd0186cba")
+ @objid ("b2d8cb39-fca2-4c81-b7d0-38029aecd428")
public void addPaasInstances(final PaaSInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
@@ -142,8 +143,9 @@ public void addPaasInstances(final PaaSInstance obj) {
* Add a value to the 'softwareComponentInstances' role.
* Role description:
* null
+ *
*/
- @objid ("13812a8b-17a5-47cf-8ab9-2493286c53a8")
+ @objid ("e60fa5ce-d4f9-4e65-bb2a-55daeec080e8")
public void addSoftwareComponentInstances(final SoftwareComponentInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
@@ -153,14 +155,15 @@ public void addSoftwareComponentInstances(final SoftwareComponentInstance obj) {
* Add a value to the 'vmInstances' role.
* Role description:
* null
+ *
*/
- @objid ("4f2495d8-ed61-4918-a774-81ed29b71bc4")
+ @objid ("c8a8361c-0362-4eb3-be35-0a9410a39787")
public void addVmInstances(final VMInstance obj) {
if (obj!=null)
((Package) this.elt).getDeclared().add(obj.getElement());
}
- @objid ("07f8ef2a-d0da-4438-a556-ae3b645f7d27")
+ @objid ("795cd6cb-a2da-423b-9af5-9c72bc0619f3")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -180,8 +183,9 @@ public boolean equals(final Object obj) {
* Get the values of the 'communicationInstances' role.
* Role description:
* null
+ *
*/
- @objid ("3c758235-28a2-4204-ab47-f3d02a9a5d44")
+ @objid ("7daf7ac9-0929-468c-a725-dfdf5f5e4b60")
public List
* Role description:
* null
+ *
*/
- @objid ("36218586-5a40-419c-ae36-58f77e426941")
+ @objid ("2f734710-29b1-42b0-a416-fbb86acfb789")
public List
* Role description:
* null
+ *
*/
- @objid ("0c6d1254-4af0-4f8e-b5ce-98fa64140e5c")
+ @objid ("87ab060f-d4d2-40e0-9242-65acfff4a30f")
public List
* Role description:
* null
+ *
*/
- @objid ("90268109-17b7-4fd5-9a5c-59e6c5afac76")
+ @objid ("f30c933b-ee3a-440a-8780-f326303afdce")
public List
* Role description:
* null
+ *
*/
- @objid ("79063a6c-825a-4840-b3cb-87132f3f09c5")
+ @objid ("9560a4d8-0d28-4857-bd16-5890fccf5f11")
public DeploymentTypeModel getType() {
for (Dependency d : this.elt.getDependsOnDependency()) {
if (d.isStereotyped(DeploymentInstanceModel.MdaTypes.MDAASSOCDEP)
@@ -271,18 +278,19 @@ public DeploymentTypeModel getType() {
* Get the values of the 'vmInstances' role.
* Role description:
* null
+ *
*/
- @objid ("cd3efb88-d29c-4d44-b68e-7f29ceb9bb5a")
+ @objid ("f46c4b22-4697-4f01-91c2-a9207eebc946")
public List
* Role description:
* null
+ *
*/
- @objid ("01c588b7-75e9-4272-b284-d36b4f4f6f1e")
+ @objid ("be4be6b6-83d0-4e80-b7fa-3219ac6067ae")
public boolean removeCommunicationInstances(final CommunicationInstance obj) {
if (obj != null) {
for (Dependency d : new ArrayList<>(this.elt.getImpactedDependency())) {
@@ -311,8 +320,9 @@ public boolean removeCommunicationInstances(final CommunicationInstance obj) {
* Remove a value from the 'containerInstances' role.
* Role description:
* null
+ *
*/
- @objid ("f6764696-3349-47cd-b6b0-fd4fe2de7a38")
+ @objid ("c67b937a-e27e-441a-8ba9-5a28c5aff8ca")
public boolean removeContainerInstances(final ContainerInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -321,8 +331,9 @@ public boolean removeContainerInstances(final ContainerInstance obj) {
* Remove a value from the 'paasInstances' role.
* Role description:
* null
+ *
*/
- @objid ("d194450f-2b52-4e6b-9f28-ee5ad472f03d")
+ @objid ("799e5880-870d-47be-bf17-2e57235fd9c0")
public boolean removePaasInstances(final PaaSInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -331,8 +342,9 @@ public boolean removePaasInstances(final PaaSInstance obj) {
* Remove a value from the 'softwareComponentInstances' role.
* Role description:
* null
+ *
*/
- @objid ("1bb051d4-1f1c-4bf4-b5a1-36cfedd62bae")
+ @objid ("d884aa17-42f4-4e3b-9bdd-9a5c3b400d42")
public boolean removeSoftwareComponentInstances(final SoftwareComponentInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -341,8 +353,9 @@ public boolean removeSoftwareComponentInstances(final SoftwareComponentInstance
* Remove a value from the 'vmInstances' role.
* Role description:
* null
+ *
*/
- @objid ("48afe2ba-ee5a-4a42-925b-d9efeffb83f9")
+ @objid ("179ecc1e-3424-43dc-b5ee-263ff7cff2e4")
public boolean removeVmInstances(final VMInstance obj) {
return (obj!=null)? ((Package) this.elt).getDeclared().remove(obj.getElement()) : false;
}
@@ -351,8 +364,9 @@ public boolean removeVmInstances(final VMInstance obj) {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("60778243-5220-4b73-9f72-da49d773227e")
+ @objid ("41e8e8a8-3dbb-4d86-8d50-51ace3aa04aa")
public void setType(final DeploymentTypeModel obj) {
Dependency dep = null;
for (Dependency d : this.elt.getDependsOnDependency())
@@ -380,23 +394,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Port
* @return a {@link CommunicationPortInstance} proxy or null.
*/
- @objid ("f2a6d42c-204f-426f-8398-3e31c293aa1a")
+ @objid ("85f3d704-9dbf-4ed6-a5fa-4dde7959a27b")
public static CommunicationPortInstance instantiate(final Port obj) {
return CommunicationPortInstance.canInstantiate(obj) ? new CommunicationPortInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link CommunicationPortInstance} proxy from a {@link Port} stereotyped << CommunicationPortInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CommunicationPortInstance} proxy from a {@link Port} stereotyped << CommunicationPortInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Port}
* @return a {@link CommunicationPortInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("eb19307b-8d1d-46aa-b187-253e19410606")
+ @objid ("e3cff112-28cc-4373-9021-3638bf050c7c")
public static CommunicationPortInstance safeInstantiate(final Port obj) throws IllegalArgumentException {
if (CommunicationPortInstance.canInstantiate(obj))
- return new CommunicationPortInstance(obj);
+ return new CommunicationPortInstance(obj);
else
- throw new IllegalArgumentException("CommunicationPortInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("CommunicationPortInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("6052b57d-b99a-4132-9ede-ce4874a08403")
+ @objid ("b26a5508-573a-4361-9704-3172898b49e2")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Port}.
- *
+ * Get the underlying {@link Port}.
* @return the Port represented by this proxy, never null.
*/
- @objid ("cf9141cd-6170-4a22-86d9-912d4bb2e1cd")
+ @objid ("5ef45f79-598e-4e8a-b3e8-4b68446983bd")
@Override
public Port getElement() {
return (Port)super.getElement();
@@ -126,13 +123,14 @@ public Port getElement() {
* Get the value to the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("729984fd-7477-4dc2-85bf-8a15e433b004")
+ @objid ("36e1f25b-b9c7-485a-bc9a-9291121af363")
public CommunicationPort getType() {
return (CommunicationPort)CamelDesignerProxyFactory.instantiate(((Port) this.elt).getRepresentedFeature(), CommunicationPort.STEREOTYPE_NAME);
}
- @objid ("0747822e-c02c-469b-b43b-688935279c02")
+ @objid ("444a00a8-7f48-479b-bcd6-456d4378a9ac")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -142,8 +140,9 @@ public int hashCode() {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("71680710-0f14-48b2-9ef4-9dbbd143867d")
+ @objid ("86eac4ac-2120-4f1d-961b-6c564c32e2fa")
public void setType(final CommunicationPort obj) {
((Port) this.elt).setRepresentedFeature((obj != null) ? obj.getElement() : null);
}
@@ -156,23 +155,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Port
* @return a {@link HostingPortInstance} proxy or null.
*/
- @objid ("487c8b66-71a8-4276-b016-0c56e7a4edcc")
+ @objid ("74b6d69a-30b3-421d-b9d1-bf839ac1899a")
public static HostingPortInstance instantiate(final Port obj) {
return HostingPortInstance.canInstantiate(obj) ? new HostingPortInstance(obj) : null;
}
/**
- * Tries to instantiate a {@link HostingPortInstance} proxy from a {@link Port} stereotyped << HostingPortInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link HostingPortInstance} proxy from a {@link Port} stereotyped << HostingPortInstance >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Port}
* @return a {@link HostingPortInstance} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("0c7902bd-ab3e-4770-8893-d6c52cef28d9")
+ @objid ("9b4698d3-ec89-4e86-979e-a90874451136")
public static HostingPortInstance safeInstantiate(final Port obj) throws IllegalArgumentException {
if (HostingPortInstance.canInstantiate(obj))
- return new HostingPortInstance(obj);
+ return new HostingPortInstance(obj);
else
- throw new IllegalArgumentException("HostingPortInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("HostingPortInstance: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("dd799d41-51bf-42c2-aa97-517013c44c93")
+ @objid ("35e0e719-a4ce-4f79-9c2d-452d873ef7a6")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -112,11 +110,10 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Port}.
- *
+ * Get the underlying {@link Port}.
* @return the Port represented by this proxy, never null.
*/
- @objid ("65ec9f68-95f1-4536-9f37-c5c091ccb849")
+ @objid ("b3245721-14fa-488a-8de9-2b48225d5746")
@Override
public Port getElement() {
return (Port)super.getElement();
@@ -126,13 +123,14 @@ public Port getElement() {
* Get the value to the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("3abbb43f-3237-4691-ba2b-62886649855f")
+ @objid ("02860c7c-9a4c-4a9d-81f5-89903e2a4865")
public HostingPort getType() {
return (HostingPort)CamelDesignerProxyFactory.instantiate(((Port) this.elt).getRepresentedFeature(), HostingPort.STEREOTYPE_NAME);
}
- @objid ("f8991e7d-be65-4239-9f7a-ce563577a884")
+ @objid ("7ef69d27-bdcd-4a94-8f46-47b58866018a")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -142,8 +140,9 @@ public int hashCode() {
* Set the value of the 'type' role.
* Role description:
* null
+ *
*/
- @objid ("1643d6cc-9079-48d4-abf6-7901c19083e1")
+ @objid ("a6bd454c-84cb-4d3f-9862-18c0759c5d1a")
public void setType(final HostingPort obj) {
((Port) this.elt).setRepresentedFeature((obj != null) ? obj.getElement() : null);
}
@@ -156,23 +155,23 @@ public List
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Artifact
* @return a {@link BuildConfiguration} proxy or null.
*/
- @objid ("8f536794-0a94-4f26-ba0a-d0580cc3696a")
+ @objid ("ef2bb6c5-496a-4708-9405-ab842e7468dd")
public static BuildConfiguration instantiate(final Artifact obj) {
return BuildConfiguration.canInstantiate(obj) ? new BuildConfiguration(obj) : null;
}
/**
- * Tries to instantiate a {@link BuildConfiguration} proxy from a {@link Artifact} stereotyped << BuildConfiguration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link BuildConfiguration} proxy from a {@link Artifact} stereotyped << BuildConfiguration >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Artifact}
* @return a {@link BuildConfiguration} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("06f97304-98db-45ca-b613-92aea4d931cf")
+ @objid ("24ea4e6e-10b0-433b-a776-290fa1714a1b")
public static BuildConfiguration safeInstantiate(final Artifact obj) throws IllegalArgumentException {
if (BuildConfiguration.canInstantiate(obj))
- return new BuildConfiguration(obj);
+ return new BuildConfiguration(obj);
else
- throw new IllegalArgumentException("BuildConfiguration: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("BuildConfiguration: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("39e37666-5f55-4571-b801-8fd5ba586c11")
+ @objid ("d6287b6f-d1a9-4df2-8975-6c4646eb662a")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -130,7 +128,7 @@ public boolean equals(final Object obj) {
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
* Property description:
*
* The method returns null if the instantiation cannot be carried out.
- *
* @param obj a Artifact
* @return a {@link ClusterConfiguration} proxy or null.
*/
- @objid ("2cbb83b6-38cf-45fc-a53e-0ce51fc07ec3")
+ @objid ("fe7a7704-71fa-4c0a-87e5-a2f1efb0eaa1")
public static ClusterConfiguration instantiate(final Artifact obj) {
return ClusterConfiguration.canInstantiate(obj) ? new ClusterConfiguration(obj) : null;
}
/**
- * Tries to instantiate a {@link ClusterConfiguration} proxy from a {@link Artifact} stereotyped << ClusterConfiguration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ClusterConfiguration} proxy from a {@link Artifact} stereotyped << ClusterConfiguration >> checking its metaclass and its stereotype.
*
* The method throws an {@link IllegalArgumentException} if the instantiation cannot be carried out.
- *
* @param obj a {@link Artifact}
* @return a {@link ClusterConfiguration} proxy.
- * @throws java.lang.IllegalArgumentException if the instantiation cannot be carried out.
+ * @throws IllegalArgumentException if the instantiation cannot be carried out.
*/
- @objid ("6a104122-5e2e-48bd-b408-a274e39f57bf")
+ @objid ("e7603771-8b18-4d2f-ad40-c4f4d5a1c8f3")
public static ClusterConfiguration safeInstantiate(final Artifact obj) throws IllegalArgumentException {
if (ClusterConfiguration.canInstantiate(obj))
- return new ClusterConfiguration(obj);
+ return new ClusterConfiguration(obj);
else
- throw new IllegalArgumentException("ClusterConfiguration: Cannot instantiate "+obj+": wrong element type or stereotype");
+ throw new IllegalArgumentException("ClusterConfiguration: Cannot instantiate "+obj+": wrong element type or stereotype");
}
/**
* Add a value to the 'configParameters' role.
* Role description:
* null
+ *
*/
- @objid ("7abf11fa-9ffc-4d5e-a22e-5c8607ccb558")
+ @objid ("6c06e609-4e07-4f7c-a856-4b521a41ad75")
public void addConfigParameters(final AttributeAttribute obj) {
if (obj!=null)
((Artifact) this.elt).getOwnedAttribute().add(obj.getElement());
}
- @objid ("5ffe0050-9836-4abb-8b96-e844bb576196")
+ @objid ("300cf190-685d-4f2d-8fbf-66f8d04575b7")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -131,18 +130,19 @@ public boolean equals(final Object obj) {
* Get the values of the 'configParameters' role.
* Role description:
* null
+ *
*/
- @objid ("342a26d2-d346-4155-8e1f-7936feedb24e")
+ @objid ("0886b5c1-4b0a-41e0-8fac-142e18aadfe5")
public Listtrue
if the instantiation can be carried out else false
.
*/
- @objid ("6691d50a-9c47-45a1-9d3c-c208b4852d94")
+ @objid ("12ec3ee5-7da7-408d-b6a4-3e39b6fc4d85")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Dependency) && ((Dependency) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, PropertyDependency.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link PropertyDependency} proxy on the created {@link Dependency}.
*/
- @objid ("42c2a61d-5ea5-4963-881e-657c77409b02")
+ @objid ("4e018fbc-ce30-47a1-8bf5-b1e29e8cc91e")
public static PropertyDependency create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Infrastructure.Dependency");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, PropertyDependency.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static PropertyDependency create() {
}
/**
- * Tries to instantiate a {@link PropertyDependency} proxy from a {@link Dependency} stereotyped << PropertyDependency >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link PropertyDependency} proxy from a {@link Dependency} stereotyped << PropertyDependency >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("6c3a2782-ed01-4606-a221-199c003b221b")
+ @objid ("ca15981b-429f-4cf8-b9be-6915e3369b88")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ModelElement) && ((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelAttribute.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static CamelAttribute instantiate(final ModelElement obj) {
AttributeClass.canInstantiate(obj) ? AttributeClass.instantiate(obj) : null;
}
- @objid ("5cb25aa1-f7b7-4a27-9ec3-9854248d6d5e")
+ @objid ("a727cc49-4817-45f5-a76a-1fc62ca63dc9")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -75,17 +75,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ModelElement}.
- *
+ * Get the underlying {@link ModelElement}.
* @return the ModelElement represented by this proxy, never null.
*/
- @objid ("31c81e00-c273-4600-9748-496d173c6bbc")
+ @objid ("0410a071-8416-4516-a0f1-ca603789e35a")
@Override
public ModelElement getElement() {
return (ModelElement)super.getElement();
}
- @objid ("2dc886d2-b687-4ff1-b0a6-9751b1dd72ae")
+ @objid ("30b0bae6-3cdd-4792-aaed-8453c8c4c17a")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -109,23 +108,23 @@ public int hashCode() {
@objid ("dfa12e10-a0f9-4768-872b-ef51ea1a5db9")
public abstract void setValueType(final ValueType obj);
- @objid ("c610541f-3686-4dda-a0ae-72bd3c9302c0")
+ @objid ("9a84c540-8568-4cf2-8e47-4c443aa54a39")
protected CamelAttribute(final ModelElement elt) {
super(elt);
}
@objid ("b2b5f006-86dd-4eba-8d2f-bb3d0fc4f4f7")
public static final class MdaTypes {
- @objid ("0f716e01-4d7b-4d51-aaad-9fc5823bebdd")
+ @objid ("a06b842d-6117-4581-9c6b-7525f8a5aac6")
public static Stereotype STEREOTYPE_ELT;
- @objid ("7557a899-a236-4a7f-aa2d-57e051609c2b")
+ @objid ("0c546b1b-8192-4533-800b-c1bffa0ce614")
private static Stereotype MDAASSOCDEP;
- @objid ("d1cbb900-bb96-4db8-ba5f-4304dadd777c")
+ @objid ("54828a45-81a4-4783-8f86-85e50fef2a7b")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("cdc87a0f-71ef-42f4-b41d-78ea86a7c703")
+ @objid ("e2e457f2-1451-4ffe-b871-8df2121c320d")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "342512a5-ad9b-48b8-a454-5fd44237b8f2");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -133,11 +132,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/CamelElement.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/CamelElement.java
index 71ad7e80..07b6ef4b 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/CamelElement.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/CamelElement.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
@@ -35,13 +35,13 @@
*/
@objid ("e19016d0-0edb-4a41-bbf9-7506c03fcd5e")
public abstract class CamelElement {
- @objid ("f2140c4e-8948-4ba9-8ba1-6ab4f695eaee")
+ @objid ("947ac8c3-e608-4a2f-a1bf-68fa7d1fb2a8")
public static final String STEREOTYPE_NAME = "CamelElement";
/**
* The underlying {@link ModelElement} represented by this proxy, never null.
*/
- @objid ("1772827d-101c-4f2b-9759-8f1f0e8994b4")
+ @objid ("97a8af30-0759-4cad-abdf-d7d2fcd394f4")
protected final ModelElement elt;
/**
@@ -52,7 +52,7 @@ public abstract class CamelElement {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("11ace1da-2a32-4e0a-9920-8ec58f712c29")
+ @objid ("9aa1b126-a7da-41ef-9b33-366bc28f19cd")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ModelElement) && ((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelElement.STEREOTYPE_NAME));
}
@@ -64,7 +64,7 @@ public static CamelElement instantiate(final ModelElement obj) {
Annotation.canInstantiate(obj) ? Annotation.instantiate((Dependency)obj) : null;
}
- @objid ("a8bc1e44-be0b-4e04-9e8d-8fbc24941621")
+ @objid ("bfbe1065-409e-4b46-8d14-f978ee347c68")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -81,16 +81,15 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ModelElement}.
- *
+ * Get the underlying {@link ModelElement}.
* @return the ModelElement represented by this proxy, never null.
*/
- @objid ("aac6e2e5-be39-4d72-b161-e7b5a3b13907")
+ @objid ("bff718df-e64e-4551-bd8b-555e284e9217")
public ModelElement getElement() {
return this.elt;
}
- @objid ("9f1946f6-67af-4ec8-9f1e-244d695f0223")
+ @objid ("6c6d5b52-347a-435f-bc71-13311c487c5f")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -101,23 +100,23 @@ public Listtrue
if the instantiation can be carried out else false
.
*/
- @objid ("65a1cda4-7665-4587-8228-59b7331cb63a")
+ @objid ("c9de39ab-d18f-49f8-8a52-2e9f1c45c119")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ModelElement) && ((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ExpendableElement.STEREOTYPE_NAME));
}
@@ -58,8 +58,9 @@ public static boolean canInstantiate(final MObject elt) {
* Add a value to the 'annotations' role.true
if the instantiation can be carried out else false
.
*/
- @objid ("1b3dfb69-a5e7-400c-bc43-d970ed1a7072")
+ @objid ("49831bd7-47ad-4d33-9d18-26eff79afc44")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ModelElement) && ((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, Feature.STEREOTYPE_NAME));
}
@@ -91,7 +91,7 @@ public static Feature safeinstantiate(final ModelElement obj) throws IllegalArgu
throw new IllegalArgumentException("Feature: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("e3841225-6ed1-494a-a264-09f4ceaca9b4")
+ @objid ("38740a41-2351-4324-b804-033519a21894")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -108,39 +108,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ModelElement}.
- *
+ * Get the underlying {@link ModelElement}.
* @return the ModelElement represented by this proxy, never null.
*/
- @objid ("21333d22-160a-4b46-a0d8-a1b079ab5024")
+ @objid ("2e951837-7a0a-48ec-8de6-dd5062c94936")
@Override
public ModelElement getElement() {
return (ModelElement)super.getElement();
}
- @objid ("c10bd901-54cb-46f6-9a8a-a2337311bb2c")
+ @objid ("e135915d-5bc5-48d1-8387-813b26427aeb")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("3432472e-c6c8-4df2-8193-863732bd6e65")
+ @objid ("127672c8-31b6-4aeb-ace8-69e3fc9bab32")
protected Feature(final ModelElement elt) {
super(elt);
}
@objid ("0cb56ef2-b57c-49c0-afb4-c4b5f234e49b")
public static final class MdaTypes {
- @objid ("e4f2d3e5-04cc-4a2f-849a-5a43f9e37bca")
+ @objid ("02a8ff53-289b-49c8-a966-09674f3efc66")
public static Stereotype STEREOTYPE_ELT;
- @objid ("9a53f925-949c-41c1-b6e1-00077f6f46d4")
+ @objid ("9c9be014-31a7-4515-8193-2b3bccc806e1")
private static Stereotype MDAASSOCDEP;
- @objid ("c8f6a8f4-1fca-401d-b0bf-e7e50d8f4665")
+ @objid ("d0d90fd3-e6b8-430e-9c0d-67ba8e7b9ced")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("6399cee1-ab15-4cf7-ab32-a1993fb052a2")
+ @objid ("377846c4-cf45-4e77-a61d-1795a5805575")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "1ff10997-aa56-4f9b-b413-f32fadcc29bb");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -148,11 +147,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/NamedElement.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/NamedElement.java
index 6f11d9ed..65df95f7 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/NamedElement.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/NamedElement.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
@@ -34,7 +34,7 @@
*/
@objid ("cdca4c86-c0ef-4910-a37e-df9c087b8f69")
public abstract class NamedElement extends CamelElement {
- @objid ("7b3cbce7-f6d0-425e-89e6-52fd56f6cf7b")
+ @objid ("0c18418b-6c65-46ed-8af2-2e7a084ff32a")
public static final String STEREOTYPE_NAME = "NamedElement";
/**
@@ -45,12 +45,12 @@ public abstract class NamedElement extends CamelElement {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("d9a7e1b5-3335-44f4-8efd-35c06d422b8c")
+ @objid ("c794d87f-c21c-42e1-8059-2f4555edbe24")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ModelElement) && ((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, NamedElement.STEREOTYPE_NAME));
}
- @objid ("4e0055db-e777-4ec0-9cba-2c574a00b2cf")
+ @objid ("0e2915f8-03c6-4aea-bcbf-eb42c569170b")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -67,17 +67,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link ModelElement}.
- *
+ * Get the underlying {@link ModelElement}.
* @return the ModelElement represented by this proxy, never null.
*/
- @objid ("a9bcb5b9-aee5-4345-ace7-9bf404c9dcfc")
+ @objid ("7451c674-096c-44b5-bcf9-3795aa539eca")
@Override
public ModelElement getElement() {
return (ModelElement)super.getElement();
}
- @objid ("eaf5efcc-1e22-41d7-8f8b-b9dd26daa03c")
+ @objid ("fa1051a6-8944-4522-9dc6-6827bc7c4efb")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -117,23 +116,23 @@ public void setName(String name) {
this.elt.setName(name);
}
- @objid ("772a7a2f-d28a-41ef-9bbc-761377c55608")
+ @objid ("1b1bb70b-53ed-4854-bfff-4499668a5b95")
protected NamedElement(final ModelElement elt) {
super(elt);
}
@objid ("246df9d9-a77b-433f-b4f3-69cc11ca5913")
public static final class MdaTypes {
- @objid ("e384fd7e-afbc-4310-a35f-e5d4c4536449")
+ @objid ("b3c4252f-709d-472d-a08e-af5bc769dc52")
public static Stereotype STEREOTYPE_ELT;
- @objid ("a2fa7801-c06c-463b-9839-e275f76a0008")
+ @objid ("84b07ba4-faa6-48b8-bbb8-e88bcbc0d06c")
private static Stereotype MDAASSOCDEP;
- @objid ("ffe87c72-948c-4e5e-9eda-2b9aa05ba0a3")
+ @objid ("bbe161c1-8e7c-4e8c-a28f-dc73c17ba0f8")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("902cf251-d27c-418e-a427-8e505e88a44e")
+ @objid ("97104c3e-a16f-4233-97c9-d246c8c18869")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "0fcc7434-c82f-4c57-a814-8a9233fdc9b0");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -141,11 +140,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/artifact/FeatureArtifact.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/artifact/FeatureArtifact.java
index 7694c18a..86458263 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/artifact/FeatureArtifact.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/artifact/FeatureArtifact.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.artifact;
@@ -36,7 +36,7 @@
*/
@objid ("c53cf713-fc4f-4cff-9d81-f11d85440927")
public class FeatureArtifact extends FeatureClassifier {
- @objid ("2c34467b-8912-4e37-b7b0-4640da90adc7")
+ @objid ("d598139b-f070-4c7b-af77-b7843cc755b1")
public static final String STEREOTYPE_NAME = "Feature_Artifact";
/**
@@ -47,7 +47,7 @@ public class FeatureArtifact extends FeatureClassifier {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("1399fc56-db8e-421f-8f5e-bd7755070c10")
+ @objid ("30b635e0-01a8-4016-bcf0-a28ff5fc6753")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Artifact) && ((Artifact) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureArtifact.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureArtifact} proxy on the created {@link Artifact}.
*/
- @objid ("30e6cc83-ce8a-43c0-9eaf-a5c790789b1c")
+ @objid ("c8001906-0bdf-4dd4-ad47-6f0d508e5480")
public static FeatureArtifact create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Artifact");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureArtifact.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static FeatureArtifact create() {
}
/**
- * Tries to instantiate a {@link FeatureArtifact} proxy from a {@link Artifact} stereotyped << Feature_Artifact >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureArtifact} proxy from a {@link Artifact} stereotyped << Feature_Artifact >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("85df43bf-2894-461f-bd7a-9167cbd878ce")
+ @objid ("0cca4cfd-b03f-45c6-833c-7c1aff9ae906")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Attribute) && ((Attribute) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, AttributeAttribute.STEREOTYPE_NAME));
}
@@ -63,7 +63,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link AttributeAttribute} proxy on the created {@link Attribute}.
*/
- @objid ("c24a1493-0ea8-4c0d-b3c6-40e97c2b05c8")
+ @objid ("6db0f771-9a88-4aa5-94ac-71ff8a39eaeb")
public static AttributeAttribute create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Attribute");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, AttributeAttribute.STEREOTYPE_NAME);
@@ -71,36 +71,34 @@ public static AttributeAttribute create() {
}
/**
- * Tries to instantiate a {@link AttributeAttribute} proxy from a {@link Attribute} stereotyped << Attribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeAttribute} proxy from a {@link Attribute} stereotyped << Attribute_Attribute >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("52bf0acc-61cb-4675-b748-298d33f50c60")
+ @objid ("62c75039-dc41-4d4c-a52e-1cd9bfa4105e")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Attribute) && ((Attribute) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MeasurableAttributeAttribute.STEREOTYPE_NAME));
}
@@ -56,7 +56,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MeasurableAttributeAttribute} proxy on the created {@link Attribute}.
*/
- @objid ("ddd46d68-f35d-46e2-8aac-e606c0f7cb2e")
+ @objid ("9e5fb06e-9f71-49cd-a3f5-e00bef8a4286")
public static MeasurableAttributeAttribute create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Attribute");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MeasurableAttributeAttribute.STEREOTYPE_NAME);
@@ -64,41 +64,40 @@ public static MeasurableAttributeAttribute create() {
}
/**
- * Tries to instantiate a {@link MeasurableAttributeAttribute} proxy from a {@link Attribute} stereotyped << MeasurableAttribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MeasurableAttributeAttribute} proxy from a {@link Attribute} stereotyped << MeasurableAttribute_Attribute >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("a96579fd-ac3e-481f-a28c-35b657d608b5")
+ @objid ("3b7b0369-b9eb-414b-96dc-a48c351cd872")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Attribute) && ((Attribute) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, QualityAttributeAttribute.STEREOTYPE_NAME));
}
@@ -54,7 +54,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link QualityAttributeAttribute} proxy on the created {@link Attribute}.
*/
- @objid ("7fb9c1d2-41a8-4187-983e-a8b686533729")
+ @objid ("04f1fb32-ce93-42cc-8d6c-0e0ac2c54803")
public static QualityAttributeAttribute create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Attribute");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, QualityAttributeAttribute.STEREOTYPE_NAME);
@@ -62,36 +62,34 @@ public static QualityAttributeAttribute create() {
}
/**
- * Tries to instantiate a {@link QualityAttributeAttribute} proxy from a {@link Attribute} stereotyped << QualityAttribute_Attribute >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link QualityAttributeAttribute} proxy from a {@link Attribute} stereotyped << QualityAttribute_Attribute >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("104405e1-e4aa-4f30-a3ed-9c4e8e2f84d1")
+ @objid ("598ca355-894a-47b4-971d-905fca6e8e9a")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, Application.STEREOTYPE_NAME));
}
@@ -59,7 +59,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link Application} proxy on the created {@link Class}.
*/
- @objid ("9e22cbbe-addc-4722-950d-03e4cdfe93a3")
+ @objid ("cfa7cf25-1e3b-421a-9d80-97633e6c196d")
public static Application create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, Application.STEREOTYPE_NAME);
@@ -67,36 +67,34 @@ public static Application create() {
}
/**
- * Tries to instantiate a {@link Application} proxy from a {@link Class} stereotyped << Application >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link Application} proxy from a {@link Class} stereotyped << Application >> checking its metaclass and its stereotype.
*
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("15e398c1-0a11-4f4a-826d-a412b1e34e0c")
+ @objid ("f910772d-97b8-4f10-9441-0483e91da8ab")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, AttributeClass.STEREOTYPE_NAME));
}
@@ -71,7 +72,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link AttributeClass} proxy on the created {@link Class}.
*/
- @objid ("2aea9885-3572-415e-a217-9a6f4c01bbbb")
+ @objid ("baf288fb-11c9-4c17-817e-b86694aef118")
public static AttributeClass create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, AttributeClass.STEREOTYPE_NAME);
@@ -79,36 +80,34 @@ public static AttributeClass create() {
}
/**
- * Tries to instantiate a {@link AttributeClass} proxy from a {@link Class} stereotyped << Attribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeClass} proxy from a {@link Class} stereotyped << Attribute_Class >> checking its metaclass and its stereotype.
*
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("ea7b37a3-0aca-4c40-b880-2a2e795fe6e8")
+ @objid ("f6279894-e1af-4736-b356-a56fbc289947")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureClass.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureClass} proxy on the created {@link Class}.
*/
- @objid ("87dc807f-44f3-4b10-aa04-9baa004aed22")
+ @objid ("b37a78b3-a3f4-4b36-903b-209c4a685f34")
public static FeatureClass create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureClass.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static FeatureClass create() {
}
/**
- * Tries to instantiate a {@link FeatureClass} proxy from a {@link Class} stereotyped << Feature_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureClass} proxy from a {@link Class} stereotyped << Feature_Class >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("93a70e07-4f5e-4dcf-926d-47a5829db7d4")
+ @objid ("d8c9d268-d8a3-45f1-92d7-c3a654bbc581")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MeasurableAttributeClass.STEREOTYPE_NAME));
}
@@ -56,7 +56,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MeasurableAttributeClass} proxy on the created {@link Class}.
*/
- @objid ("308e1f94-4199-4a26-97f4-440b3a7c4363")
+ @objid ("d3c13431-aa37-42c1-8635-90f724f3a073")
public static MeasurableAttributeClass create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MeasurableAttributeClass.STEREOTYPE_NAME);
@@ -64,41 +64,40 @@ public static MeasurableAttributeClass create() {
}
/**
- * Tries to instantiate a {@link MeasurableAttributeClass} proxy from a {@link Class} stereotyped << MeasurableAttribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MeasurableAttributeClass} proxy from a {@link Class} stereotyped << MeasurableAttribute_Class >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("53f97db8-88b0-43ae-99c0-3aa4e03d5b4b")
+ @objid ("129700d7-b155-4b70-a545-c3e49d75e3b8")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, QualityAttributeClass.STEREOTYPE_NAME));
}
@@ -54,7 +54,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link QualityAttributeClass} proxy on the created {@link Class}.
*/
- @objid ("b286daa2-0ede-48fc-a4f9-602fd3701498")
+ @objid ("1aa4823b-0b57-4c5d-a430-78e88c7b5717")
public static QualityAttributeClass create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, QualityAttributeClass.STEREOTYPE_NAME);
@@ -62,36 +62,34 @@ public static QualityAttributeClass create() {
}
/**
- * Tries to instantiate a {@link QualityAttributeClass} proxy from a {@link Class} stereotyped << QualityAttribute_Class >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link QualityAttributeClass} proxy from a {@link Class} stereotyped << QualityAttribute_Class >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("c3dbd314-eb65-475f-9bfc-14aaad07ab49")
+ @objid ("da423b56-d0c6-4299-a0c4-7c34223f4e28")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Classifier) && ((Classifier) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureClassifier.STEREOTYPE_NAME));
}
@@ -147,8 +147,9 @@ public static boolean canInstantiate(final MObject elt) {
* Add a value to the 'attributes' role.true
if the instantiation can be carried out else false
.
*/
- @objid ("27590b21-f964-44ae-a8a2-4be0601ccd3a")
+ @objid ("7c2717f3-00a6-4927-b090-37e024bd9f88")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Connector) && ((Connector) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureConnector.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureConnector} proxy on the created {@link Connector}.
*/
- @objid ("fe113482-3af9-4cc0-9f3e-21a599681998")
+ @objid ("de5f3ccd-aa6b-460d-8358-5f3119d01eb9")
public static FeatureConnector create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Connector");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureConnector.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static FeatureConnector create() {
}
/**
- * Tries to instantiate a {@link FeatureConnector} proxy from a {@link Connector} stereotyped << Feature_Connector >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureConnector} proxy from a {@link Connector} stereotyped << Feature_Connector >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("fdff3918-76d5-4e10-9fe4-96387d531bed")
+ @objid ("3f04cdc4-1953-433f-8aed-f436cc3e6874")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof DataType) && ((DataType) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureDataType.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureDataType} proxy on the created {@link DataType}.
*/
- @objid ("dfb68c7a-a6f8-43c4-8a57-bb9bc4f4e5bb")
+ @objid ("80265807-9d4d-4d9b-a40b-6887a8533661")
public static FeatureDataType create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.DataType");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureDataType.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static FeatureDataType create() {
}
/**
- * Tries to instantiate a {@link FeatureDataType} proxy from a {@link DataType} stereotyped << Feature_DataType >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureDataType} proxy from a {@link DataType} stereotyped << Feature_DataType >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9f8b8108-482f-43b8-8db0-17ca5ea6a105")
+ @objid ("7d7963b9-79ff-40c2-8ebb-b00c38312bf6")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Enumeration) && ((Enumeration) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureEnumeration.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureEnumeration} proxy on the created {@link Enumeration}.
*/
- @objid ("25179470-0f2f-41af-9f80-b4171c171589")
+ @objid ("5d0ef833-3b7d-4e2d-850e-59f3c1797dc7")
public static FeatureEnumeration create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Enumeration");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureEnumeration.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static FeatureEnumeration create() {
}
/**
- * Tries to instantiate a {@link FeatureEnumeration} proxy from a {@link Enumeration} stereotyped << Feature_Enumeration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureEnumeration} proxy from a {@link Enumeration} stereotyped << Feature_Enumeration >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("c5221794-2704-4491-bdf3-9c9fca8ed4dc")
+ @objid ("717bbcab-17eb-4776-b684-a5427478741e")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureInstance.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeatureInstance} proxy on the created {@link Instance}.
*/
- @objid ("972bab42-07df-4a90-b267-061d7cbd490e")
+ @objid ("74ad4720-f01b-43f2-a0b9-f08b52e668f4")
public static FeatureInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeatureInstance.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static FeatureInstance create() {
}
/**
- * Tries to instantiate a {@link FeatureInstance} proxy from a {@link Instance} stereotyped << Feature_Instance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeatureInstance} proxy from a {@link Instance} stereotyped << Feature_Instance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("19911443-eb07-4e4c-bbd1-7cbc3a7a20e5")
+ @objid ("6b1aaa63-9159-4aa3-8f07-8289b976ee51")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof NameSpace) && ((NameSpace) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, Action.STEREOTYPE_NAME));
}
@@ -59,7 +59,7 @@ public static Action safeInstantiate(NameSpace obj) {
throw new IllegalArgumentException("Action: Cannot instantiate "+obj+": wrong element type or stereotype");
}
- @objid ("aae34ba2-ef2d-45b2-b627-209fa779433e")
+ @objid ("5fb99757-5ced-43c3-8544-db50e1d55321")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -76,39 +76,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link NameSpace}.
- *
+ * Get the underlying {@link NameSpace}.
* @return the NameSpace represented by this proxy, never null.
*/
- @objid ("a7408c82-9095-4a13-a74e-196ee9c434c2")
+ @objid ("973d6595-d0cb-473a-985c-16084a450aa2")
@Override
public NameSpace getElement() {
return (NameSpace)super.getElement();
}
- @objid ("6917dc0e-7c02-4646-97b2-cfed78a3996e")
+ @objid ("2a5a33fc-3ef2-4a99-8932-1d618ffc6a24")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("b5d660b4-c580-4a0c-b5f6-ae71c69378ed")
+ @objid ("0c7c7d3d-566a-40b5-ad8b-fe92e065b5df")
protected Action(final NameSpace elt) {
super(elt);
}
@objid ("c5dc4266-14c2-4368-9374-34e0d3602383")
public static final class MdaTypes {
- @objid ("cbb50109-b92d-4777-b0a1-845092359a1d")
+ @objid ("b1656d0a-83be-4fd3-b823-7a38f0d7b53b")
public static Stereotype STEREOTYPE_ELT;
- @objid ("f034ae9f-9d8f-4ae4-b7d6-5e2def767b21")
+ @objid ("f163009e-715c-43a0-8dfb-75116904d421")
private static Stereotype MDAASSOCDEP;
- @objid ("377e057d-1d18-402c-b980-89756b8c52b3")
+ @objid ("3f92ddd5-49b7-4c04-8cbb-03017d46523a")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("6a05dd79-62a8-40af-8c83-7f1a0bbc2e62")
+ @objid ("098aaa16-a199-480d-b14d-21ac02846d2d")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "b23cd4a9-cc6d-43b4-b5fc-fbab5abf866b");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -116,11 +115,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/CamelModel.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/CamelModel.java
index 5673f74e..919f7486 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/CamelModel.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/CamelModel.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.camelcore.standard.package_;
@@ -55,13 +55,13 @@
*/
@objid ("67058037-b681-4ff5-91f4-e5aa09469cd2")
public class CamelModel extends ExpendableElement {
- @objid ("e7f32e69-80fa-4bb1-b2f0-5070ac6a1047")
+ @objid ("e46ce07f-784c-4aae-a0d6-b92d85609b61")
public static final String STEREOTYPE_NAME = "CamelModel";
- @objid ("ba2f1784-c1b3-4eae-87cd-7b3d0f7a8480")
+ @objid ("ed85b0e8-946d-4373-bc17-ec913e2899fc")
public static final String APPLICATIONNAME_TAGTYPE = "applicationName";
- @objid ("b4382caf-ab98-4210-8494-887e911c29cd")
+ @objid ("7777c081-6933-4ba7-93c1-8f00b357501c")
public static final String APPLICATIONVERSION_TAGTYPE = "applicationVersion";
/**
@@ -72,7 +72,7 @@ public class CamelModel extends ExpendableElement {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("cedada48-f24e-4ff1-b569-03efa8a2e337")
+ @objid ("d74dfaa9-7b9d-42bb-afa9-0d772221725a")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelModel.STEREOTYPE_NAME));
}
@@ -82,7 +82,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link CamelModel} proxy on the created {@link Package}.
*/
- @objid ("f9741b69-60ad-4e2a-b455-79c6a0946248")
+ @objid ("eb818cdf-a8bd-4e58-bb8a-5c58bd0b57a4")
public static CamelModel create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Package");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, CamelModel.STEREOTYPE_NAME);
@@ -90,41 +90,40 @@ public static CamelModel create() {
}
/**
- * Tries to instantiate a {@link CamelModel} proxy from a {@link Package} stereotyped << CamelModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelModel} proxy from a {@link Package} stereotyped << CamelModel >> checking its metaclass and its stereotype.
*
null
null
null
nullfalse
if the instantiation cannot be carried out.
- *
+ *
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("ca63f013-043d-4787-a823-d7e3a18dec94")
+ @objid ("a639aee1-6cf8-49a0-901d-87407781c8e3")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeaturePackage.STEREOTYPE_NAME));
}
@@ -70,8 +77,9 @@ public static boolean canInstantiate(final MObject elt) {
* Add a value to the 'attributes' role.false
if the instantiation cannot be carried out.
- *
+ *
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("57c9827f-21de-46ec-b2f0-a9e44a6e046b")
+ @objid ("b2f1dc96-3320-4f63-a6cf-552ee409081b")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, SubModel.STEREOTYPE_NAME));
}
@@ -71,14 +79,7 @@ public static SubModel instantiate(final Package obj) {
UnitModel.canInstantiate(obj) ? UnitModel.instantiate(obj) : null;
}
- @Override
- public Listtrue
if the instantiation can be carried out else false
.
*/
- @objid ("eb576342-0cab-4243-8ccd-9acfdf5845fc")
+ @objid ("30a87a14-0e23-484f-a099-563f2f320cc2")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Port) && ((Port) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeaturePort.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link FeaturePort} proxy on the created {@link Port}.
*/
- @objid ("b1e3f2ed-c5ea-42dd-9759-13abb301f724")
+ @objid ("d5a5c6e2-d674-45dd-911e-1a0e69a7eb77")
public static FeaturePort create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Port");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, FeaturePort.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static FeaturePort create() {
}
/**
- * Tries to instantiate a {@link FeaturePort} proxy from a {@link Port} stereotyped << Feature_Port >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link FeaturePort} proxy from a {@link Port} stereotyped << Feature_Port >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9b0c36cd-999a-4935-a460-d332b688c88e")
+ @objid ("1e44c76a-95a7-4487-a954-4ed77010ed97")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof AbstractDiagram) && ((AbstractDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, AbstractCamelDiagram.STEREOTYPE_NAME));
}
- @objid ("737bc4e1-333b-4d09-87cd-7899726137cf")
+ @objid ("47ce14f0-8436-44f4-93df-bfe9f1a203b9")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -67,39 +67,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link AbstractDiagram}.
- *
+ * Get the underlying {@link AbstractDiagram}.
* @return the AbstractDiagram represented by this proxy, never null.
*/
- @objid ("1efaaa42-2aa7-42e5-a16a-b63ab6032294")
+ @objid ("c7433740-76b7-4e0a-ba9e-22f607f7f025")
@Override
public AbstractDiagram getElement() {
return (AbstractDiagram)super.getElement();
}
- @objid ("77307449-5c0a-4f32-a46c-1e50d1652af7")
+ @objid ("cbe5ff01-daad-40d1-a627-3fdcd00dda1b")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("81bb3166-10f6-4266-ab1b-a303a90bb571")
+ @objid ("290227c4-d0e0-4a3d-8a6d-cf79ba7d90b1")
protected AbstractCamelDiagram(final AbstractDiagram elt) {
super(elt);
}
@objid ("96cdd4aa-6ccf-4f23-a3d7-5aaaba7243d3")
public static final class MdaTypes {
- @objid ("506b1261-3ded-4f2c-b3c3-90c69b310fdd")
+ @objid ("f751fea1-a485-4c6e-a77a-8fb5ca44ae6b")
public static Stereotype STEREOTYPE_ELT;
- @objid ("d76a68c2-8a8c-4927-a19e-ada93d84aa87")
+ @objid ("73eee0c7-f66e-44ef-9f50-3b7496a397ed")
private static Stereotype MDAASSOCDEP;
- @objid ("a698121d-0adc-4109-a2a2-2f45afe7ceda")
+ @objid ("af4ac895-aa12-40b1-bb99-44f6be65b0a8")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("7b567359-0e07-4d42-9ca8-9a42c6ecb24e")
+ @objid ("12bae290-61c2-49ab-ab18-45d6cbc533d2")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "c147d6d3-8bd0-4b94-a9d6-164a947fa0b4");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -107,11 +106,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/CamelModelDiagram.java b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/CamelModelDiagram.java
index 3f5bff5b..b2c6c710 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/CamelModelDiagram.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/cameldiagrams/standard/classdiagram/CamelModelDiagram.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.cameldiagrams.standard.classdiagram;
@@ -36,7 +36,7 @@
*/
@objid ("2c59f838-a1e2-4ac9-bf6c-e229175cc354")
public class CamelModelDiagram extends AbstractCamelDiagram {
- @objid ("1edbcbc4-b518-4dbe-9007-7e0ed4af9994")
+ @objid ("1125e817-b6b6-491a-9612-34b287c22299")
public static final String STEREOTYPE_NAME = "CamelModelDiagram";
/**
@@ -47,7 +47,7 @@ public class CamelModelDiagram extends AbstractCamelDiagram {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("ba054718-6f9e-48f4-a9fa-ae56ec3c890e")
+ @objid ("9fceb36b-4b74-43d3-ac70-6d7800984ca3")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link CamelModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("bcaff51c-df80-43a5-ab2d-22f9de290396")
+ @objid ("cf5faf10-db61-401e-8c16-0825c8508ebb")
public static CamelModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, CamelModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static CamelModelDiagram create() {
}
/**
- * Tries to instantiate a {@link CamelModelDiagram} proxy from a {@link ClassDiagram} stereotyped << CamelModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelModelDiagram} proxy from a {@link ClassDiagram} stereotyped << CamelModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("4d0894b0-ab13-4830-a17a-a9a7869f4471")
+ @objid ("3f7f99ce-034d-40e0-beee-975b5cb2a35f")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelViewPoint.STEREOTYPE_NAME));
}
@@ -60,7 +60,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link CamelViewPoint} proxy on the created {@link ClassDiagram}.
*/
- @objid ("e1bf2121-aec7-47eb-a410-44d026d5b004")
+ @objid ("c3990da4-32e5-41db-a375-12e3f695d818")
public static CamelViewPoint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, CamelViewPoint.STEREOTYPE_NAME);
@@ -68,36 +68,34 @@ public static CamelViewPoint create() {
}
/**
- * Tries to instantiate a {@link CamelViewPoint} proxy from a {@link ClassDiagram} stereotyped << CamelViewPoint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CamelViewPoint} proxy from a {@link ClassDiagram} stereotyped << CamelViewPoint >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("681c220d-a5ec-46b0-9d8d-378bd9ee6577")
+ @objid ("cff924d8-55cc-408b-9928-de79c424be54")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ConstraintModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ConstraintModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("64154d9c-0e76-43f7-9d3d-0edc4c060e8c")
+ @objid ("a898fdec-07a6-4329-88e3-2b945ea9fbc4")
public static ConstraintModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ConstraintModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static ConstraintModelDiagram create() {
}
/**
- * Tries to instantiate a {@link ConstraintModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ConstraintModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ConstraintModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ConstraintModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("ea0126b1-a843-42e6-975f-9485fa9a8c42")
+ @objid ("05d15526-6586-41b8-9100-f5eb5ec9d1bd")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceModelDiagram.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataInstanceModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("bc974118-834a-4db8-8593-c7f3dbb6dad1")
+ @objid ("0b04ebcf-7b6b-4e96-bfa4-0f3b4324782b")
public static DataInstanceModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceModelDiagram.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static DataInstanceModelDiagram create() {
}
/**
- * Tries to instantiate a {@link DataInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataInstanceModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("8d107d9f-22b6-4883-9c96-f6ae1bb096dc")
+ @objid ("6bb67f79-c719-45a6-a58a-c81fe34cd9a5")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataTypeModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataTypeModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("5ad92ad6-fa8a-4d25-a75c-41dd06d3630b")
+ @objid ("75bb2c36-f22f-4197-9b4f-68fbe8710e28")
public static DataTypeModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataTypeModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static DataTypeModelDiagram create() {
}
/**
- * Tries to instantiate a {@link DataTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DataTypeModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("05402543-5f9a-4615-bbe7-0ecf84dab58d")
+ @objid ("c4ee270f-a874-4b40-9fe3-30035ad3d880")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DeploymentInstanceModelDiagram.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DeploymentInstanceModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("eb86d77e-f009-4cac-a3ab-fe4b2b6abaa5")
+ @objid ("f01eddef-4a47-489c-a52f-d6dad2b5b88b")
public static DeploymentInstanceModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DeploymentInstanceModelDiagram.STEREOTYPE_NAME);
@@ -63,36 +63,34 @@ public static DeploymentInstanceModelDiagram create() {
}
/**
- * Tries to instantiate a {@link DeploymentInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentInstanceModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9d164003-32b9-47cf-991e-37a38dcc8098")
+ @objid ("44ac8226-f271-46b4-91e2-a9fdecf4e6d3")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DeploymentTypeModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DeploymentTypeModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("ec8152ed-6add-4133-9c66-62c081f97ce7")
+ @objid ("a164c4d9-b8a9-469d-83a2-235bb38e9248")
public static DeploymentTypeModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DeploymentTypeModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static DeploymentTypeModelDiagram create() {
}
/**
- * Tries to instantiate a {@link DeploymentTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << DeploymentTypeModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("14abb5fe-0281-4500-a130-73cf7052c53c")
+ @objid ("069847d4-6e04-4f23-9883-f8cdf61ce11e")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ExecutionModelDiagram.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ExecutionModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("89e4c754-855e-4e76-bb9e-291c4609ff51")
+ @objid ("e90555bd-a076-47cc-ace9-66055691fcad")
public static ExecutionModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ExecutionModelDiagram.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static ExecutionModelDiagram create() {
}
/**
- * Tries to instantiate a {@link ExecutionModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ExecutionModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ExecutionModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ExecutionModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("470c1b1d-7748-4f9a-b6c5-6601a4609405")
+ @objid ("d5aeddfe-6368-4e8c-a3cb-b9b1c11ce645")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, LocationModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link LocationModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("03d1bd91-6f5f-4931-a046-6bd8c8b345cf")
+ @objid ("23349a77-9afb-4ab8-ba6c-9f1b24f092c5")
public static LocationModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, LocationModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static LocationModelDiagram create() {
}
/**
- * Tries to instantiate a {@link LocationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << LocationModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link LocationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << LocationModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("8a42dd15-4535-4d17-93a6-81fbb7d13ddc")
+ @objid ("0e4118ab-cfd5-4893-9416-7a8b281a5b8d")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MetadataModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MetadataModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("15c7d54b-0d2c-4721-aeb9-4cd6816bb31c")
+ @objid ("770dac17-57e5-4552-97c5-fc55bc59d250")
public static MetadataModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MetadataModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static MetadataModelDiagram create() {
}
/**
- * Tries to instantiate a {@link MetadataModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetadataModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetadataModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetadataModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("ca55a76d-7f14-4d37-98b9-a74264704688")
+ @objid ("694ca9d8-4a4e-446d-9e0c-906d7c0c956d")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MetricInstanceModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MetricInstanceModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("1d2f6f88-b735-47f7-8e5c-13c4edc56621")
+ @objid ("425b52e7-4851-4f5e-9ba7-c00db6815fef")
public static MetricInstanceModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MetricInstanceModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static MetricInstanceModelDiagram create() {
}
/**
- * Tries to instantiate a {@link MetricInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricInstanceModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricInstanceModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricInstanceModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("b1cbf4aa-dbe5-4bf2-9827-b2c3fd659fc0")
+ @objid ("0f4c3a09-a662-4126-ac5f-97b1f5dcf9a9")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MetricTypeModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MetricTypeModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("98a3ce53-6f7d-4e93-aeb6-bdfcec5b0642")
+ @objid ("22136a21-2c1d-4d75-b208-25e38a8daf0d")
public static MetricTypeModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MetricTypeModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static MetricTypeModelDiagram create() {
}
/**
- * Tries to instantiate a {@link MetricTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricTypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricTypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << MetricTypeModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("7aaf4540-347f-4512-a372-62af3fd962f2")
+ @objid ("0e879723-6d36-4004-9ad3-d50708ca94d2")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, OrganisationModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link OrganisationModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("9c5e05f6-b3b2-4f9c-a1c2-66d46d1a51c2")
+ @objid ("d73c65d2-c4d5-4cf0-af01-fdf704be2515")
public static OrganisationModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, OrganisationModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static OrganisationModelDiagram create() {
}
/**
- * Tries to instantiate a {@link OrganisationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << OrganisationModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link OrganisationModelDiagram} proxy from a {@link ClassDiagram} stereotyped << OrganisationModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9d1454c7-3e58-4469-a62b-901624dc9bf1")
+ @objid ("22eab346-4db4-4549-ab5d-6ee144a31f83")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, RequirementModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link RequirementModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("db704b1a-efe2-4cda-b292-cd00b45025d2")
+ @objid ("4d94ae11-6edc-402b-8cdb-87510b283933")
public static RequirementModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, RequirementModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static RequirementModelDiagram create() {
}
/**
- * Tries to instantiate a {@link RequirementModelDiagram} proxy from a {@link ClassDiagram} stereotyped << RequirementModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link RequirementModelDiagram} proxy from a {@link ClassDiagram} stereotyped << RequirementModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("b06b596a-7515-4484-91e7-71288f23c04c")
+ @objid ("62d92954-e9fb-46cc-9006-99c2571999c1")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ScalabilityModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ScalabilityModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("d1d44315-11d1-4828-9d6b-c70778ad9b36")
+ @objid ("1a0a8356-6b9d-48b4-9159-7685a6e4d820")
public static ScalabilityModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ScalabilityModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static ScalabilityModelDiagram create() {
}
/**
- * Tries to instantiate a {@link ScalabilityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ScalabilityModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ScalabilityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << ScalabilityModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("c1f4c9cf-ecfe-4d78-a27b-3191af01f1a8")
+ @objid ("0d1d8d64-3217-4a8c-94fa-2d8cae0781b6")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, SecurityModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link SecurityModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("5ea699a8-b627-4b0c-af03-f2424a381ff4")
+ @objid ("5c0d14d4-df66-4326-9107-105a95428aba")
public static SecurityModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, SecurityModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static SecurityModelDiagram create() {
}
/**
- * Tries to instantiate a {@link SecurityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << SecurityModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link SecurityModelDiagram} proxy from a {@link ClassDiagram} stereotyped << SecurityModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("479bd85c-3f2f-4ced-9efb-15f2b841152c")
+ @objid ("476fa9cf-c6d6-4849-902d-3ed8c781456a")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, TypeModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link TypeModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("ff65ea5c-6305-433b-8e23-5fd56b0fc777")
+ @objid ("e3feb93d-311d-45b0-9699-8685387b8a28")
public static TypeModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, TypeModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static TypeModelDiagram create() {
}
/**
- * Tries to instantiate a {@link TypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << TypeModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link TypeModelDiagram} proxy from a {@link ClassDiagram} stereotyped << TypeModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("d50c163b-e8a8-4fc6-adae-998da224276d")
+ @objid ("c0b85ccf-fd2a-43d3-96d9-9571b292d607")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof ClassDiagram) && ((ClassDiagram) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, UnitModelDiagram.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link UnitModelDiagram} proxy on the created {@link ClassDiagram}.
*/
- @objid ("444c9b9e-d5c3-43f1-a542-5d1b01b67699")
+ @objid ("8a21a747-a239-4d3b-80e1-f04f48ec0209")
public static UnitModelDiagram create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.ClassDiagram");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, UnitModelDiagram.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static UnitModelDiagram create() {
}
/**
- * Tries to instantiate a {@link UnitModelDiagram} proxy from a {@link ClassDiagram} stereotyped << UnitModelDiagram >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link UnitModelDiagram} proxy from a {@link ClassDiagram} stereotyped << UnitModelDiagram >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("6c10288b-195a-4c27-99c6-4aaf4ed78733")
+ @objid ("989bdbd4-a868-46cc-9ca7-53867d295d68")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, AttributeConstraint.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link AttributeConstraint} proxy on the created {@link Constraint}.
*/
- @objid ("30076312-c72c-4035-a24f-96277b299e4e")
+ @objid ("6cd2ddcd-75f3-4c8d-88ed-f13986ae2923")
public static AttributeConstraint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Constraint");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, AttributeConstraint.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static AttributeConstraint create() {
}
/**
- * Tries to instantiate a {@link AttributeConstraint} proxy from a {@link Constraint} stereotyped << AttributeConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link AttributeConstraint} proxy from a {@link Constraint} stereotyped << AttributeConstraint >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("31662112-0d93-40a6-9ced-d0add73798dc")
+ @objid ("d397d38d-c6eb-4bc8-8411-3b829b27484f")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CamelConstraint.STEREOTYPE_NAME));
}
@@ -56,7 +56,7 @@ public static CamelConstraint instantiate(final Constraint obj) {
CompositeConstraint.canInstantiate(obj) ? CompositeConstraint.instantiate(obj) : null;
}
- @objid ("8a55306a-0551-4a96-b2c5-3b9da2d7e199")
+ @objid ("17640e7a-2777-472b-bfb8-e27fb973ee27")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -73,39 +73,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("3b736d00-593a-4e95-8efc-ad7e61e13048")
+ @objid ("e66b6efc-0470-4060-859c-8c2541cf8ee1")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
}
- @objid ("ad5f90f3-9ce4-4314-a4a9-568820ec9b0c")
+ @objid ("f43992f7-3806-4006-b476-1034d46627b7")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("a05e637a-9421-4250-8365-bb8ca0a9f8bb")
+ @objid ("0705f820-be86-4fd1-8a00-b6dc491fd966")
protected CamelConstraint(final Constraint elt) {
super(elt);
}
@objid ("c2b5b585-3d59-484d-8c6a-ed96326a9e5e")
public static final class MdaTypes {
- @objid ("335eb350-8bb2-46c6-ab84-0a7722270d1d")
+ @objid ("2cf37b78-64b0-4d70-b783-2cacfb4e1b96")
public static Stereotype STEREOTYPE_ELT;
- @objid ("f53b2734-1cb5-473a-920d-220be3019f0b")
+ @objid ("71f4fabc-fd27-44a7-9270-a27c2aa1fad6")
private static Stereotype MDAASSOCDEP;
- @objid ("3ba711f3-7f5b-493c-bc62-9391b80d84bc")
+ @objid ("94253259-c1b2-40e7-aba4-e10d99695bc5")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("30d578c1-a039-4c11-8041-3db141314753")
+ @objid ("a15028cd-e030-4aad-bb9a-e8d2c77c8cef")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "4afa0df7-c748-4db8-b9a7-a082a8419c00");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -113,11 +112,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/CompositeConstraint.java b/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/CompositeConstraint.java
index dfdc3a29..4b2f2d3e 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/CompositeConstraint.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/CompositeConstraint.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.constraintmodel.standard.constraint;
@@ -33,7 +33,7 @@
*/
@objid ("bf982af0-30cc-42f7-934c-17e02bb00b58")
public abstract class CompositeConstraint extends CamelConstraint {
- @objid ("365624ea-ec4b-424e-a0dd-90049a1d8efe")
+ @objid ("3161cff9-8392-45b9-b7f8-05a12c1e69be")
public static final String STEREOTYPE_NAME = "CompositeConstraint";
/**
@@ -44,7 +44,7 @@ public abstract class CompositeConstraint extends CamelConstraint {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("85ef9b9c-83c9-4c4a-8035-c71f261f43ba")
+ @objid ("5326a7b0-8033-4634-a823-bf8389cc3af9")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CompositeConstraint.STEREOTYPE_NAME));
}
@@ -55,7 +55,7 @@ public static CompositeConstraint instantiate(final Constraint obj) {
LogicalConstraint.canInstantiate(obj) ? LogicalConstraint.instantiate(obj) : null;
}
- @objid ("fa2929db-0715-4c45-bb36-512a6b834e42")
+ @objid ("eac9ebe9-d0cc-4fdb-8d26-1448d7fb0ffd")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -72,39 +72,38 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Constraint}.
- *
+ * Get the underlying {@link Constraint}.
* @return the Constraint represented by this proxy, never null.
*/
- @objid ("173fa96a-c01d-4649-bbf1-970e5c575059")
+ @objid ("57091e35-208a-43ee-918a-e9217b2621b6")
@Override
public Constraint getElement() {
return (Constraint)super.getElement();
}
- @objid ("fbb26498-aa81-404d-a58c-3f040c2fcba5")
+ @objid ("7bfdd894-daaa-4990-ad04-3150ca56a5f7")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
}
- @objid ("7f84f53f-4b99-45f9-890f-afd229f0d2ff")
+ @objid ("c8596ef3-cbb0-4580-82bd-e8c8ae7c1682")
protected CompositeConstraint(final Constraint elt) {
super(elt);
}
@objid ("16d6b202-8190-4fdc-ad51-7afb89d0af01")
public static final class MdaTypes {
- @objid ("6a2b432d-b097-4d2b-9c18-ac8b375d468f")
+ @objid ("a8cb7afe-3cac-47c3-952e-8b3eccf6aa13")
public static Stereotype STEREOTYPE_ELT;
- @objid ("06323a25-fb46-470d-9df9-af7e2818477b")
+ @objid ("e2c8822d-5803-45c2-9e7c-95e653df1873")
private static Stereotype MDAASSOCDEP;
- @objid ("b4086af8-efda-4d53-9a78-44db622d14f8")
+ @objid ("e9307bd0-093b-4d69-adf4-171eaa337add")
private static TagType MDAASSOCDEP_ROLE;
- @objid ("ba0c0e6c-e430-48d7-8fc6-afabd5e61b38")
+ @objid ("e076e0fb-c243-4c07-97ea-a15f6dd5cbd0")
public static void init(final IModuleContext ctx) {
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "95f69da8-e7d7-494b-90a7-db1618fa56fc");
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
@@ -112,11 +111,11 @@ public static void init(final IModuleContext ctx) {
}
-static {
- if(CamelDesignerModule.getInstance() != null) {
- init(CamelDesignerModule.getInstance().getModuleContext());
- }
- }
+ static {
+ if(CamelDesignerModule.getInstance() != null) {
+ init(CamelDesignerModule.getInstance().getModuleContext());
+ }
+ }
}
}
diff --git a/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/IfThenConstraint.java b/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/IfThenConstraint.java
index 7c2fb505..e39b03b9 100644
--- a/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/IfThenConstraint.java
+++ b/src/main/java/fr/softeam/cameldesigner/api/constraintmodel/standard/constraint/IfThenConstraint.java
@@ -1,8 +1,8 @@
/*
* WARNING: GENERATED FILE - DO NOT EDIT
- * Module: CamelDesigner v1.0.09
+ * Module: CamelDesigner v1.0.10
- * This file was generated on 4/20/22 10:37 AM by Modelio Studio.
+ * This file was generated on 4/27/22 11:51 AM by Modelio Studio.
*/
package fr.softeam.cameldesigner.api.constraintmodel.standard.constraint;
@@ -15,6 +15,7 @@
import fr.softeam.cameldesigner.api.ICamelDesignerPeerModule;
import fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement.CamelElement;
import fr.softeam.cameldesigner.api.constraintmodel.standard.constraint.AttributeConstraint;
+import fr.softeam.cameldesigner.api.constraintmodel.standard.constraint.CamelConstraint;
import fr.softeam.cameldesigner.api.constraintmodel.standard.constraint.LogicalConstraint;
import fr.softeam.cameldesigner.api.constraintmodel.standard.constraint.MetricConstraint;
import fr.softeam.cameldesigner.api.constraintmodel.standard.constraint.MetricVariableConstraint;
@@ -39,7 +40,7 @@
*/
@objid ("66fa54e1-453d-44ab-9ee6-b00c38c52da5")
public class IfThenConstraint extends CompositeConstraint {
- @objid ("c18db761-2416-4ab5-a5e6-7c13f2ccc95a")
+ @objid ("42059827-075f-40f9-a7c3-812ee424d6a1")
public static final String STEREOTYPE_NAME = "IfThenConstraint";
/**
@@ -50,7 +51,7 @@ public class IfThenConstraint extends CompositeConstraint {
* @param elt a model object
* @return true
if the instantiation can be carried out else false
.
*/
- @objid ("c75f846d-5ea8-4ec7-81b4-3c03b34e3eb0")
+ @objid ("5140abbc-83f8-4fad-82f9-0caaa3f86bf8")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, IfThenConstraint.STEREOTYPE_NAME));
}
@@ -60,7 +61,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link IfThenConstraint} proxy on the created {@link Constraint}.
*/
- @objid ("7de40597-2305-4e61-9aba-723d4118111f")
+ @objid ("82518016-f698-42ee-bab7-e4dd83f64d7b")
public static IfThenConstraint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Constraint");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, IfThenConstraint.STEREOTYPE_NAME);
@@ -68,36 +69,34 @@ public static IfThenConstraint create() {
}
/**
- * Tries to instantiate a {@link IfThenConstraint} proxy from a {@link Constraint} stereotyped << IfThenConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link IfThenConstraint} proxy from a {@link Constraint} stereotyped << IfThenConstraint >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("5ac7fad4-9681-43cc-a330-97b95001d38f")
+ @objid ("699172cd-9a44-49a0-aaa7-aed2315c6bf4")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, LogicalConstraint.STEREOTYPE_NAME));
}
@@ -63,7 +64,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link LogicalConstraint} proxy on the created {@link Constraint}.
*/
- @objid ("bb7b8b9f-8a77-45a9-9bbd-90013193a609")
+ @objid ("a688d9ff-1874-485b-b936-293b41fcb287")
public static LogicalConstraint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Constraint");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, LogicalConstraint.STEREOTYPE_NAME);
@@ -71,41 +72,40 @@ public static LogicalConstraint create() {
}
/**
- * Tries to instantiate a {@link LogicalConstraint} proxy from a {@link Constraint} stereotyped << LogicalConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link LogicalConstraint} proxy from a {@link Constraint} stereotyped << LogicalConstraint >> checking its metaclass and its stereotype.
*
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("5fa2ec19-cd18-4464-b879-defd52be9294")
+ @objid ("c7e5f396-0e5d-4b1a-8f18-c19aaaf88a91")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MetricConstraint.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MetricConstraint} proxy on the created {@link Constraint}.
*/
- @objid ("f56b84f3-9dc7-4afa-a5a1-d511ad8e12a7")
+ @objid ("8c03eb0e-adee-4e36-b302-c5d8bcdbc2e5")
public static MetricConstraint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Constraint");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MetricConstraint.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static MetricConstraint create() {
}
/**
- * Tries to instantiate a {@link MetricConstraint} proxy from a {@link Constraint} stereotyped << MetricConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricConstraint} proxy from a {@link Constraint} stereotyped << MetricConstraint >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("5ca80266-a8ce-4a44-a97f-4f839d7a37f9")
+ @objid ("e44aee59-de76-4b2e-a3ef-c1a7e288d06c")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, MetricVariableConstraint.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link MetricVariableConstraint} proxy on the created {@link Constraint}.
*/
- @objid ("2a2175d2-e438-4d82-a2f8-d9030cc13bcb")
+ @objid ("5b4e0800-863f-4e27-85c6-6bdc243ac2bb")
public static MetricVariableConstraint create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Constraint");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, MetricVariableConstraint.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static MetricVariableConstraint create() {
}
/**
- * Tries to instantiate a {@link MetricVariableConstraint} proxy from a {@link Constraint} stereotyped << MetricVariableConstraint >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link MetricVariableConstraint} proxy from a {@link Constraint} stereotyped << MetricVariableConstraint >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("8c8172f9-cb46-4d9d-9e50-d39550e062aa")
+ @objid ("8b992e49-f743-43fa-a031-5b42dba80bf2")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Constraint) && ((Constraint) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, UnaryConstraint.STEREOTYPE_NAME));
}
- @objid ("ee1215d9-dc31-4b0e-8209-01d90ef023ed")
+ @objid ("1aa6b906-e004-4a71-824d-6a6460289470")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -79,17 +79,16 @@ public boolean equals(final Object obj) {
*
null
null
null
null
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("e09d1ba8-70b3-4c80-84d1-9539c2b01b3a")
+ @objid ("fb1e499e-2e4d-454f-8179-4c9eee2acd49")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ConstraintModel.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ConstraintModel} proxy on the created {@link Package}.
*/
- @objid ("9ce93021-7cb4-4dc2-9c83-e25ab2a75c75")
+ @objid ("fb578f85-01cd-45dd-8a31-7614fd3ee191")
public static ConstraintModel create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Package");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ConstraintModel.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static ConstraintModel create() {
}
/**
- * Tries to instantiate a {@link ConstraintModel} proxy from a {@link Package} stereotyped << ConstraintModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ConstraintModel} proxy from a {@link Package} stereotyped << ConstraintModel >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("b2b3f4ad-20c2-4ae2-8c88-1edf279374d4")
+ @objid ("85a2d0ed-4c3a-4bb8-b1c6-0eeac05c6458")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof BindableInstance) && ((BindableInstance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceBindableInstance.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataInstanceBindableInstance} proxy on the created {@link BindableInstance}.
*/
- @objid ("32c72f49-3667-40d2-9ad6-6d3ff2513096")
+ @objid ("dd64af2b-8a78-477b-857f-09dac62ae248")
public static DataInstanceBindableInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.BindableInstance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceBindableInstance.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static DataInstanceBindableInstance create() {
}
/**
- * Tries to instantiate a {@link DataInstanceBindableInstance} proxy from a {@link BindableInstance} stereotyped << DataInstance_BindableInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceBindableInstance} proxy from a {@link BindableInstance} stereotyped << DataInstance_BindableInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("604cc89d-2813-47df-b283-5a5e3e9a8af0")
+ @objid ("9816e940-6a92-4907-957f-97d3acf02c50")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, Data.STEREOTYPE_NAME));
}
@@ -58,7 +59,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link Data} proxy on the created {@link Class}.
*/
- @objid ("ad00c5c1-3a94-4aff-94f3-9e22220f7008")
+ @objid ("545b2a07-5caf-44f4-a45a-d247970c3118")
public static Data create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, Data.STEREOTYPE_NAME);
@@ -66,47 +67,46 @@ public static Data create() {
}
/**
- * Tries to instantiate a {@link Data} proxy from a {@link Class} stereotyped << Data >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link Data} proxy from a {@link Class} stereotyped << Data >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("67a0ce3f-f7c9-4242-9a16-13aa4d1cf2b8")
+ @objid ("312072be-31c9-4c18-ae9b-367853331365")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Class) && ((Class) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataSource.STEREOTYPE_NAME));
}
@@ -62,7 +62,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataSource} proxy on the created {@link Class}.
*/
- @objid ("4b01ea20-4a93-4560-9a43-a69adf56a617")
+ @objid ("108f3331-779a-4363-ae5b-a60abd4c8571")
public static DataSource create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Class");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataSource.STEREOTYPE_NAME);
@@ -70,36 +70,34 @@ public static DataSource create() {
}
/**
- * Tries to instantiate a {@link DataSource} proxy from a {@link Class} stereotyped << DataSource >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataSource} proxy from a {@link Class} stereotyped << DataSource >> checking its metaclass and its stereotype.
*
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("7edb2ae7-92ce-4622-aa31-2ab18946b619")
+ @objid ("eae37133-b299-4891-94e7-a9cb84c7e314")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataInstance.STEREOTYPE_NAME));
}
@@ -61,7 +62,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataInstance} proxy on the created {@link Instance}.
*/
- @objid ("37bcc216-1024-4412-a8de-54b47de56568")
+ @objid ("76901391-d235-40f0-81b0-722e78770e7b")
public static DataInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataInstance.STEREOTYPE_NAME);
@@ -69,47 +70,46 @@ public static DataInstance create() {
}
/**
- * Tries to instantiate a {@link DataInstance} proxy from a {@link Instance} stereotyped << DataInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstance} proxy from a {@link Instance} stereotyped << DataInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("70c72f4c-4fb6-4c79-bb0b-219afb6f40b6")
+ @objid ("d8be2349-3063-45de-9b18-fb68140b905e")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataSourceInstance.STEREOTYPE_NAME));
}
@@ -60,7 +60,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataSourceInstance} proxy on the created {@link Instance}.
*/
- @objid ("3a24c68b-92bd-441e-b95d-b7e91b516c20")
+ @objid ("aa18a50e-d195-4008-9d81-8afe49e70054")
public static DataSourceInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataSourceInstance.STEREOTYPE_NAME);
@@ -68,36 +68,34 @@ public static DataSourceInstance create() {
}
/**
- * Tries to instantiate a {@link DataSourceInstance} proxy from a {@link Instance} stereotyped << DataSourceInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataSourceInstance} proxy from a {@link Instance} stereotyped << DataSourceInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("639269bf-05d3-4ac2-a33e-cff253e2cf9c")
+ @objid ("683c8dfb-e8d8-427b-9110-6f023d420841")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceModel.STEREOTYPE_NAME));
}
@@ -56,7 +61,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataInstanceModel} proxy on the created {@link Package}.
*/
- @objid ("c853dcc8-cdfd-4ab7-b6d6-136e9332fa6f")
+ @objid ("a9b45336-3d87-4c79-a40e-9d3f382b0262")
public static DataInstanceModel create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Package");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataInstanceModel.STEREOTYPE_NAME);
@@ -64,41 +69,40 @@ public static DataInstanceModel create() {
}
/**
- * Tries to instantiate a {@link DataInstanceModel} proxy from a {@link Package} stereotyped << DataInstanceModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataInstanceModel} proxy from a {@link Package} stereotyped << DataInstanceModel >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9fa14381-c69b-4065-a90f-1ae732dd1cc5")
+ @objid ("81ad405c-9d68-4358-82b1-5a3070d73adc")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataModel.STEREOTYPE_NAME));
}
- @objid ("615b6699-acb1-4458-b3bf-e6d0fe39891d")
+ @objid ("d2fb89fe-058e-4a72-9369-8044b35f1cf2")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -69,17 +69,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Package}.
- *
+ * Get the underlying {@link Package}.
* @return the Package represented by this proxy, never null.
*/
- @objid ("aa4115db-55e7-4d18-b7bb-35495e9abfeb")
+ @objid ("0123bb6a-8fd7-4b03-81a2-f8f2ba66a5db")
@Override
public Package getElement() {
return (Package)super.getElement();
}
- @objid ("aba51480-b8e8-4f95-b0f2-651bfbb078d8")
+ @objid ("e10419fc-780d-4a74-b7a0-815b5ae014d3")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -93,23 +92,23 @@ public Listtrue
if the instantiation can be carried out else false
.
*/
- @objid ("63ac9277-a646-4ddf-94e9-0fa17eb9570c")
+ @objid ("1ea9b890-6f51-4dd5-aa97-0563bb7d9233")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DataTypeModel.STEREOTYPE_NAME));
}
@@ -52,7 +59,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DataTypeModel} proxy on the created {@link Package}.
*/
- @objid ("76e9c9e8-9ba9-48b9-bf67-cd690560b999")
+ @objid ("89d92ed7-4f40-4575-93e9-39928cd68d14")
public static DataTypeModel create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Package");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DataTypeModel.STEREOTYPE_NAME);
@@ -60,41 +67,40 @@ public static DataTypeModel create() {
}
/**
- * Tries to instantiate a {@link DataTypeModel} proxy from a {@link Package} stereotyped << DataTypeModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DataTypeModel} proxy from a {@link Package} stereotyped << DataTypeModel >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("ee09c644-e298-4dac-8831-41d6cb6d1d1c")
+ @objid ("74b1c645-aded-4838-ac89-30b236ecc97a")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Connector) && ((Connector) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CommunicationInstance.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link CommunicationInstance} proxy on the created {@link Connector}.
*/
- @objid ("91538529-ae8f-46ea-9866-8fdabdb2bab9")
+ @objid ("d30b6dca-0aae-4cdb-ac61-bc222e404e10")
public static CommunicationInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Connector");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, CommunicationInstance.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static CommunicationInstance create() {
}
/**
- * Tries to instantiate a {@link CommunicationInstance} proxy from a {@link Connector} stereotyped << CommunicationInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CommunicationInstance} proxy from a {@link Connector} stereotyped << CommunicationInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("12f5bf59-a20a-43c9-96a4-e2f871ab6b27")
+ @objid ("81db1796-64bc-463e-9250-433d61e6c2f2")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Connector) && ((Connector) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ComponentRelationInstance.STEREOTYPE_NAME));
}
- @objid ("f82b964b-411e-493d-bdde-a21d91cab038")
+ @objid ("fdbddf27-b8d5-488f-bd5a-1f0b409037a8")
@Override
public boolean equals(final Object obj) {
if (this == obj) {
@@ -69,17 +69,16 @@ public boolean equals(final Object obj) {
}
/**
- * Get the underlying {@link Connector}.
- *
+ * Get the underlying {@link Connector}.
* @return the Connector represented by this proxy, never null.
*/
- @objid ("3ec0c475-ccc1-40e0-b8aa-d2be9cb1eb51")
+ @objid ("0b9d429f-3f2c-45e1-a2a8-aa0851e725e1")
@Override
public Connector getElement() {
return (Connector)super.getElement();
}
- @objid ("98f7c186-35d3-463b-82df-8c6a6737c7c6")
+ @objid ("d0397465-53cc-4510-a8b0-302bbcb9e9cd")
@Override
public int hashCode() {
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
@@ -93,23 +92,23 @@ public Listtrue
if the instantiation can be carried out else false
.
*/
- @objid ("422ffb3b-3643-4588-a747-10a0b1c88753")
+ @objid ("d1e096d8-e3ce-40f4-9950-77d4cf049177")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Connector) && ((Connector) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, HostingInstance.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link HostingInstance} proxy on the created {@link Connector}.
*/
- @objid ("29361250-6800-4fca-900d-acd8a3387dd8")
+ @objid ("df1276f1-87dc-4c0b-b235-8d101530e507")
public static HostingInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Connector");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, HostingInstance.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static HostingInstance create() {
}
/**
- * Tries to instantiate a {@link HostingInstance} proxy from a {@link Connector} stereotyped << HostingInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link HostingInstance} proxy from a {@link Connector} stereotyped << HostingInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("279fc1a9-9810-4b58-9275-d41e9b9cae8b")
+ @objid ("7104f6a6-12b9-41e6-9f9a-577a49c66171")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ComponentInstance.STEREOTYPE_NAME));
}
@@ -66,8 +66,9 @@ public static boolean canInstantiate(final MObject elt) {
* Add a value to the 'providedCommunicationInstances' role.
null
null
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("a7cc486a-e65b-4629-a1cb-55ac62c4eeac")
+ @objid ("2fe3c842-41e3-4354-af84-5baa599fa765")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ContainerInstance.STEREOTYPE_NAME));
}
@@ -61,7 +61,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ContainerInstance} proxy on the created {@link Instance}.
*/
- @objid ("a99352c8-5e11-4e91-9b6b-01732bccd39f")
+ @objid ("5575a5fe-5bad-47dd-b2b7-ded9ca6bf180")
public static ContainerInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ContainerInstance.STEREOTYPE_NAME);
@@ -69,47 +69,46 @@ public static ContainerInstance create() {
}
/**
- * Tries to instantiate a {@link ContainerInstance} proxy from a {@link Instance} stereotyped << ContainerInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ContainerInstance} proxy from a {@link Instance} stereotyped << ContainerInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("c37c1a62-6c15-4a3e-8675-9fd8c797695c")
+ @objid ("2bd5d859-31ca-4ea2-b3ad-4db085c5a163")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, PaaSInstance.STEREOTYPE_NAME));
}
@@ -57,7 +57,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link PaaSInstance} proxy on the created {@link Instance}.
*/
- @objid ("8294e393-688b-41b4-801e-075151cb8d7f")
+ @objid ("23ff7df2-c147-461d-972d-7769ea66d519")
public static PaaSInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, PaaSInstance.STEREOTYPE_NAME);
@@ -65,36 +65,34 @@ public static PaaSInstance create() {
}
/**
- * Tries to instantiate a {@link PaaSInstance} proxy from a {@link Instance} stereotyped << PaaSInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link PaaSInstance} proxy from a {@link Instance} stereotyped << PaaSInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("25dedb87-6ff7-49bc-af80-7509ae2b369a")
+ @objid ("428c4d27-8b0b-4375-b742-3694756acfb1")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, SoftwareComponentInstance.STEREOTYPE_NAME));
}
@@ -64,7 +64,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link SoftwareComponentInstance} proxy on the created {@link Instance}.
*/
- @objid ("8f46725a-ae61-4687-bf98-11986814f8fd")
+ @objid ("c4c8458a-228e-45b2-bd4e-22cc48b6bd62")
public static SoftwareComponentInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, SoftwareComponentInstance.STEREOTYPE_NAME);
@@ -72,41 +72,40 @@ public static SoftwareComponentInstance create() {
}
/**
- * Tries to instantiate a {@link SoftwareComponentInstance} proxy from a {@link Instance} stereotyped << SoftwareComponentInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link SoftwareComponentInstance} proxy from a {@link Instance} stereotyped << SoftwareComponentInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("2ef667be-b929-4de1-9ca2-779c28d8df04")
+ @objid ("92265ec7-d5e9-444b-b6ab-98742b62018a")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Instance) && ((Instance) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, VMInstance.STEREOTYPE_NAME));
}
@@ -69,7 +69,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link VMInstance} proxy on the created {@link Instance}.
*/
- @objid ("be70d13a-3981-4753-b240-87a9f91d9e92")
+ @objid ("cd99e48d-bc1f-4145-b0d0-6a3807da35a8")
public static VMInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Instance");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, VMInstance.STEREOTYPE_NAME);
@@ -77,36 +77,34 @@ public static VMInstance create() {
}
/**
- * Tries to instantiate a {@link VMInstance} proxy from a {@link Instance} stereotyped << VMInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link VMInstance} proxy from a {@link Instance} stereotyped << VMInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("73768c98-0b2c-4e98-bbb0-85997f04ddee")
+ @objid ("71c66aa9-8b79-44f9-8647-8c03bdfc4623")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Package) && ((Package) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, DeploymentInstanceModel.STEREOTYPE_NAME));
}
@@ -64,7 +64,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link DeploymentInstanceModel} proxy on the created {@link Package}.
*/
- @objid ("3cea515b-841f-472f-aa96-d7053473fcd1")
+ @objid ("efe94d62-0942-4e14-a5bf-a38081912a28")
public static DeploymentInstanceModel create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Package");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, DeploymentInstanceModel.STEREOTYPE_NAME);
@@ -72,41 +72,40 @@ public static DeploymentInstanceModel create() {
}
/**
- * Tries to instantiate a {@link DeploymentInstanceModel} proxy from a {@link Package} stereotyped << DeploymentInstanceModel >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link DeploymentInstanceModel} proxy from a {@link Package} stereotyped << DeploymentInstanceModel >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("7f9aac91-fb3d-4e3a-b80a-be762c54acf0")
+ @objid ("e11a6cf5-df23-418b-9dbe-c4db1c1be666")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Port) && ((Port) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, CommunicationPortInstance.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link CommunicationPortInstance} proxy on the created {@link Port}.
*/
- @objid ("43896bce-65b2-4cbb-afb5-079074d73e3a")
+ @objid ("0f1629a8-ba43-4578-87b8-921a31f559c3")
public static CommunicationPortInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Port");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, CommunicationPortInstance.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static CommunicationPortInstance create() {
}
/**
- * Tries to instantiate a {@link CommunicationPortInstance} proxy from a {@link Port} stereotyped << CommunicationPortInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link CommunicationPortInstance} proxy from a {@link Port} stereotyped << CommunicationPortInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("46d751a3-3fa3-4bc5-a033-eb407ebfe712")
+ @objid ("11074065-bb44-4a79-ae60-ad7651ec42f7")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Port) && ((Port) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, HostingPortInstance.STEREOTYPE_NAME));
}
@@ -58,7 +58,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link HostingPortInstance} proxy on the created {@link Port}.
*/
- @objid ("94465d0e-8d4c-4784-8a34-a89df176edb5")
+ @objid ("e53333bf-99df-4dc0-989e-b4989c9a7d6c")
public static HostingPortInstance create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Port");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, HostingPortInstance.STEREOTYPE_NAME);
@@ -66,36 +66,34 @@ public static HostingPortInstance create() {
}
/**
- * Tries to instantiate a {@link HostingPortInstance} proxy from a {@link Port} stereotyped << HostingPortInstance >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link HostingPortInstance} proxy from a {@link Port} stereotyped << HostingPortInstance >> checking its metaclass and its stereotype.
* true
if the instantiation can be carried out else false
.
*/
- @objid ("9eff085e-cca3-4e9a-85f8-921e5942d5af")
+ @objid ("f1c98990-4ab8-4536-9831-dd50e1509384")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Artifact) && ((Artifact) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, BuildConfiguration.STEREOTYPE_NAME));
}
@@ -72,7 +72,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link BuildConfiguration} proxy on the created {@link Artifact}.
*/
- @objid ("ad477513-b35a-4dce-a0b2-38a296a948d0")
+ @objid ("f9764d26-31bc-47b0-992e-07dd419158bb")
public static BuildConfiguration create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Artifact");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, BuildConfiguration.STEREOTYPE_NAME);
@@ -80,36 +80,34 @@ public static BuildConfiguration create() {
}
/**
- * Tries to instantiate a {@link BuildConfiguration} proxy from a {@link Artifact} stereotyped << BuildConfiguration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link BuildConfiguration} proxy from a {@link Artifact} stereotyped << BuildConfiguration >> checking its metaclass and its stereotype.
*
null
null
null
null
null
null
null
null
null
nulltrue
if the instantiation can be carried out else false
.
*/
- @objid ("00ea0fbc-2c45-47f7-9c55-cc60e451d7ce")
+ @objid ("d0dcbe17-6060-4f3f-91ea-32fcc4f30839")
public static boolean canInstantiate(final MObject elt) {
return ((elt instanceof Artifact) && ((Artifact) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, ClusterConfiguration.STEREOTYPE_NAME));
}
@@ -63,7 +63,7 @@ public static boolean canInstantiate(final MObject elt) {
*
* @return a {@link ClusterConfiguration} proxy on the created {@link Artifact}.
*/
- @objid ("c64f4ddd-b06f-451b-a8e1-5f6ad875b577")
+ @objid ("fbbaa189-1207-4c8d-848e-fce7ff434332")
public static ClusterConfiguration create() {
ModelElement e = (ModelElement)CamelDesignerModule.getInstance().getModuleContext().getModelingSession().getModel().createElement("Standard.Artifact");
e.addStereotype(ICamelDesignerPeerModule.MODULE_NAME, ClusterConfiguration.STEREOTYPE_NAME);
@@ -71,47 +71,46 @@ public static ClusterConfiguration create() {
}
/**
- * Tries to instantiate a {@link ClusterConfiguration} proxy from a {@link Artifact} stereotyped << ClusterConfiguration >> checking its metaclass and its stereotype.
+ * Tries to instantiate a {@link ClusterConfiguration} proxy from a {@link Artifact} stereotyped << ClusterConfiguration >> checking its metaclass and its stereotype.
*