Search Results for

    Show / Hide Table of Contents

    Interface IHasSemantics

    Element that can have a semantic definition plus some supplemental semantic definitions.

    Inherited Members
    IClass.DescendOnce()
    IClass.Descend()
    IClass.Accept(Visitation.IVisitor)
    IClass.Accept<TContext>(Visitation.IVisitorWithContext<TContext>, TContext)
    IClass.Transform<T>(Visitation.ITransformer<T>)
    IClass.Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T>, TContext)
    Namespace: AasCore.Aas3_0
    Assembly: AasCore.Aas3_0.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 Source

    SemanticId

    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.

    | Improve this Doc View Source

    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 Source

    OverSupplementalSemanticIdsOrEmpty()

    Iterate over SupplementalSemanticIds, if set, and otherwise return an empty enumerable.

    Declaration
    IEnumerable<IReference> OverSupplementalSemanticIdsOrEmpty()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IReference>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX