/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case StextPackage.VARIABLE_DEFINITION__TYPE: setType((Type) null); return; case StextPackage.VARIABLE_DEFINITION__OWNING_TYPE: setOwningType((ComplexType) null); return; case StextPackage.VARIABLE_DEFINITION__READONLY: setReadonly(READONLY_EDEFAULT); return; case StextPackage.VARIABLE_DEFINITION__EXTERNAL: setExternal(EXTERNAL_EDEFAULT); return; case StextPackage.VARIABLE_DEFINITION__INITIAL_VALUE: setInitialValue((Expression) null); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case StextPackage.VARIABLE_DEFINITION__TYPE: setType((Type) newValue); return; case StextPackage.VARIABLE_DEFINITION__OWNING_TYPE: setOwningType((ComplexType) newValue); return; case StextPackage.VARIABLE_DEFINITION__READONLY: setReadonly((Boolean) newValue); return; case StextPackage.VARIABLE_DEFINITION__EXTERNAL: setExternal((Boolean) newValue); return; case StextPackage.VARIABLE_DEFINITION__INITIAL_VALUE: setInitialValue((Expression) newValue); return; } super.eSet(featureID, newValue); }