Skip to content
Snippets Groups Projects
Commit 5441a79e authored by Simon Barner's avatar Simon Barner
Browse files

Use @deprecated (lower case 'd'!) to tag outdated classes such that their...

Use @deprecated (lower case 'd'!) to tag outdated classes such that their state is actually recognized by the Java compiler and a warning is generated.
parent 7587f7a9
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LocationConstraint" eSuperTypes="#//location/LocationDimension explorationDsl.ecore#//MOEAExplorationExpression">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. {@link ExplorationConstraint} to define limitations on the location of requesters to resources, e.g., {@link Component}s to {@link IPlatformresource}s."/>
<details key="documentation" value="@deprecated {@link ExplorationConstraint} to define limitations on the location of requesters to resources, e.g., {@link Component}s to {@link IPlatformresource}s."/>
</eAnnotations>
<eTypeParameters name="LHT">
<eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
......@@ -38,14 +38,14 @@
</eTypeParameters>
<eOperations name="getLeftModelElement" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Returns the left hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
<details key="documentation" value="@deprecated Returns the left hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
<details key="body" value="return LocationConstraintStaticImpl.getLeftModelElement(this);"/>
</eAnnotations>
<eGenericType eTypeParameter="#//location/LocationConstraint/LHT"/>
</eOperations>
<eOperations name="getRightModelElement" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Returns the right hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
<details key="documentation" value="@deprecated Returns the right hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
<details key="body" value="return LocationConstraintStaticImpl.getRightModelElement(this);"/>
</eAnnotations>
<eGenericType eTypeParameter="#//location/LocationConstraint/RHT"/>
......@@ -53,7 +53,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentAllocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eGenericSuperTypes eClassifier="#//location/LocationConstraint">
<eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
......@@ -65,7 +65,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentDislocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eGenericSuperTypes eClassifier="#//location/LocationConstraint">
<eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
......@@ -141,7 +141,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LatencyCalc">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
......@@ -149,7 +149,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DeadlineComp">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
......@@ -161,36 +161,36 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PeriodConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eOperations name="getLimitation" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
<details key="body" value="return getPeriod();"/>
</eAnnotations>
</eOperations>
<eOperations name="getComponent" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Returns the {@link Component} for which a defined period must hold."/>
<details key="documentation" value="@deprecated Returns the {@link Component} for which a defined period must hold."/>
<details key="body" value="return PeriodConstraintStaticImpl.getComponent(this);"/>
</eAnnotations>
</eOperations>
<eOperations name="setComponent" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Sets the {@link Component} for which a defined period must hold, i.e. the {@link Component} must be scheduled within this time frame."/>
<details key="documentation" value="@deprecated Sets the {@link Component} for which a defined period must hold, i.e. the {@link Component} must be scheduled within this time frame."/>
<details key="body" value="PeriodConstraintStaticImpl.setComponent(this, component);"/>
</eAnnotations>
<eParameters name="component" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
</eOperations>
<eOperations name="getPeriod" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Returns the period value which is defined in {@code this} {@link ExplorationConstraint}."/>
<details key="documentation" value="@deprecated Returns the period value which is defined in {@code this} {@link ExplorationConstraint}."/>
<details key="body" value="return PeriodConstraintStaticImpl.getPeriod(this);"/>
</eAnnotations>
</eOperations>
<eOperations name="setPeriod" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Sets the period which must be kept by this constraint's referenced {@link Component}, i.e. the {@link Component} must be scheduled within this time frame."/>
<details key="documentation" value="@deprecated Sets the period which must be kept by this constraint's referenced {@link Component}, i.e. the {@link Component} must be scheduled within this time frame."/>
<details key="body" value="PeriodConstraintStaticImpl.setPeriod(this, period);"/>
</eAnnotations>
<eParameters name="period" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
......
......@@ -178,7 +178,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ReliabilityAnalysis">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
......@@ -200,7 +200,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiLocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eTypeParameters name="LHT">
<eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
......@@ -227,7 +227,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="singleLocationConstraints"
lowerBound="1" upperBound="-1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Defines the list of {@link LocationConstraint}s comprising {@code this} constraint."/>
<details key="documentation" value="@deprecated Defines the list of {@link LocationConstraint}s comprising {@code this} constraint."/>
</eAnnotations>
<eGenericType eClassifier="ecore:EClass common.ecore#//location/LocationConstraint">
<eTypeArguments eTypeParameter="#//predefined/MultiLocationConstraint/LHT"/>
......@@ -241,7 +241,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentMultiAllocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Defines to which {@link ExecutionUnit}s a {@link Component} may be allocated to."/>
<details key="documentation" value="@deprecated Defines to which {@link ExecutionUnit}s a {@link Component} may be allocated to."/>
</eAnnotations>
<eOperations name="setComponentMultiAllocations" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
......@@ -280,7 +280,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentMultiDislocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Defines to which {@link ExecutionUnit}s a {@link Component} may be &lt;b>NOT&lt;/b> allocated to."/>
<details key="documentation" value="@deprecated Defines to which {@link ExecutionUnit}s a {@link Component} may be &lt;b>NOT&lt;/b> allocated to."/>
</eAnnotations>
<eOperations name="setComponentMultiDislocations" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
......@@ -319,7 +319,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyIntegrityLevelConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY. Defines for which {@link Component}s their specified SIL must be considered in the evaluation."/>
<details key="documentation" value="@deprecated Defines for which {@link Component}s their specified SIL must be considered in the evaluation."/>
</eAnnotations>
<eOperations name="getLimitation" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
......@@ -344,7 +344,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyComparison">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/>
<details key="documentation" value="@deprecated"/>
</eAnnotations>
<eTypeParameters name="T"/>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment