case AttributePackage.UNITS_OF_MEASUREMENT_OBJECT: return convertUnitsOfMeasurementObjectToString(eDataType, instanceValue);
    public String convertToString(EDataType eDataType, Object instanceValue)    {        switch (eDataType.getClassifierID())        {            case AttributePackage.ACTION_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.ANCHOR:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.AXIS_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.CHART_DIMENSION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.CHART_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.DATA_POINT_COMPONENT_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.DATE_FORMAT_DETAIL:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.DATE_FORMAT_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.DIRECTION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.HORIZONTAL_ALIGNMENT:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.INTERSECTION_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.LEADER_LINE_STYLE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.LEGEND_ITEM_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.LINE_STYLE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.MARKER_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.ORIENTATION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.POSITION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.RISER_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.RULE_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.SCALE_UNIT_TYPE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.SORT_OPTION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.STRETCH:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.STYLED_COMPONENT:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.TICK_STYLE:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.TRIGGER_CONDITION:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.VERTICAL_ALIGNMENT:                return instanceValue == null ? null : instanceValue.toString();            case AttributePackage.ACTION_TYPE_OBJECT:                return convertActionTypeObjectToString(eDataType, instanceValue);            case AttributePackage.ANCHOR_OBJECT:                return convertAnchorObjectToString(eDataType, instanceValue);            case AttributePackage.AXIS_TYPE_OBJECT:                return convertAxisTypeObjectToString(eDataType, instanceValue);            case AttributePackage.CHART_DIMENSION_OBJECT:                return convertChartDimensionObjectToString(eDataType, instanceValue);            case AttributePackage.CHART_TYPE_OBJECT:                return convertChartTypeObjectToString(eDataType, instanceValue);            case AttributePackage.DATA_POINT_COMPONENT_TYPE_OBJECT:                return convertDataPointComponentTypeObjectToString(eDataType, instanceValue);            case AttributePackage.DATE_FORMAT_DETAIL_OBJECT:                return convertDateFormatDetailObjectToString(eDataType, instanceValue);            case AttributePackage.DATE_FORMAT_TYPE_OBJECT:                return convertDateFormatTypeObjectToString(eDataType, instanceValue);            case AttributePackage.DIRECTION_OBJECT:                return convertDirectionObjectToString(eDataType, instanceValue);            case AttributePackage.HORIZONTAL_ALIGNMENT_OBJECT:                return convertHorizontalAlignmentObjectToString(eDataType, instanceValue);            case AttributePackage.ID:                return convertIDToString(eDataType, instanceValue);            case AttributePackage.INTERSECTION_TYPE_OBJECT:                return convertIntersectionTypeObjectToString(eDataType, instanceValue);            case AttributePackage.LEADER_LINE_STYLE_OBJECT:                return convertLeaderLineStyleObjectToString(eDataType, instanceValue);            case AttributePackage.LEGEND_ITEM_TYPE_OBJECT:                return convertLegendItemTypeObjectToString(eDataType, instanceValue);            case AttributePackage.LINE_STYLE_OBJECT:                return convertLineStyleObjectToString(eDataType, instanceValue);            case AttributePackage.MARKER_TYPE_OBJECT:                return convertMarkerTypeObjectToString(eDataType, instanceValue);            case AttributePackage.ORIENTATION_OBJECT:                return convertOrientationObjectToString(eDataType, instanceValue);            case AttributePackage.PERCENTAGE:                return convertPercentageToString(eDataType, instanceValue);            case AttributePackage.PERCENTAGE_OBJECT:                return convertPercentageObjectToString(eDataType, instanceValue);            case AttributePackage.POSITION_OBJECT:                return convertPositionObjectToString(eDataType, instanceValue);            case AttributePackage.RGB_VALUE:                return convertRGBValueToString(eDataType, instanceValue);            case AttributePackage.RGB_VALUE_OBJECT:                return convertRGBValueObjectToString(eDataType, instanceValue);            case AttributePackage.RISER_TYPE_OBJECT:                return convertRiserTypeObjectToString(eDataType, instanceValue);            case AttributePackage.RULE_TYPE_OBJECT:                return convertRuleTypeObjectToString(eDataType, instanceValue);            case AttributePackage.SCALE_UNIT_TYPE_OBJECT:                return convertScaleUnitTypeObjectToString(eDataType, instanceValue);            case AttributePackage.SORT_OPTION_OBJECT:                return convertSortOptionObjectToString(eDataType, instanceValue);            case AttributePackage.STRETCH_OBJECT:                return convertStretchObjectToString(eDataType, instanceValue);            case AttributePackage.STYLED_COMPONENT_OBJECT:                return convertStyledComponentObjectToString(eDataType, instanceValue);            case AttributePackage.TICK_STYLE_OBJECT:                return convertTickStyleObjectToString(eDataType, instanceValue);            case AttributePackage.TRIGGER_CONDITION_OBJECT:                return convertTriggerConditionObjectToString(eDataType, instanceValue);            case AttributePackage.VERTICAL_ALIGNMENT_OBJECT:                return convertVerticalAlignmentObjectToString(eDataType, instanceValue);            default:                throw new IllegalArgumentException("The datatype '" + eDataType.getName()                    + "' is not a valid classifier");        }    }