Program: 127576
Project: 127576
Buggy source:
/** 
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("String_Node_Str") @Override public void eSet(int featureID,Object newValue){
switch (featureID) {
case ConnectionPackage.METADATA_COLUMN__OWNER_SCOPE:
    setOwnerScope((ScopeKind)newValue);
  return;
case ConnectionPackage.METADATA_COLUMN__OWNER:
setOwner((Classifier)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__FEATURE_NODE:
getFeatureNode().clear();
getFeatureNode().addAll((Collection<? extends FeatureNode>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__FEATURE_MAP:
getFeatureMap().clear();
getFeatureMap().addAll((Collection<? extends FeatureMap>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__CF_MAP:
getCfMap().clear();
getCfMap().addAll((Collection<? extends ClassifierFeatureMap>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__CHANGEABILITY:
setChangeability((ChangeableKind)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__MULTIPLICITY:
setMultiplicity((Multiplicity)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__ORDERING:
setOrdering((OrderingKind)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__TARGET_SCOPE:
setTargetScope((ScopeKind)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__TYPE:
setType((Classifier)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__SLOT:
getSlot().clear();
getSlot().addAll((Collection<? extends Slot>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__DISCRIMINATED_UNION:
getDiscriminatedUnion().clear();
getDiscriminatedUnion().addAll((Collection<? extends Union>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__INDEXED_FEATURE:
getIndexedFeature().clear();
getIndexedFeature().addAll((Collection<? extends IndexedFeature>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__KEY_RELATIONSHIP:
getKeyRelationship().clear();
getKeyRelationship().addAll((Collection<? extends KeyRelationship>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__UNIQUE_KEY:
getUniqueKey().clear();
getUniqueKey().addAll((Collection<? extends UniqueKey>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__DATA_ITEM:
getDataItem().clear();
getDataItem().addAll((Collection<? extends DataItem>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__REMAP:
getRemap().clear();
getRemap().addAll((Collection<? extends Remap>)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__INITIAL_VALUE:
setInitialValue((Expression)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__LENGTH:
setLength((Long)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__PRECISION:
setPrecision((Long)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__SCALE:
setScale((Long)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__SOURCE_TYPE:
setSourceType((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__DEFAULT_VALUE:
setDefaultValue((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__TALEND_TYPE:
setTalendType((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__KEY:
setKey((Boolean)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__NULLABLE:
setNullable((Boolean)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__TABLE:
setTable((MetadataTable)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__ORIGINAL_FIELD:
setOriginalField((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__PATTERN:
setPattern((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__DISPLAY_FIELD:
setDisplayField((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__ORIGINAL_LENGTH:
setOriginalLength((Long)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__RELATED_ENTITY:
setRelatedEntity((String)newValue);
return;
case ConnectionPackage.METADATA_COLUMN__RELATIONSHIP_TYPE:
setRelationshipType((String)newValue);
return;
}
super.eSet(featureID,newValue);
}

Fixed version (ground truth):
/** 
 * overides the eSet to avoid name=label behaviour in super.setLabel to fix TDI-26322
 */
@Override public void eSet(int featureID,Object newValue){
  if (ConnectionPackage.ABSTRACT_METADATA_OBJECT__LABEL == featureID) {
    setLabelFix((String)newValue);
    return;
  }
  eSetGen(featureID,newValue);
}