Search Results for

    Show / Hide Table of Contents

    Class Qualifier

    A qualifier is a type-value-pair that makes additional statements w.r.t. the value of the element.

    Inheritance
    System.Object
    Qualifier
    Implements
    IQualifier
    IHasSemantics
    IClass
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: AasCore.Aas3_0_RC02
    Assembly: AasCore.Aas3_0_RC02.dll
    Syntax
    public class Qualifier : IQualifier, IHasSemantics, IClass
    Remarks

    Constraints:

    • Constraint AASd-006: If both the Value and the ValueId of a Qualifier are present then the Value needs to be identical to the value of the referenced coded value in ValueId.
    • Constraint AASd-020: The value of Value shall be consistent to the data type as defined in ValueType.

    Constructors

    | Improve this Doc View Source

    Qualifier(String, DataTypeDefXsd, IReference, List<IReference>, Nullable<QualifierKind>, String, IReference)

    Declaration
    public Qualifier(string type, DataTypeDefXsd valueType, IReference semanticId = null, List<IReference> supplementalSemanticIds = null, QualifierKind? kind = null, string value = null, IReference valueId = null)
    Parameters
    Type Name Description
    System.String type
    DataTypeDefXsd valueType
    IReference semanticId
    System.Collections.Generic.List<IReference> supplementalSemanticIds
    System.Nullable<QualifierKind> kind
    System.String value
    IReference valueId

    Properties

    | Improve this Doc View Source

    Kind

    The qualifier kind describes the kind of the qualifier that is applied to the element.

    Declaration
    public QualifierKind? Kind { get; set; }
    Property Value
    Type Description
    System.Nullable<QualifierKind>
    Remarks

    Default: ConceptQualifier

    | 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
    public 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
    public List<IReference> SupplementalSemanticIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<IReference>
    Remarks

    It is recommended to use a global reference.

    | Improve this Doc View Source

    Type

    The qualifier type describes the type of the qualifier that is applied to the element.

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Value

    The qualifier value is the value of the qualifier.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ValueId

    Reference to the global unique ID of a coded value.

    Declaration
    public IReference ValueId { get; set; }
    Property Value
    Type Description
    IReference
    Remarks

    It is recommended to use a global reference.

    | Improve this Doc View Source

    ValueType

    Data type of the qualifier value.

    Declaration
    public DataTypeDefXsd ValueType { get; set; }
    Property Value
    Type Description
    DataTypeDefXsd

    Methods

    | Improve this Doc View Source

    Accept(Visitation.IVisitor)

    Accept the visitor to visit this instance for double dispatch.

    Declaration
    public void Accept(Visitation.IVisitor visitor)
    Parameters
    Type Name Description
    Visitation.IVisitor visitor
    | Improve this Doc View Source

    Accept<TContext>(Visitation.IVisitorWithContext<TContext>, TContext)

    Accept the visitor to visit this instance for double dispatch with the context.

    Declaration
    public void Accept<TContext>(Visitation.IVisitorWithContext<TContext> visitor, TContext context)
    Parameters
    Type Name Description
    Visitation.IVisitorWithContext<TContext> visitor
    TContext context
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    Descend()

    Iterate recursively over all the class instances referenced from this instance.

    Declaration
    public IEnumerable<IClass> Descend()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IClass>
    | Improve this Doc View Source

    DescendOnce()

    Iterate over all the class instances referenced from this instance without further recursion.

    Declaration
    public IEnumerable<IClass> DescendOnce()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IClass>
    | Improve this Doc View Source

    KindOrDefault()

    Return the Kind or the default value if it has not been set.

    Declaration
    public QualifierKind KindOrDefault()
    Returns
    Type Description
    QualifierKind
    | Improve this Doc View Source

    OverSupplementalSemanticIdsOrEmpty()

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

    Declaration
    public IEnumerable<IReference> OverSupplementalSemanticIdsOrEmpty()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IReference>
    | Improve this Doc View Source

    Transform<T>(Visitation.ITransformer<T>)

    Accept the transformer to transform this instance for double dispatch.

    Declaration
    public T Transform<T>(Visitation.ITransformer<T> transformer)
    Parameters
    Type Name Description
    Visitation.ITransformer<T> transformer
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T>, TContext)

    Accept the transformer to visit this instance for double dispatch with the context.

    Declaration
    public T Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T> transformer, TContext context)
    Parameters
    Type Name Description
    Visitation.ITransformerWithContext<TContext, T> transformer
    TContext context
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T

    Implements

    IQualifier
    IHasSemantics
    IClass
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX