return validateUnitsOfMeasurement( (Object) value,
return validateUnitsOfMeasurement( (UnitsOfMeasurement) value,
	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.ANGLE3_D :				return validateAngle3D( (Angle3D) value, diagnostics, context );			case AttributePackage.AXIS_ORIGIN :				return validateAxisOrigin( (AxisOrigin) value,						diagnostics,						context );			case AttributePackage.BOUNDS :				return validateBounds( (Bounds) value, diagnostics, context );			case AttributePackage.CALL_BACK_VALUE :				return validateCallBackValue( (CallBackValue) 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.EMBEDDED_IMAGE :				return validateEmbeddedImage( (EmbeddedImage) 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.INTERACTIVITY :				return validateInteractivity( (Interactivity) 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.LOCATION3_D :				return validateLocation3D( (Location3D) 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.ROTATION3_D :				return validateRotation3D( (Rotation3D) value,						diagnostics,						context );			case AttributePackage.SCRIPT_VALUE :				return validateScriptValue( (ScriptValue) 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 :				return validateStyle( (Style) 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.ANGLE_TYPE :				return validateAngleType( (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.DATA_TYPE :				return validateDataType( (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.GROUPING_UNIT_TYPE :				return validateGroupingUnitType( (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_BEHAVIOR_TYPE :				return validateLegendBehaviorType( (Object) value,						diagnostics,						context );			case AttributePackage.LEGEND_ITEM_TYPE :				return validateLegendItemType( (Object) value,						diagnostics,						context );			case AttributePackage.LINE_DECORATOR :				return validateLineDecorator( (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.TRIGGER_FLOW :				return validateTriggerFlow( (Object) value,						diagnostics,						context );			case AttributePackage.UNITS_OF_MEASUREMENT :				return validateUnitsOfMeasurement( (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.ANGLE_TYPE_OBJECT :				return validateAngleTypeObject( (AngleType) 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.DATA_TYPE_OBJECT :				return validateDataTypeObject( (DataType) 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.GROUPING_UNIT_TYPE_OBJECT :				return validateGroupingUnitTypeObject( (GroupingUnitType) 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_BEHAVIOR_TYPE_OBJECT :				return validateLegendBehaviorTypeObject( (LegendBehaviorType) value,						diagnostics,						context );			case AttributePackage.LEGEND_ITEM_TYPE_OBJECT :				return validateLegendItemTypeObject( (LegendItemType) value,						diagnostics,						context );			case AttributePackage.LINE_DECORATOR_OBJECT :				return validateLineDecoratorObject( (LineDecorator) 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.TRIGGER_FLOW_OBJECT :				return validateTriggerFlowObject( (TriggerFlow) value,						diagnostics,						context );			case AttributePackage.UNITS_OF_MEASUREMENT_OBJECT :				return validateUnitsOfMeasurementObject( (UnitsOfMeasurement) value,						diagnostics,						context );			case AttributePackage.VERTICAL_ALIGNMENT_OBJECT :				return validateVerticalAlignmentObject( (VerticalAlignment) value,						diagnostics,						context );			default :				return true;		}	}