You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Operation "isIdShortRequired" -> returning true for all SubmodelElements except from SubmodelElementList
Operation "getContainedElements" -> returning Elements contained (values, statements, annotations, ....)
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: