Interface IReferable
An element that is referable by its IdShort.
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public interface IReferable : IHasExtensions, IClass
Remarks
This ID is not globally unique. This ID is unique within the name space of the element.
Constraints:
- Constraint AASd-022: IdShort of non-identifiable referables within the same name space shall be unique (case-sensitive).
Properties
| Improve this Doc View SourceCategory
The category is a value that gives further meta information w.r.t. to the class of the element. It affects the expected existence of attributes and the applicability of constraints.
Declaration
string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The category is not identical to the semantic definition (IHasSemantics) of an element. The category e.g. could denote that the element is a measurement value whereas the semantic definition of the element would denote that it is the measured temperature.
Description
Description or comments on the element.
Declaration
List<ILangStringTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ILangStringTextType> |
Remarks
The description can be provided in several languages.
If no description is defined, then the definition of the concept description that defines the semantics of the element is used.
Additional information can be provided, e.g., if the element is qualified and which qualifier types can be expected in which context or which additional data specification templates are provided.
DisplayName
Display name. Can be provided in several languages.
Declaration
List<ILangStringNameType> DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ILangStringNameType> |
IdShort
In case of identifiables this attribute is a short name of the element. In case of referable this ID is an identifying string of the element within its name space.
Declaration
string IdShort { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
In case the element is a property and the property has a semantic definition (SemanticId) conformant to IEC61360 the IdShort is typically identical to the short name in English.
Methods
| Improve this Doc View SourceOverDescriptionOrEmpty()
Iterate over Description, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ILangStringTextType> OverDescriptionOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILangStringTextType> |
OverDisplayNameOrEmpty()
Iterate over DisplayName, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ILangStringNameType> OverDisplayNameOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILangStringNameType> |