Skip to content

Commit

Permalink
fix #333 recursion depth continues
Browse files Browse the repository at this point in the history
fix #388 UML Cardinality
  • Loading branch information
BirgitBoss committed Dec 15, 2024
1 parent 910b588 commit a9e41c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ The following kinds of _Types_ are distinguished:
** _<Primitive>:_ Type is no object type (class) but a data type; it is just a value, see Clause xref:spec-metamodel/datatypes.adoc#primitive-data-types[Primitive Data Types]
** _<Enumeration>:_ Type is an enumeration, see <<template-for-enumerations>>

_Card._ is the cardinality (or multiplicity) defining the lower and upper bound of the number of instances of the member element. "\*" denotes an arbitrary infinite number of elements of the corresponding Type. "0..1" means optional. "0..*" or "0..3" etc. means that the list may be either not available (optional) or the list is not empty.
_Card._ is the cardinality (or multiplicity) defining the lower and upper bound of the number of instances of the member element.
"\*" denotes an arbitrary infinite number of elements of the corresponding Type.
"0..1" means optional. "0..*" or "0..3" etc. means that the list may be either not available (optional) or the list is not empty.
In the case of "0..3" there are at most 3 elements in the list.
"1" means the attribute is mandatory.
"1..*" or "1..3" means there is at least 1 element in the list. The "*" denotes as maximum an infinite number of elements of the corresponding type whereas "3" means that there are at most 3 elements in the list - analogeous for other numbers.

====
Note 1: attributes having a default value are always considered to be optional; there is always a value for the attribute because the default value is used for initialization in this case.
Expand Down
1 change: 1 addition & 0 deletions documentation/IDTA-01001/modules/ROOT/pages/changelog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Minor Changes:
* update bibliography (newer versions, link update, removal of entries not referenced)
* consistent usage of idShortPath and IRDI-Path (https://github.com/admin-shell-io/aas-specs/issues/385[#385])
* add example for deprecated attribute in class in Annex UML
* improve UML Template description https://github.com/admin-shell-io/aas-specs/issues/388[#388])
* editorial changes


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ A container element is a submodel element that is composed of other submodel ele

Container elements include xref:spec-metamodel/submodel-elements.adoc#AnnotatedRelationshipElement[AnnotatedRelationshipElement], xref:spec-metamodel/submodel-elements.adoc#Entity[Entity], xref:spec-metamodel/submodel-elements.adoc#SubmodelElementCollection[SubmodelElementCollection] and xref:spec-metamodel/submodel-elements.adoc#SubmodelElementList[SubmodelElementList], see <<image-container-element-subtypes>>.

====
A maximum recursion depth of 32 for Container-Elements should be supported.
This means for certification a maximum of 32 recursion test cases should be tested.
====

[.table-with-appendix-table]
[cols="25%,40%,25%,10%"]
|===
Expand Down

0 comments on commit a9e41c0

Please sign in to comment.