* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setUsageType(FIELDUSAGETYPE newUsageType) {
FIELDUSAGETYPE oldUsageType = usageType;
usageType = newUsageType == null ? USAGE_TYPE_EDEFAULT : newUsageType;
boolean oldUsageTypeESet = usageTypeESet;
usageTypeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, _40Package.MINING_FIELD_TYPE__USAGE_TYPE, oldUsageType, usageType, !oldUsageTypeESet));