/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ModelPackage.MBRICKLET_DUST_DETECTOR__LOGGER:
       return LOGGER_EDEFAULT == null ? logger != null : !LOGGER_EDEFAULT.equals(logger);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__UID:
       return UID_EDEFAULT == null ? uid != null : !UID_EDEFAULT.equals(uid);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__POLL:
       return poll != POLL_EDEFAULT;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__ENABLED_A:
       return ENABLED_A_EDEFAULT == null ? enabledA != null : !ENABLED_A_EDEFAULT.equals(enabledA);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__TINKERFORGE_DEVICE:
       return tinkerforgeDevice != null;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__IP_CONNECTION:
       return IP_CONNECTION_EDEFAULT == null
           ? ipConnection != null
           : !IP_CONNECTION_EDEFAULT.equals(ipConnection);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__CONNECTED_UID:
       return CONNECTED_UID_EDEFAULT == null
           ? connectedUid != null
           : !CONNECTED_UID_EDEFAULT.equals(connectedUid);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__POSITION:
       return position != POSITION_EDEFAULT;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__DEVICE_IDENTIFIER:
       return deviceIdentifier != DEVICE_IDENTIFIER_EDEFAULT;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__BRICKD:
       return getBrickd() != null;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__SENSOR_VALUE:
       return sensorValue != null;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__TF_CONFIG:
       return tfConfig != null;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__CALLBACK_PERIOD:
       return callbackPeriod != CALLBACK_PERIOD_EDEFAULT;
     case ModelPackage.MBRICKLET_DUST_DETECTOR__DEVICE_TYPE:
       return DEVICE_TYPE_EDEFAULT == null
           ? deviceType != null
           : !DEVICE_TYPE_EDEFAULT.equals(deviceType);
     case ModelPackage.MBRICKLET_DUST_DETECTOR__THRESHOLD:
       return THRESHOLD_EDEFAULT == null
           ? threshold != null
           : !THRESHOLD_EDEFAULT.equals(threshold);
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ModelPackage.MBRICKLET_LED_STRIP__COLOR:
       return COLOR_EDEFAULT == null ? color != null : !COLOR_EDEFAULT.equals(color);
     case ModelPackage.MBRICKLET_LED_STRIP__LOGGER:
       return LOGGER_EDEFAULT == null ? logger != null : !LOGGER_EDEFAULT.equals(logger);
     case ModelPackage.MBRICKLET_LED_STRIP__UID:
       return UID_EDEFAULT == null ? uid != null : !UID_EDEFAULT.equals(uid);
     case ModelPackage.MBRICKLET_LED_STRIP__POLL:
       return poll != POLL_EDEFAULT;
     case ModelPackage.MBRICKLET_LED_STRIP__ENABLED_A:
       return ENABLED_A_EDEFAULT == null ? enabledA != null : !ENABLED_A_EDEFAULT.equals(enabledA);
     case ModelPackage.MBRICKLET_LED_STRIP__TINKERFORGE_DEVICE:
       return tinkerforgeDevice != null;
     case ModelPackage.MBRICKLET_LED_STRIP__IP_CONNECTION:
       return IP_CONNECTION_EDEFAULT == null
           ? ipConnection != null
           : !IP_CONNECTION_EDEFAULT.equals(ipConnection);
     case ModelPackage.MBRICKLET_LED_STRIP__CONNECTED_UID:
       return CONNECTED_UID_EDEFAULT == null
           ? connectedUid != null
           : !CONNECTED_UID_EDEFAULT.equals(connectedUid);
     case ModelPackage.MBRICKLET_LED_STRIP__POSITION:
       return position != POSITION_EDEFAULT;
     case ModelPackage.MBRICKLET_LED_STRIP__DEVICE_IDENTIFIER:
       return deviceIdentifier != DEVICE_IDENTIFIER_EDEFAULT;
     case ModelPackage.MBRICKLET_LED_STRIP__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case ModelPackage.MBRICKLET_LED_STRIP__BRICKD:
       return getBrickd() != null;
     case ModelPackage.MBRICKLET_LED_STRIP__TF_CONFIG:
       return tfConfig != null;
     case ModelPackage.MBRICKLET_LED_STRIP__MSUBDEVICES:
       return msubdevices != null && !msubdevices.isEmpty();
     case ModelPackage.MBRICKLET_LED_STRIP__DEVICE_TYPE:
       return DEVICE_TYPE_EDEFAULT == null
           ? deviceType != null
           : !DEVICE_TYPE_EDEFAULT.equals(deviceType);
     case ModelPackage.MBRICKLET_LED_STRIP__COLOR_MAPPING:
       return COLOR_MAPPING_EDEFAULT == null
           ? colorMapping != null
           : !COLOR_MAPPING_EDEFAULT.equals(colorMapping);
   }
   return super.eIsSet(featureID);
 }