Interface IEntity
An entity is a submodel element that is used to model entities.
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public interface IEntity : ISubmodelElement, IReferable, IHasExtensions, IHasSemantics, IQualifiable, IHasDataSpecification, IClass
Remarks
Constraints:
- Constraint AASd-014: Either the attribute GlobalAssetId or SpecificAssetIds of an Entity must be set if EntityType is set to SelfManagedEntity. They are not existing otherwise.
Properties
| Improve this Doc View SourceEntityType
Describes whether the entity is a co-managed entity or a self-managed entity.
Declaration
EntityType EntityType { get; set; }
Property Value
Type | Description |
---|---|
EntityType |
GlobalAssetId
Global identifier of the asset the entity is representing.
Declaration
string GlobalAssetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This is a global reference.
SpecificAssetIds
Reference to a specific asset ID representing a supplementary identifier of the asset represented by the Asset Administration Shell.
Declaration
List<ISpecificAssetId> SpecificAssetIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISpecificAssetId> |
Statements
Describes statements applicable to the entity by a set of submodel elements, typically with a qualified value.
Declaration
List<ISubmodelElement> Statements { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISubmodelElement> |
Methods
| Improve this Doc View SourceOverSpecificAssetIdsOrEmpty()
Iterate over SpecificAssetIds, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ISpecificAssetId> OverSpecificAssetIdsOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISpecificAssetId> |
OverStatementsOrEmpty()
Iterate over Statements, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ISubmodelElement> OverStatementsOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISubmodelElement> |