/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case YangPackage.STATUS_STATEMENT__STATUS: setStatus(STATUS_EDEFAULT); return; case YangPackage.STATUS_STATEMENT__STATUSUNKNOWNSTATEMENTS: getStatusunknownstatements().clear(); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case YangPackage.STATUS_STATEMENT__STATUS: setStatus((String) newValue); return; case YangPackage.STATUS_STATEMENT__STATUSUNKNOWNSTATEMENTS: getStatusunknownstatements().clear(); getStatusunknownstatements().addAll((Collection<? extends UnknownStatement>) newValue); return; } super.eSet(featureID, newValue); }