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

V3.1: Introduce new abstract Container_element #356

Draft
wants to merge 1 commit into
base: v3.1/main
Choose a base branch
from

Conversation

s-heppner
Copy link
Collaborator

The new version of the specification introduces a new abstract class Container_element. This class is used to describe concrete classes that are able to "contain" other classes from the meta-model.

Concretely, this means that the classes:

  • Annotated_relationship_element
  • Entity
  • Submodel_element_collection
  • Submodel_element_list now inherit from the Container_element class.

See these resources:

Note

This PR is a draft and should stay this way until we made sure the Diamond Inheritance Pattern introduced with Annotated_relationship_element does not have any unforseen side effects!

The new version of the specification introduces a
new abstract class `Container_element`. This class
is used to describe concrete classes that are able
to "contain" other classes from the meta-model.

Concretely, this means that the classes:
- `Annotated_relationship_element`
- `Entity`
- `Submodel_element_collection`
- `Submodel_element_list`
now inherit from the `Container_element` class.

See these resources:
- [Link to spec]
- Issue that introduces the class: [aas-specs#420]
- Issue for the reasoning behind the
  new class: [aas-specs#333]
- PR that introduces it into
  the spec: [aas-specs#500]

[Link to spec]: https://admin-shell-io.github.io/aas-specs-antora/IDTA-01001/v3.1/spec-metamodel/submodel-elements.html#container-element-and-overview-of-data-element-types
[aas-specs#420]: admin-shell-io/aas-specs#420
[aas-specs#333]: admin-shell-io/aas-specs#333
[aas-specs#500]: admin-shell-io/aas-specs#500
@s-heppner s-heppner added the V3.1 SpecAAS V3.1 label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V3.1 SpecAAS V3.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant