Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Deprecated lifecycle stereotype #309

Open
kamlam opened this issue Oct 1, 2019 · 1 comment
Open

The Deprecated lifecycle stereotype #309

kamlam opened this issue Oct 1, 2019 · 1 comment

Comments

@kamlam
Copy link
Contributor

kamlam commented Oct 1, 2019

Issue statements:
(1) Guidelines for using the Deprecated lifecycle stereotype: When deprecating an object class, do we need to also explicitly deprecate the attributes of the deprecated object class?
(2) Reasonale of deprecating an UML artifact: ITU-T Q14/15 finds it is useful to document the reasonale of deprecating an UML artifact. Right now, we put the description in the "Applied comments" field of the artifact. Some members thought it would be cleaner if the comment describing the deprecation of an UML artifact is added to the Deprecated stereotype of the OpenModelProfile. But a stereotype (such as Deprecated) is just a simple string. It doesn’t have any further structure/subfield available for us to describe the reason of deprecation.

Background: These comments were raised in the recent ITU-T Q14/15 discussion.

@kamlam
Copy link
Contributor Author

kamlam commented Oct 4, 2019

2019.10.04 IISOMI Discussion:
(1) Guidelines for using the Deprecated lifecycle stereotype: It was agreed:

  • If the class is deprecated, all the existing lifecycle states of the contained attributes are ignored.
  • This should be defined in a two-level state diagram/table in the modeling guideline document. The first level is the object class lifecycle state, and the 2nd level is the attribute lifecycle state.
    (2) Rationale of deprecating an artifact: It was agreed:
  • Use the Applied Comment field of the artifact to document the rationale, if any, of the deprecation.
  • Note that the comment can be made visiable in the class diagram (Steps: Drag the comment from the Model Explorer into the diagram / right click the comment box / Navigate / Restore Related Element)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant