Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java62
1 files changed, 37 insertions, 25 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java
index 40b30a5a483..18fd6ffc89c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/computationconstraint/impl/ComputationConstraintImpl.java
@@ -24,8 +24,8 @@ import org.eclipse.papyrus.eastadl.infrastructure.elements.impl.EAElementImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationConstraintImpl#getLogicalPath <em>Logical Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationConstraintImpl#getLogicalTransformation <em>Logical Transformation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationConstraintImpl#getLogicalPath <em>Logical Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.computationconstraint.impl.ComputationConstraintImpl#getLogicalTransformation <em>Logical Transformation</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
* The cached value of the '{@link #getLogicalPath() <em>Logical Path</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLogicalPath()
* @generated
* @ordered
@@ -46,6 +47,7 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
* The cached value of the '{@link #getLogicalTransformation() <em>Logical Transformation</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLogicalTransformation()
* @generated
* @ordered
@@ -55,6 +57,7 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComputationConstraintImpl() {
@@ -64,6 +67,7 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,8 +78,10 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<LogicalPath> getLogicalPath() {
if (logicalPath == null) {
logicalPath = new EObjectResolvingEList<LogicalPath>(LogicalPath.class, this, ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH);
@@ -86,8 +92,10 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<LogicalTransformation> getLogicalTransformation() {
if (logicalTransformation == null) {
logicalTransformation = new EObjectResolvingEList<LogicalTransformation>(LogicalTransformation.class, this, ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION);
@@ -98,15 +106,16 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
- return getLogicalPath();
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
- return getLogicalTransformation();
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
+ return getLogicalPath();
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
+ return getLogicalTransformation();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,20 +123,21 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
- getLogicalPath().clear();
- getLogicalPath().addAll((Collection<? extends LogicalPath>)newValue);
- return;
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
- getLogicalTransformation().clear();
- getLogicalTransformation().addAll((Collection<? extends LogicalTransformation>)newValue);
- return;
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
+ getLogicalPath().clear();
+ getLogicalPath().addAll((Collection<? extends LogicalPath>) newValue);
+ return;
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
+ getLogicalTransformation().clear();
+ getLogicalTransformation().addAll((Collection<? extends LogicalTransformation>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -135,17 +145,18 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
- getLogicalPath().clear();
- return;
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
- getLogicalTransformation().clear();
- return;
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
+ getLogicalPath().clear();
+ return;
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
+ getLogicalTransformation().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -153,17 +164,18 @@ public class ComputationConstraintImpl extends EAElementImpl implements Computat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
- return logicalPath != null && !logicalPath.isEmpty();
- case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
- return logicalTransformation != null && !logicalTransformation.isEmpty();
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_PATH:
+ return logicalPath != null && !logicalPath.isEmpty();
+ case ComputationconstraintPackage.COMPUTATION_CONSTRAINT__LOGICAL_TRANSFORMATION:
+ return logicalTransformation != null && !logicalTransformation.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ComputationConstraintImpl
+} // ComputationConstraintImpl

Back to the top