Interface ISubmodelElementList
A submodel element list is an ordered list of submodel elements.
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public interface ISubmodelElementList : ISubmodelElement, IReferable, IHasExtensions, IHasSemantics, IQualifiable, IHasDataSpecification, IClass
Remarks
The numbering starts with zero (0).
Constraints:
- Constraint AASd-107: If a first level child element in a SubmodelElementList has a SemanticId it shall be identical to SemanticIdListElement.
- Constraint AASd-114: If two first level child elements in a SubmodelElementList have a SemanticId then they shall be identical.
- Constraint AASd-115: If a first level child element in a SubmodelElementList does not specify a SemanticId then the value is assumed to be identical to SemanticIdListElement.
- Constraint AASd-120: The IdShort of a ISubmodelElement being a direct child of a SubmodelElementList shall not be specified.
- Constraint AASd-108: All first level child elements in a SubmodelElementList shall have the same submodel element type as specified in TypeValueListElement.
- Constraint AASd-109: If TypeValueListElement is equal to Property or Range ValueTypeListElement shall be set and all first level child elements in the SubmodelElementList shall have the value type as specified in ValueTypeListElement.
Properties
| Improve this Doc View SourceOrderRelevant
Defines whether order in list is relevant. If OrderRelevant = False
then the list is representing a set or a bag.
Declaration
bool? OrderRelevant { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
Default: True
SemanticIdListElement
Semantic ID the submodel elements contained in the list match to.
Declaration
IReference SemanticIdListElement { get; set; }
Property Value
Type | Description |
---|---|
IReference |
Remarks
It is recommended to use a global reference.
TypeValueListElement
The submodel element type of the submodel elements contained in the list.
Declaration
AasSubmodelElements TypeValueListElement { get; set; }
Property Value
Type | Description |
---|---|
AasSubmodelElements |
Value
Submodel element contained in the list.
Declaration
List<ISubmodelElement> Value { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISubmodelElement> |
Remarks
The list is ordered.
ValueTypeListElement
The value type of the submodel element contained in the list.
Declaration
DataTypeDefXsd? ValueTypeListElement { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DataTypeDefXsd> |
Methods
| Improve this Doc View SourceOrderRelevantOrDefault()
Declaration
bool OrderRelevantOrDefault()
Returns
Type | Description |
---|---|
System.Boolean |
OverValueOrEmpty()
Iterate over Value, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ISubmodelElement> OverValueOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISubmodelElement> |