admin-shell-io / aas-specs

Repository of the Asset Administration Shell Specification IDTA-01001 - Metamodel
https://industrialdigitaltwin.org/en/content-hub/aasspecifications
Creative Commons Attribution 4.0 International
45 stars 26 forks source link

Introduce ContainerElement as SubmodelElement interface #420

Open alexgordtop opened 2 months ago

alexgordtop commented 2 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 1 month ago

TF AAS Part 1 2024-05-15

BirgitBoss commented 2 weeks 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