/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case Aadl2Package.PORT_SPECIFICATION__DIRECTION: setDirection(DIRECTION_EDEFAULT); return; case Aadl2Package.PORT_SPECIFICATION__CATEGORY: setCategory(CATEGORY_EDEFAULT); return; case Aadl2Package.PORT_SPECIFICATION__CLASSIFIER: setClassifier((ComponentClassifier) null); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case Aadl2Package.PORT_SPECIFICATION__DIRECTION: setDirection((DirectionType) newValue); return; case Aadl2Package.PORT_SPECIFICATION__CATEGORY: setCategory((PortCategory) newValue); return; case Aadl2Package.PORT_SPECIFICATION__CLASSIFIER: setClassifier((ComponentClassifier) newValue); return; } super.eSet(featureID, newValue); }