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/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java204
1 files changed, 119 insertions, 85 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java
index 51eaaaaee71..fedad7525ef 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/annex/behaviordescription/impl/BehaviorConstraintPrototypeImpl.java
@@ -29,12 +29,12 @@ import org.eclipse.papyrus.eastadl.structure.vehiclefeaturemodeling.VehicleFeatu
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getInstantiationVariable <em>Instantiation Variable</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getTargetVehicleFeatureElement <em>Target Vehicle Feature Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getFunctionTarget <em>Function Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getHardwareComponentTarget <em>Hardware Component Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getErrorModelTarget <em>Error Model Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getInstantiationVariable <em>Instantiation Variable</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getTargetVehicleFeatureElement <em>Target Vehicle Feature Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getFunctionTarget <em>Function Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getHardwareComponentTarget <em>Hardware Component Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.annex.behaviordescription.impl.BehaviorConstraintPrototypeImpl#getErrorModelTarget <em>Error Model Target</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getInstantiationVariable() <em>Instantiation Variable</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getInstantiationVariable()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getTargetVehicleFeatureElement() <em>Target Vehicle Feature Element</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTargetVehicleFeatureElement()
* @generated
* @ordered
@@ -65,6 +67,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getType()
* @generated
* @ordered
@@ -75,6 +78,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getFunctionTarget() <em>Function Target</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFunctionTarget()
* @generated
* @ordered
@@ -85,6 +89,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getHardwareComponentTarget() <em>Hardware Component Target</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getHardwareComponentTarget()
* @generated
* @ordered
@@ -95,6 +100,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
* The cached value of the '{@link #getErrorModelTarget() <em>Error Model Target</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getErrorModelTarget()
* @generated
* @ordered
@@ -104,6 +110,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected BehaviorConstraintPrototypeImpl() {
@@ -113,6 +120,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -123,8 +131,10 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<BehaviorConstraintInternalBinding> getInstantiationVariable() {
if (instantiationVariable == null) {
instantiationVariable = new EObjectResolvingEList<BehaviorConstraintInternalBinding>(BehaviorConstraintInternalBinding.class, this, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE);
@@ -135,8 +145,10 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<VehicleFeature> getTargetVehicleFeatureElement() {
if (targetVehicleFeatureElement == null) {
targetVehicleFeatureElement = new EObjectResolvingEList<VehicleFeature>(VehicleFeature.class, this, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT);
@@ -147,15 +159,18 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public BehaviorConstraintType getType() {
if (type != null && type.eIsProxy()) {
- InternalEObject oldType = (InternalEObject)type;
- type = (BehaviorConstraintType)eResolveProxy(oldType);
+ InternalEObject oldType = (InternalEObject) type;
+ type = (BehaviorConstraintType) eResolveProxy(oldType);
if (type != oldType) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE, oldType, type));
+ }
}
}
return type;
@@ -164,6 +179,7 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public BehaviorConstraintType basicGetType() {
@@ -173,20 +189,25 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setType(BehaviorConstraintType newType) {
BehaviorConstraintType oldType = type;
type = newType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE, oldType, type));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<BehaviorConstraintPrototype_functionTargetInstanceRef> getFunctionTarget() {
if (functionTarget == null) {
functionTarget = new EObjectContainmentEList<BehaviorConstraintPrototype_functionTargetInstanceRef>(BehaviorConstraintPrototype_functionTargetInstanceRef.class, this, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET);
@@ -197,11 +218,14 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef> getHardwareComponentTarget() {
if (hardwareComponentTarget == null) {
- hardwareComponentTarget = new EObjectContainmentEList<BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef>(BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.class, this, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET);
+ hardwareComponentTarget = new EObjectContainmentEList<BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef>(BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef.class, this,
+ BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET);
}
return hardwareComponentTarget;
}
@@ -209,11 +233,14 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<BehaviorConstraintPrototype_errorModelTargetInstanceRef> getErrorModelTarget() {
if (errorModelTarget == null) {
- errorModelTarget = new EObjectContainmentEList<BehaviorConstraintPrototype_errorModelTargetInstanceRef>(BehaviorConstraintPrototype_errorModelTargetInstanceRef.class, this, BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET);
+ errorModelTarget = new EObjectContainmentEList<BehaviorConstraintPrototype_errorModelTargetInstanceRef>(BehaviorConstraintPrototype_errorModelTargetInstanceRef.class, this,
+ BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET);
}
return errorModelTarget;
}
@@ -221,17 +248,18 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
- return ((InternalEList<?>)getFunctionTarget()).basicRemove(otherEnd, msgs);
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
- return ((InternalEList<?>)getHardwareComponentTarget()).basicRemove(otherEnd, msgs);
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
- return ((InternalEList<?>)getErrorModelTarget()).basicRemove(otherEnd, msgs);
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
+ return ((InternalEList<?>) getFunctionTarget()).basicRemove(otherEnd, msgs);
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
+ return ((InternalEList<?>) getHardwareComponentTarget()).basicRemove(otherEnd, msgs);
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
+ return ((InternalEList<?>) getErrorModelTarget()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -239,24 +267,27 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
- return getInstantiationVariable();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
- return getTargetVehicleFeatureElement();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
- if (resolve) return getType();
- return basicGetType();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
- return getFunctionTarget();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
- return getHardwareComponentTarget();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
- return getErrorModelTarget();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
+ return getInstantiationVariable();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
+ return getTargetVehicleFeatureElement();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
+ if (resolve) {
+ return getType();
+ }
+ return basicGetType();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
+ return getFunctionTarget();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
+ return getHardwareComponentTarget();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
+ return getErrorModelTarget();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -264,35 +295,36 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
- getInstantiationVariable().clear();
- getInstantiationVariable().addAll((Collection<? extends BehaviorConstraintInternalBinding>)newValue);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
- getTargetVehicleFeatureElement().clear();
- getTargetVehicleFeatureElement().addAll((Collection<? extends VehicleFeature>)newValue);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
- setType((BehaviorConstraintType)newValue);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
- getFunctionTarget().clear();
- getFunctionTarget().addAll((Collection<? extends BehaviorConstraintPrototype_functionTargetInstanceRef>)newValue);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
- getHardwareComponentTarget().clear();
- getHardwareComponentTarget().addAll((Collection<? extends BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef>)newValue);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
- getErrorModelTarget().clear();
- getErrorModelTarget().addAll((Collection<? extends BehaviorConstraintPrototype_errorModelTargetInstanceRef>)newValue);
- return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
+ getInstantiationVariable().clear();
+ getInstantiationVariable().addAll((Collection<? extends BehaviorConstraintInternalBinding>) newValue);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
+ getTargetVehicleFeatureElement().clear();
+ getTargetVehicleFeatureElement().addAll((Collection<? extends VehicleFeature>) newValue);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
+ setType((BehaviorConstraintType) newValue);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
+ getFunctionTarget().clear();
+ getFunctionTarget().addAll((Collection<? extends BehaviorConstraintPrototype_functionTargetInstanceRef>) newValue);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
+ getHardwareComponentTarget().clear();
+ getHardwareComponentTarget().addAll((Collection<? extends BehaviorConstraintPrototype_hardwareComponentTargetInstanceRef>) newValue);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
+ getErrorModelTarget().clear();
+ getErrorModelTarget().addAll((Collection<? extends BehaviorConstraintPrototype_errorModelTargetInstanceRef>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -300,29 +332,30 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
- getInstantiationVariable().clear();
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
- getTargetVehicleFeatureElement().clear();
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
- setType((BehaviorConstraintType)null);
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
- getFunctionTarget().clear();
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
- getHardwareComponentTarget().clear();
- return;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
- getErrorModelTarget().clear();
- return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
+ getInstantiationVariable().clear();
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
+ getTargetVehicleFeatureElement().clear();
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
+ setType((BehaviorConstraintType) null);
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
+ getFunctionTarget().clear();
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
+ getHardwareComponentTarget().clear();
+ return;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
+ getErrorModelTarget().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -330,25 +363,26 @@ public class BehaviorConstraintPrototypeImpl extends TraceableSpecificationImpl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
- return instantiationVariable != null && !instantiationVariable.isEmpty();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
- return targetVehicleFeatureElement != null && !targetVehicleFeatureElement.isEmpty();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
- return type != null;
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
- return functionTarget != null && !functionTarget.isEmpty();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
- return hardwareComponentTarget != null && !hardwareComponentTarget.isEmpty();
- case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
- return errorModelTarget != null && !errorModelTarget.isEmpty();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__INSTANTIATION_VARIABLE:
+ return instantiationVariable != null && !instantiationVariable.isEmpty();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TARGET_VEHICLE_FEATURE_ELEMENT:
+ return targetVehicleFeatureElement != null && !targetVehicleFeatureElement.isEmpty();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__TYPE:
+ return type != null;
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__FUNCTION_TARGET:
+ return functionTarget != null && !functionTarget.isEmpty();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__HARDWARE_COMPONENT_TARGET:
+ return hardwareComponentTarget != null && !hardwareComponentTarget.isEmpty();
+ case BehaviordescriptionPackage.BEHAVIOR_CONSTRAINT_PROTOTYPE__ERROR_MODEL_TARGET:
+ return errorModelTarget != null && !errorModelTarget.isEmpty();
}
return super.eIsSet(featureID);
}
-} //BehaviorConstraintPrototypeImpl
+} // BehaviorConstraintPrototypeImpl

Back to the top