aas-core-works / aas-core-meta

Provide formalized meta-models for Asset Administration Shell (AAS).
Other
9 stars 3 forks source link

Add seperate `Version_type` and `Revision_type` #240

Closed s-heppner closed 1 year ago

s-heppner commented 1 year ago

Currently, version and revision use Optional[Non_empty_XML_serializable_string] and check their types in the invariants (matches_version_type()). In order to avoid confusion, it would be clearer, to add seperate types, inheriting from Non_empty_XML_serializable_string, similar to how it's done in Name_type.