admin-shell-io / aas-specs

Repository of the Asset Administration Shell Specification IDTA-01001 - Metamodel
https://admin-shell-io.github.io/aas-specs-antora/index/home/index.html
Creative Commons Attribution 4.0 International
50 stars 26 forks source link

Introduce ContainerElement as SubmodelElement interface #420

Open alexgordtop opened 7 months ago

alexgordtop commented 7 months ago

Is your feature request related to a problem? Please describe. In documentation and implementation we often describe special aspects of SubmodelElements, that may contain other SubmodelElements. It would be handsome to define a corresponding interface, so that we can talk about them.

For reference / completeness checks it would be handsome to have that interface, so that a developer could easily identify all SubmodelElements, that require more attention.

Describe the solution you'd like Introduce an interface "ContainerElement" comparable to DataElement and apply it to AnnotatedRelationshipElement, Entity, SubmodelElementCollection, SubmodelElementList.

Handsome enhancements:

These operations should be seen as recommendations to SDK implementations, what they could provide as convenience operations.

Interface and operations have no effect on serialization.

BirgitBoss commented 6 months ago

TF AAS Part 1 2024-05-15

BirgitBoss commented 5 months ago

Workstream AAS Spec 2024-06-13 Approved to add an abstract class "ContainerElement". These classes will inherit from this class:

Operation might need to be reconsidered later to be added as well

BirgitBoss commented 5 days ago

compare to https://github.com/admin-shell-io/aas-specs/issues/434: removing abstract class was considered to be risky to change. So I wonder whether introducing a new abstract class has the same effect.