/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case KdmObjectsPackage.CLASS_UNIT__CODE_ELEMENT: getCodeElement().clear(); return; case KdmObjectsPackage.CLASS_UNIT__IS_ABSTRACT: setIsAbstract(IS_ABSTRACT_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case KdmObjectsPackage.CLASS_UNIT__CODE_ELEMENT: getCodeElement().clear(); getCodeElement().addAll((Collection<? extends CodeItem>) newValue); return; case KdmObjectsPackage.CLASS_UNIT__IS_ABSTRACT: setIsAbstract((Boolean) newValue); return; } super.eSet(featureID, newValue); }