diff --git a/src/main/conf/module.xml b/src/main/conf/module.xml index a5a82f9c..ef66d998 100644 --- a/src/main/conf/module.xml +++ b/src/main/conf/module.xml @@ -1,2335 +1,1306 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - - - + + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - - - - - + + + + + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - + + - + - + - + - - + + - + - + - - - - + + + + - + - + - - - + + + - - - - - - - + + + + + + + - + - - + + - + - - + + - + - - + + - - - + + + - + - + - + - + - + - + - - - + + + - + - - - + + + - + - - + + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - - + + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - - - - + + + + - + - - + + - + - - - - + + + + - - + + - - - - - - + + + + + + - + - - - - + + + + - + - + - + - + - + - + - + - - + + - + - - - + + + - + - - - - + + + + - + - - - + + + - + - + - + - + - + - + - - - + + + - + - - + + - + - + - + - - - - - - + + + + + + - + - - + + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - - + + - - - + + + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - + + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -2337,24 +1308,17 @@ - + - + - + @@ -2363,19 +1327,13 @@ - + - + @@ -2384,19 +1342,13 @@ - + - + @@ -2405,19 +1357,13 @@ - + - + @@ -2426,19 +1372,13 @@ - + - + @@ -2448,29 +1388,21 @@ - + - + - + - + @@ -2479,19 +1411,13 @@ - + - + @@ -2500,19 +1426,13 @@ - + - + @@ -2521,19 +1441,13 @@ - + - + @@ -2542,19 +1456,13 @@ - + - + @@ -2563,19 +1471,13 @@ - + - + @@ -2584,19 +1486,13 @@ - + - + @@ -2605,19 +1501,13 @@ - + - + @@ -2626,18 +1516,13 @@ - + - + @@ -2646,18 +1531,13 @@ - + - + @@ -2667,430 +1547,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3098,9 +1556,7 @@ - + @@ -3108,18 +1564,14 @@ - + - + @@ -3127,9 +1579,7 @@ - + @@ -3137,9 +1587,7 @@ - + @@ -3147,9 +1595,7 @@ - + @@ -3157,9 +1603,7 @@ - + @@ -3167,9 +1611,7 @@ - + @@ -3177,9 +1619,7 @@ - + @@ -3187,9 +1627,7 @@ - + @@ -3197,9 +1635,7 @@ - + @@ -3207,9 +1643,7 @@ - + @@ -3217,9 +1651,7 @@ - + @@ -3227,18 +1659,14 @@ - + - + @@ -3246,9 +1674,7 @@ - + @@ -3256,9 +1682,7 @@ - + @@ -3266,9 +1690,7 @@ - + @@ -3276,9 +1698,7 @@ - + @@ -3286,8 +1706,7 @@ - + @@ -3295,9 +1714,7 @@ - + @@ -3305,9 +1722,7 @@ - + @@ -3315,8 +1730,7 @@ - + @@ -3325,9 +1739,7 @@ - + @@ -3335,9 +1747,7 @@ - + @@ -3345,9 +1755,7 @@ - + @@ -3355,9 +1763,7 @@ - + @@ -3365,9 +1771,7 @@ - + @@ -3375,9 +1779,7 @@ - + @@ -3385,9 +1787,7 @@ - + @@ -3395,9 +1795,7 @@ - + @@ -3405,9 +1803,7 @@ - + @@ -3415,9 +1811,7 @@ - + @@ -3425,9 +1819,7 @@ - + @@ -3435,9 +1827,7 @@ - + @@ -3445,8 +1835,7 @@ - + @@ -3454,9 +1843,7 @@ - + @@ -3464,9 +1851,7 @@ - + @@ -3474,9 +1859,7 @@ - + @@ -3484,9 +1867,7 @@ - + @@ -3494,9 +1875,7 @@ - + @@ -3504,16 +1883,14 @@ - + - + @@ -3521,9 +1898,7 @@ - + @@ -3531,9 +1906,7 @@ - + @@ -3541,9 +1914,7 @@ - + @@ -3551,9 +1922,7 @@ - + @@ -3561,9 +1930,7 @@ - + @@ -3571,9 +1938,7 @@ - + @@ -3581,9 +1946,7 @@ - + @@ -3591,9 +1954,7 @@ - + @@ -3601,9 +1962,7 @@ - + @@ -3611,9 +1970,7 @@ - + @@ -3621,9 +1978,7 @@ - + @@ -3631,9 +1986,7 @@ - + @@ -3642,9 +1995,7 @@ - + @@ -3652,9 +2003,7 @@ - + @@ -3662,9 +2011,7 @@ - + @@ -3672,9 +2019,7 @@ - + @@ -3682,9 +2027,7 @@ - + @@ -3692,18 +2035,14 @@ - + - + @@ -3711,9 +2050,7 @@ - + @@ -3721,9 +2058,7 @@ - + @@ -3731,9 +2066,7 @@ - + @@ -3741,9 +2074,7 @@ - + @@ -3751,9 +2082,7 @@ - + @@ -3761,9 +2090,7 @@ - + @@ -3771,9 +2098,7 @@ - + @@ -3781,9 +2106,7 @@ - + @@ -3791,9 +2114,7 @@ - + @@ -3801,9 +2122,7 @@ - + @@ -3811,9 +2130,7 @@ - + @@ -3821,9 +2138,7 @@ - + @@ -3831,9 +2146,7 @@ - + @@ -3841,9 +2154,7 @@ - + @@ -3851,9 +2162,7 @@ - + @@ -3861,9 +2170,7 @@ - + @@ -3871,9 +2178,7 @@ - + @@ -3881,8 +2186,7 @@ - + @@ -3890,9 +2194,7 @@ - + @@ -3900,9 +2202,7 @@ - + @@ -3910,9 +2210,7 @@ - + @@ -3920,9 +2218,7 @@ - + @@ -3931,9 +2227,7 @@ - + @@ -3941,9 +2235,7 @@ - + @@ -3951,9 +2243,7 @@ - + @@ -3961,16 +2251,14 @@ - + - + @@ -3978,8 +2266,7 @@ - + @@ -3987,9 +2274,7 @@ - + @@ -3997,9 +2282,7 @@ - + @@ -4007,9 +2290,7 @@ - + @@ -4017,9 +2298,7 @@ - + @@ -4027,9 +2306,7 @@ - + @@ -4037,9 +2314,7 @@ - + @@ -4047,9 +2322,7 @@ - + @@ -4057,9 +2330,7 @@ - + @@ -4067,9 +2338,7 @@ - + @@ -4077,9 +2346,7 @@ - + @@ -4087,9 +2354,7 @@ - + @@ -4097,9 +2362,7 @@ - + @@ -4107,8 +2370,7 @@ - + @@ -4116,9 +2378,7 @@ - + @@ -4126,9 +2386,7 @@ - + @@ -4136,9 +2394,7 @@ - + @@ -4146,9 +2402,7 @@ - + @@ -4156,9 +2410,7 @@ - + @@ -4166,9 +2418,7 @@ - + @@ -4176,9 +2426,7 @@ - + @@ -4186,9 +2434,7 @@ - + @@ -4196,8 +2442,7 @@ - + @@ -4205,9 +2450,7 @@ - + @@ -4215,9 +2458,7 @@ - + @@ -4225,9 +2466,7 @@ - + @@ -4235,9 +2474,7 @@ - + @@ -4245,9 +2482,7 @@ - + @@ -4255,9 +2490,7 @@ - + @@ -4265,8 +2498,7 @@ - + @@ -4274,8 +2506,7 @@ - + @@ -4283,18 +2514,14 @@ - + - + @@ -4302,8 +2529,7 @@ - + @@ -4311,8 +2537,7 @@ - + @@ -4320,9 +2545,7 @@ - + @@ -4330,8 +2553,7 @@ - + @@ -4339,9 +2561,7 @@ - + @@ -4349,9 +2569,7 @@ - + @@ -4359,9 +2577,7 @@ - + @@ -4369,9 +2585,7 @@ - + @@ -4379,8 +2593,7 @@ - + @@ -4389,10 +2602,465 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/src/main/conf/res/generated/patterns/framework.umlt b/src/main/conf/res/generated/patterns/framework.umlt index 1334b955..298179e1 100644 Binary files a/src/main/conf/res/generated/patterns/framework.umlt and b/src/main/conf/res/generated/patterns/framework.umlt differ diff --git a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/FeaturePackage.java b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/FeaturePackage.java index e9329c95..4b7f1d56 100644 --- a/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/FeaturePackage.java +++ b/src/main/java/fr/softeam/cameldesigner/api/camelcore/standard/package_/FeaturePackage.java @@ -9,10 +9,16 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import java.util.Objects; import com.modeliosoft.modelio.javadesigner.annotations.objid; +import org.modelio.api.module.context.IModuleContext; +import org.modelio.metamodel.uml.infrastructure.ModelTree; +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.camelcore.infrastructure.modelelement.Feature; import fr.softeam.cameldesigner.api.camelcore.standard.class_.AttributeClass; import fr.softeam.cameldesigner.api.camelcore.standard.class_.MeasurableAttributeClass; @@ -36,19 +42,6 @@ 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.ModelTree; -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 << Feature_Package >> stereotype. @@ -64,7 +57,7 @@ public abstract class FeaturePackage extends Feature { * Tells whether a {@link FeaturePackage proxy} can be instantiated from a {@link MObject} checking it is a {@link Package} stereotyped << Feature_Package >>. *

* The method returns false if the instantiation cannot be carried out. - * + * * @param elt a model object * @return true if the instantiation can be carried out else false. */ @@ -136,7 +129,7 @@ public List getAttributes() { /** * Get the underlying {@link Package}. - * + * * @return the Package represented by this proxy, never null. */ @objid ("7ab59d08-1a68-48d0-9fe1-562cb5f08bbd") @@ -200,6 +193,14 @@ public List getSubFeatures() { return Collections.unmodifiableList(results); } + @Override + public List getChilds() { + List result = new ArrayList<>(); + result.addAll(super.getChilds()); + result.addAll(getAttributes()); + return result; + } + @objid ("032316ff-60a6-4503-b2db-431f420860ea") @Override public int hashCode() { 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 ae19efef..bde3e743 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 @@ -7,11 +7,15 @@ package fr.softeam.cameldesigner.api.camelcore.standard.package_; import java.util.ArrayList; -import java.util.Collections; -import java.util.Objects; +import java.util.List; import com.modeliosoft.modelio.javadesigner.annotations.objid; -import fr.softeam.cameldesigner.api.CamelDesignerProxyFactory; +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.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; @@ -26,18 +30,6 @@ 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. @@ -53,7 +45,7 @@ public abstract class SubModel extends FeaturePackage { * Tells whether a {@link SubModel proxy} can be instantiated from a {@link MObject} checking it is a {@link Package} stereotyped << SubModel >>. *

* The method returns false if the instantiation cannot be carried out. - * + * * @param elt a model object * @return true if the instantiation can be carried out else false. */ @@ -79,6 +71,13 @@ public static SubModel instantiate(final Package obj) { UnitModel.canInstantiate(obj) ? UnitModel.instantiate(obj) : null; } + @Override + public List getChilds() { + List result = new ArrayList<>(); + result.addAll(super.getChilds()); + return result; + } + @objid ("308c5d47-d90e-4926-9428-2f3daa76a5f9") @Override public boolean equals(final Object obj) { @@ -97,7 +96,7 @@ public boolean equals(final Object obj) { /** * Get the underlying {@link Package}. - * + * * @return the Package represented by this proxy, never null. */ @objid ("223df6df-6562-40e0-b621-b8a5a6057c6f") diff --git a/src/main/java/fr/softeam/cameldesigner/exchange/exporter/ExporterFactory.java b/src/main/java/fr/softeam/cameldesigner/exchange/exporter/ExporterFactory.java index 3b598644..7a7b702b 100644 --- a/src/main/java/fr/softeam/cameldesigner/exchange/exporter/ExporterFactory.java +++ b/src/main/java/fr/softeam/cameldesigner/exchange/exporter/ExporterFactory.java @@ -1,12 +1,33 @@ package fr.softeam.cameldesigner.exchange.exporter; import com.modeliosoft.modelio.javadesigner.annotations.objid; +import org.modelio.metamodel.mda.ModuleComponent; +import org.modelio.metamodel.uml.infrastructure.Dependency; +import org.modelio.metamodel.uml.infrastructure.Element; +import org.modelio.metamodel.uml.infrastructure.ModelElement; +import org.modelio.metamodel.uml.infrastructure.Stereotype; +import org.modelio.metamodel.uml.statik.Artifact; +import org.modelio.metamodel.uml.statik.Attribute; +import org.modelio.metamodel.uml.statik.AttributeLink; +import org.modelio.metamodel.uml.statik.Class; +import org.modelio.metamodel.uml.statik.Component; +import org.modelio.metamodel.uml.statik.Connector; +import org.modelio.metamodel.uml.statik.DataType; +import org.modelio.metamodel.uml.statik.Enumeration; +import org.modelio.metamodel.uml.statik.GeneralClass; +import org.modelio.metamodel.uml.statik.Instance; +import org.modelio.metamodel.uml.statik.Package; +import org.modelio.metamodel.uml.statik.Port; +import org.modelio.metamodel.visitors.IDefaultInfrastructureVisitor; +import org.modelio.metamodel.visitors.IDefaultModelVisitor; +import org.modelio.metamodel.visitors.IInfrastructureVisitor; import fr.softeam.cameldesigner.api.ICamelDesignerPeerModule; import fr.softeam.cameldesigner.exchange.exporter.core.AttributeAttributeExporter; import fr.softeam.cameldesigner.exchange.exporter.core.AttributeClassExporter; import fr.softeam.cameldesigner.exchange.exporter.core.FeatureClassExporter; import fr.softeam.cameldesigner.exchange.exporter.core.FeatureInstanceExporter; import fr.softeam.cameldesigner.exchange.exporter.core.FeaturePortExporter; +import fr.softeam.cameldesigner.exchange.exporter.core.MeasurableAttributeClassExporter; import fr.softeam.cameldesigner.exchange.exporter.data.DataExporter; import fr.softeam.cameldesigner.exchange.exporter.data.DataInstanceExporter; import fr.softeam.cameldesigner.exchange.exporter.data.DataInstanceModelExporter; @@ -124,26 +145,6 @@ import fr.softeam.cameldesigner.exchange.exporter.security.SecuritySLOExporter; import fr.softeam.cameldesigner.exchange.exporter.type.TypeModelExporter; import fr.softeam.cameldesigner.exchange.exporter.unit.UnitModelExporter; -import org.modelio.metamodel.mda.ModuleComponent; -import org.modelio.metamodel.uml.infrastructure.Dependency; -import org.modelio.metamodel.uml.infrastructure.Element; -import org.modelio.metamodel.uml.infrastructure.ModelElement; -import org.modelio.metamodel.uml.infrastructure.Stereotype; -import org.modelio.metamodel.uml.statik.Artifact; -import org.modelio.metamodel.uml.statik.Attribute; -import org.modelio.metamodel.uml.statik.AttributeLink; -import org.modelio.metamodel.uml.statik.Class; -import org.modelio.metamodel.uml.statik.Component; -import org.modelio.metamodel.uml.statik.Connector; -import org.modelio.metamodel.uml.statik.DataType; -import org.modelio.metamodel.uml.statik.Enumeration; -import org.modelio.metamodel.uml.statik.GeneralClass; -import org.modelio.metamodel.uml.statik.Instance; -import org.modelio.metamodel.uml.statik.Package; -import org.modelio.metamodel.uml.statik.Port; -import org.modelio.metamodel.visitors.IDefaultInfrastructureVisitor; -import org.modelio.metamodel.visitors.IDefaultModelVisitor; -import org.modelio.metamodel.visitors.IInfrastructureVisitor; /** * Factory that instantiates the right exporter class for a model element stereotyped by a 'CamelDesigner' module stereotype. @@ -157,7 +158,7 @@ public class ExporterFactory { * Instantiates the right proxy class the given element. *
The model element must be stereotyped by a 'CamelDesigner' module stereotype. *
In the other case the method will return null. - * + * * @param e A model element * @return the right proxy or null. */ @@ -176,7 +177,7 @@ public static final Object instantiateExporter(final ModelElement e) { * Instantiates the right proxy class the given element with a stereotype name. * The stereotype must be one of the 'CamelDesigner' module stereotypes. * In the other case the method will return null. - * + * * @param e A model element. * @param stName A stereotype name. * @return the right proxy or null. @@ -255,6 +256,7 @@ public final Object visitClass(Class obj) { switch (this.stName) { case fr.softeam.cameldesigner.api.camelcore.standard.class_.AttributeClass.STEREOTYPE_NAME: return new AttributeClassExporter<>(fr.softeam.cameldesigner.api.camelcore.standard.class_.AttributeClass.instantiate(obj)); case fr.softeam.cameldesigner.api.camelcore.standard.class_.FeatureClass.STEREOTYPE_NAME: return new FeatureClassExporter<>(fr.softeam.cameldesigner.api.camelcore.standard.class_.FeatureClass.instantiate(obj)); + case fr.softeam.cameldesigner.api.camelcore.standard.class_.MeasurableAttributeClass.STEREOTYPE_NAME: return new MeasurableAttributeClassExporter<>(fr.softeam.cameldesigner.api.camelcore.standard.class_.MeasurableAttributeClass.instantiate(obj)); case fr.softeam.cameldesigner.api.datamodel.standard.class_.Data.STEREOTYPE_NAME: return new DataExporter<>(fr.softeam.cameldesigner.api.datamodel.standard.class_.Data.instantiate(obj)); case fr.softeam.cameldesigner.api.datamodel.standard.class_.DataSource.STEREOTYPE_NAME: return new DataSourceExporter<>(fr.softeam.cameldesigner.api.datamodel.standard.class_.DataSource.instantiate(obj)); case fr.softeam.cameldesigner.api.deploymentmodel.standard.class_.RequirementSet.STEREOTYPE_NAME: return new RequirementSetExporter<>(fr.softeam.cameldesigner.api.deploymentmodel.standard.class_.RequirementSet.instantiate(obj)); @@ -466,7 +468,7 @@ public final Object visitPort(Port obj) { /** * Get the visitor to delegate to when a {@link IInfrastructureVisitor} is needed. *

If null is returned the caller will return null. - * + * * @return the {@link IInfrastructureVisitor} visitor or null. */ @objid ("811fd899-8f65-4257-b11f-cffff1d5ef23") diff --git a/src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeExporter.java b/src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeClassExporter.java similarity index 91% rename from src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeExporter.java rename to src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeClassExporter.java index 7b76eae8..6084f88d 100644 --- a/src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeExporter.java +++ b/src/main/java/fr/softeam/cameldesigner/exchange/exporter/core/MeasurableAttributeClassExporter.java @@ -9,9 +9,9 @@ import org.eclipse.emf.cdo.CDOObject; @objid ("1e3affd3-a822-46b9-9f98-e4c113b6f02f") -public class MeasurableAttributeExporter extends CamelAttributeExporter { +public class MeasurableAttributeClassExporter extends CamelAttributeExporter { @objid ("f26414ea-1ff1-419c-b922-2d0bdbfea187") - public MeasurableAttributeExporter(T elt) { + public MeasurableAttributeClassExporter(T elt) { super(elt); }