HasSemantics🔗
(abstract)
Element that can have a semantic definition plus some supplemental semantic
definitions.
- Constraint AASd-118🔗
- If there are ID HasSemantics.supplementalSemanticIds defined then there shall be also a main semantic ID HasSemantics.semanticId.
Descendants 🔗
- SubmodelElement
- RelationshipElement
- AnnotatedRelationshipElement
- EventElement
- BasicEventElement
- DataElement
- Blob
- Capability
- Entity
- Extension
- File
- MultiLanguageProperty
- Operation
- Property
- Qualifier
- Range
- ReferenceElement
- SpecificAssetId
- Submodel
- SubmodelElementCollection
- SubmodelElementList
Properties 🔗
- semanticId: Optional[Reference] 🔗
-
Identifier of the semantic definition of the element. It is called semantic ID of the element or also main semantic ID of the element.It is recommended to use a global reference.
- supplementalSemanticIds: Optional[List[Reference]] 🔗
-
Identifier of a supplemental semantic definition of the element. It is called supplemental semantic ID of the element.It is recommended to use a global reference.
Invariants 🔗
-
Supplemental semantic IDs must be either not set or have at least one item
not (self.supplementalSemanticIds is not None) or (len(self.supplementalSemanticIds) >= 1)
-
Constraint AASd-118: If there are supplemental semantic IDs defined then there shall be also a main semantic ID.
not (self.supplementalSemanticIds is not None) or (self.semanticId is not None)