Interface IHasSemantics
Element that can have a semantic definition plus some supplemental semantic definitions.
Inherited Members
Namespace: AasCore.Aas3_0_RC02
Assembly: AasCore.Aas3_0_RC02.dll
Syntax
public interface IHasSemantics : IClass
Remarks
Constraints:
- Constraint AASd-118: If there are ID SupplementalSemanticIds defined then there shall be also a main semantic ID SemanticId.
Properties
| Improve this Doc View SourceSemanticId
Identifier of the semantic definition of the element. It is called semantic ID of the element or also main semantic ID of the element.
Declaration
IReference SemanticId { get; set; }
Property Value
Type | Description |
---|---|
IReference |
Remarks
It is recommended to use a global reference.
SupplementalSemanticIds
Identifier of a supplemental semantic definition of the element. It is called supplemental semantic ID of the element.
Declaration
List<IReference> SupplementalSemanticIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<IReference> |
Remarks
It is recommended to use a global reference.
Methods
| Improve this Doc View SourceOverSupplementalSemanticIdsOrEmpty()
Iterate over SupplementalSemanticIds, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<IReference> OverSupplementalSemanticIdsOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IReference> |