Skip to content

SubmodelElementType and SubmodelPropertyType

Marco Salafia edited this page Apr 10, 2019 · 4 revisions

SubmodelElementType and SubmodelPropertyType

This ObjectType represents an abstract SubmodelElement entity. The structure of this ObjectType is depicted in the following picture:

Prova

SubmodelElementType attributes

The following table summarizes all the attributes belonging to the entity SubmodelElement.

Attribute (*=mandatory) Type OPC UA Mapping Notes
idShort* string UA Property
category string UA Property with Enumeration DataType
description [langString] 0...* UA Property containing an Array of Localized Text
parent Reference UA Object of AASReferenceType ⚠️ In the Schema it is a string but in the specification it is a Reference. This in an incongruence.
hasDataSpecification [Reference] 0...* EmbeddedDataSpecificationType instances referenced by HasEmbeddedDataSpecification More details about this in the EmbeddeddataSpecificationType instances.
hasSemantic Reference UA Object of AASReferenceType referenced by HasComponent
kind Kind UA Property kind is of type Kind. An OPC UA Structured DataType has been defined in order to map such a type.
qualifiers [Constraint] 0...* Not Mapped Maybe it will be included in the future.

Notes

SubmodelPropertyType attributes

The following table summarizes all the attributes belonging to the entity Property.

Attribute (*=mandatory) Type OPC UA Mapping Notes
idShort* string UA Property
category string UA Property with PropertyCategory DataType
description [langString] 0...* UA Property containing an Array of Localized Text
parent Reference N/A ⚠️ In the Schema it is a string but in the specification it is a Reference. This in an incongruence.
hasDataSpecification [Reference] 0...* EmbeddedDataSpecificationType instances referenced by HasEmbeddedDataSpecification More details about this in the EmbeddeddataSpecificationType instances.
hasSemantic Reference UA Object of AASReferenceType referenced by HasComponent
kind Kind UA Property kind is of type Kind. An OPC UA Structured DataType has been defined in order to map such a type.
qualifiers [Constraint] 0...* Not Mapped Maybe it will be included in the future.
value PropertyValueType UA Property where DataType depends on attribute valueType
valueType anySimpleTypeDef UA Property DataType for this UA Property is an Enumeration called PropertyValueType, which is an enumeration of all types defined in XSD standard.
valueId Reference UA Object of AASReferenceType referenced by HasComponent

Notes

  1. PropertyValueType in the metamodel is mapped as an Enumeration DataType. It is not used for value attribute but for valueType. For every value defined in this Enumeration DataType exist a mapping to an OPC UA DataType wich must be used as DataType for the UA Property representing the attribute value. In this way the relationship between value and valueType is maintained.