Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2020 Robert Bosch GmbH |
| 3 | * Author: Constantin Ziesche (constantin.ziesche@bosch.com) |
| 4 | * |
| 5 | * This program and the accompanying materials are made available under the |
| 6 | * terms of the Eclipse Public License 2.0 which is available at |
| 7 | * http://www.eclipse.org/legal/epl-2.0 |
| 8 | * |
| 9 | * SPDX-License-Identifier: EPL-2.0 |
| 10 | *******************************************************************************/ |
| 11 | using System.Collections.Generic; |
| 12 | using System.Runtime.Serialization; |
| 13 | |
| 14 | namespace BaSyx.Models.Core.AssetAdministrationShell.Semantics |
| 15 | { |
Constantin Ziesche | 310d2aa | 2020-03-25 11:48:26 +0100 | [diff] [blame^] | 16 | /// <summary> |
| 17 | /// Element that can be extended by using data specification templates. A data specification template defines the additional attributes an element may or shall have. |
| 18 | /// The data specifications used are explicitly specified with their global id. |
| 19 | /// </summary> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 20 | public interface IHasDataSpecification |
| 21 | { |
| 22 | [IgnoreDataMember] |
| 23 | IConceptDescription ConceptDescription { get; } |
Constantin Ziesche | 310d2aa | 2020-03-25 11:48:26 +0100 | [diff] [blame^] | 24 | |
| 25 | /// <summary> |
| 26 | /// Global reference to the data specification template used by the element. |
| 27 | /// </summary> |
Constantin Ziesche | 857c7ab | 2020-02-25 11:24:51 +0100 | [diff] [blame] | 28 | [DataMember(EmitDefaultValue = false, IsRequired = false, Name = "embeddedDataSpecifications")] |
| 29 | IEnumerable<IEmbeddedDataSpecification> EmbeddedDataSpecifications { get; } |
| 30 | } |
| 31 | } |