case AttributePackage.SERIES_HINT: return validateSeriesHint((SeriesHint) value, diagnostics, context);
    protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context)    {        switch (classifierID)        {            case AttributePackage.ACTION_VALUE:                return validateActionValue((ActionValue) value, diagnostics, context);            case AttributePackage.AXIS_ORIGIN:                return validateAxisOrigin((AxisOrigin) value, diagnostics, context);            case AttributePackage.BOUNDS:                return validateBounds((Bounds) value, diagnostics, context);            case AttributePackage.COLOR_DEFINITION:                return validateColorDefinition((ColorDefinition) value, diagnostics, context);            case AttributePackage.DATA_POINT:                return validateDataPoint((DataPoint) value, diagnostics, context);            case AttributePackage.DATA_POINT_COMPONENT:                return validateDataPointComponent((DataPointComponent) value, diagnostics, context);            case AttributePackage.DATE_FORMAT_SPECIFIER:                return validateDateFormatSpecifier((DateFormatSpecifier) value, diagnostics, context);            case AttributePackage.EXTENDED_PROPERTY:                return validateExtendedProperty((ExtendedProperty) value, diagnostics, context);            case AttributePackage.FILL:                return validateFill((Fill) value, diagnostics, context);            case AttributePackage.FONT_DEFINITION:                return validateFontDefinition((FontDefinition) value, diagnostics, context);            case AttributePackage.FORMAT_SPECIFIER:                return validateFormatSpecifier((FormatSpecifier) value, diagnostics, context);            case AttributePackage.GRADIENT:                return validateGradient((Gradient) value, diagnostics, context);            case AttributePackage.IMAGE:                return validateImage((Image) value, diagnostics, context);            case AttributePackage.INSETS:                return validateInsets((Insets) value, diagnostics, context);            case AttributePackage.JAVA_DATE_FORMAT_SPECIFIER:                return validateJavaDateFormatSpecifier((JavaDateFormatSpecifier) value, diagnostics, context);            case AttributePackage.JAVA_NUMBER_FORMAT_SPECIFIER:                return validateJavaNumberFormatSpecifier((JavaNumberFormatSpecifier) value, diagnostics, context);            case AttributePackage.LINE_ATTRIBUTES:                return validateLineAttributes((LineAttributes) value, diagnostics, context);            case AttributePackage.LOCATION:                return validateLocation((Location) value, diagnostics, context);            case AttributePackage.MARKER:                return validateMarker((Marker) value, diagnostics, context);            case AttributePackage.NUMBER_FORMAT_SPECIFIER:                return validateNumberFormatSpecifier((NumberFormatSpecifier) value, diagnostics, context);            case AttributePackage.PALETTE:                return validatePalette((Palette) value, diagnostics, context);            case AttributePackage.SCRIPT_VALUE:                return validateScriptValue((ScriptValue) value, diagnostics, context);            case AttributePackage.SERIES_HINT:                return validateSeriesHint((SeriesHint) value, diagnostics, context);            case AttributePackage.SERIES_VALUE:                return validateSeriesValue((SeriesValue) value, diagnostics, context);            case AttributePackage.SIZE:                return validateSize((Size) value, diagnostics, context);            case AttributePackage.STYLE_MAP:                return validateStyleMap((StyleMap) value, diagnostics, context);            case AttributePackage.TEXT:                return validateText((Text) value, diagnostics, context);            case AttributePackage.TEXT_ALIGNMENT:                return validateTextAlignment((TextAlignment) value, diagnostics, context);            case AttributePackage.TOOLTIP_VALUE:                return validateTooltipValue((TooltipValue) value, diagnostics, context);            case AttributePackage.URL_VALUE:                return validateURLValue((URLValue) value, diagnostics, context);            case AttributePackage.ACTION_TYPE:                return validateActionType((Object) value, diagnostics, context);            case AttributePackage.ANCHOR:                return validateAnchor((Object) value, diagnostics, context);            case AttributePackage.AXIS_TYPE:                return validateAxisType((Object) value, diagnostics, context);            case AttributePackage.CHART_DIMENSION:                return validateChartDimension((Object) value, diagnostics, context);            case AttributePackage.CHART_TYPE:                return validateChartType((Object) value, diagnostics, context);            case AttributePackage.DATA_POINT_COMPONENT_TYPE:                return validateDataPointComponentType((Object) value, diagnostics, context);            case AttributePackage.DATE_FORMAT_DETAIL:                return validateDateFormatDetail((Object) value, diagnostics, context);            case AttributePackage.DATE_FORMAT_TYPE:                return validateDateFormatType((Object) value, diagnostics, context);            case AttributePackage.DIRECTION:                return validateDirection((Object) value, diagnostics, context);            case AttributePackage.HORIZONTAL_ALIGNMENT:                return validateHorizontalAlignment((Object) value, diagnostics, context);            case AttributePackage.INTERSECTION_TYPE:                return validateIntersectionType((Object) value, diagnostics, context);            case AttributePackage.LEADER_LINE_STYLE:                return validateLeaderLineStyle((Object) value, diagnostics, context);            case AttributePackage.LEGEND_ITEM_TYPE:                return validateLegendItemType((Object) value, diagnostics, context);            case AttributePackage.LINE_STYLE:                return validateLineStyle((Object) value, diagnostics, context);            case AttributePackage.MARKER_TYPE:                return validateMarkerType((Object) value, diagnostics, context);            case AttributePackage.ORIENTATION:                return validateOrientation((Object) value, diagnostics, context);            case AttributePackage.POSITION:                return validatePosition((Object) value, diagnostics, context);            case AttributePackage.RISER_TYPE:                return validateRiserType((Object) value, diagnostics, context);            case AttributePackage.RULE_TYPE:                return validateRuleType((Object) value, diagnostics, context);            case AttributePackage.SCALE_UNIT_TYPE:                return validateScaleUnitType((Object) value, diagnostics, context);            case AttributePackage.SORT_OPTION:                return validateSortOption((Object) value, diagnostics, context);            case AttributePackage.STRETCH:                return validateStretch((Object) value, diagnostics, context);            case AttributePackage.STYLED_COMPONENT:                return validateStyledComponent((Object) value, diagnostics, context);            case AttributePackage.TICK_STYLE:                return validateTickStyle((Object) value, diagnostics, context);            case AttributePackage.TRIGGER_CONDITION:                return validateTriggerCondition((Object) value, diagnostics, context);            case AttributePackage.VERTICAL_ALIGNMENT:                return validateVerticalAlignment((Object) value, diagnostics, context);            case AttributePackage.ACTION_TYPE_OBJECT:                return validateActionTypeObject((ActionType) value, diagnostics, context);            case AttributePackage.ANCHOR_OBJECT:                return validateAnchorObject((Anchor) value, diagnostics, context);            case AttributePackage.AXIS_TYPE_OBJECT:                return validateAxisTypeObject((AxisType) value, diagnostics, context);            case AttributePackage.CHART_DIMENSION_OBJECT:                return validateChartDimensionObject((ChartDimension) value, diagnostics, context);            case AttributePackage.CHART_TYPE_OBJECT:                return validateChartTypeObject((ChartType) value, diagnostics, context);            case AttributePackage.DATA_POINT_COMPONENT_TYPE_OBJECT:                return validateDataPointComponentTypeObject((DataPointComponentType) value, diagnostics, context);            case AttributePackage.DATE_FORMAT_DETAIL_OBJECT:                return validateDateFormatDetailObject((DateFormatDetail) value, diagnostics, context);            case AttributePackage.DATE_FORMAT_TYPE_OBJECT:                return validateDateFormatTypeObject((DateFormatType) value, diagnostics, context);            case AttributePackage.DIRECTION_OBJECT:                return validateDirectionObject((Direction) value, diagnostics, context);            case AttributePackage.HORIZONTAL_ALIGNMENT_OBJECT:                return validateHorizontalAlignmentObject((HorizontalAlignment) value, diagnostics, context);            case AttributePackage.ID:                return validateID((String) value, diagnostics, context);            case AttributePackage.INTERSECTION_TYPE_OBJECT:                return validateIntersectionTypeObject((IntersectionType) value, diagnostics, context);            case AttributePackage.LEADER_LINE_STYLE_OBJECT:                return validateLeaderLineStyleObject((LeaderLineStyle) value, diagnostics, context);            case AttributePackage.LEGEND_ITEM_TYPE_OBJECT:                return validateLegendItemTypeObject((LegendItemType) value, diagnostics, context);            case AttributePackage.LINE_STYLE_OBJECT:                return validateLineStyleObject((LineStyle) value, diagnostics, context);            case AttributePackage.MARKER_TYPE_OBJECT:                return validateMarkerTypeObject((MarkerType) value, diagnostics, context);            case AttributePackage.ORIENTATION_OBJECT:                return validateOrientationObject((Orientation) value, diagnostics, context);            case AttributePackage.PERCENTAGE:                return validatePercentage(((Double) value).doubleValue(), diagnostics, context);            case AttributePackage.PERCENTAGE_OBJECT:                return validatePercentageObject((Double) value, diagnostics, context);            case AttributePackage.POSITION_OBJECT:                return validatePositionObject((Position) value, diagnostics, context);            case AttributePackage.RGB_VALUE:                return validateRGBValue(((Integer) value).intValue(), diagnostics, context);            case AttributePackage.RGB_VALUE_OBJECT:                return validateRGBValueObject((Integer) value, diagnostics, context);            case AttributePackage.RISER_TYPE_OBJECT:                return validateRiserTypeObject((RiserType) value, diagnostics, context);            case AttributePackage.RULE_TYPE_OBJECT:                return validateRuleTypeObject((RuleType) value, diagnostics, context);            case AttributePackage.SCALE_UNIT_TYPE_OBJECT:                return validateScaleUnitTypeObject((ScaleUnitType) value, diagnostics, context);            case AttributePackage.SORT_OPTION_OBJECT:                return validateSortOptionObject((SortOption) value, diagnostics, context);            case AttributePackage.STRETCH_OBJECT:                return validateStretchObject((Stretch) value, diagnostics, context);            case AttributePackage.STYLED_COMPONENT_OBJECT:                return validateStyledComponentObject((StyledComponent) value, diagnostics, context);            case AttributePackage.TICK_STYLE_OBJECT:                return validateTickStyleObject((TickStyle) value, diagnostics, context);            case AttributePackage.TRIGGER_CONDITION_OBJECT:                return validateTriggerConditionObject((TriggerCondition) value, diagnostics, context);            case AttributePackage.VERTICAL_ALIGNMENT_OBJECT:                return validateVerticalAlignmentObject((VerticalAlignment) value, diagnostics, context);            default:                return true;        }    }