Bug 363915 - Deprecate meta model version ordinals
Summary: Deprecate meta model version ordinals
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian K. CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 09:53 EST by Christian K. CLA
Modified: 2024-05-06 23:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian K. CLA 2011-11-16 09:53:14 EST
Currently the meta model descriptor and version data classes in Sphinx support the concept of an ordinal. The ordinal is a primitive int which has been introduced with the intention to provide version related ordering for different meta model versions.
Ordinals will be deprecated and removed in future Sphinx versions out of the following reasons:
- an ordinal has weak semantics and often it is overly complicated to map this to real world versioning schemes, e.g. a scheme which is divided into major/minor or major/minor/patch.
- ordinals are not used frequently or at all
- replacing ordinals with a more generic approach potentially based on an int[] array would be complex but still it is doubtful if all requirementes can be met by specific meta model families

Instead a subclass of MetaModelVersionData should be created which implements the version semantics of a specific meta model family.
Comment 1 Christian K. CLA 2011-11-16 10:46:27 EST
Deprecation annotations have been added to the code.

This bug will be kept open to also track the removal of the code related to ordinals.
Comment 2 Balazs Grill CLA 2024-05-06 23:07:17 EDT
Closed stale issue before migration