|
14 | 14 | * template defines the additional attributes an element may or shall have. The data specifications |
15 | 15 | * used are explicitly specified with their id. Constraint AASd-050: If the DataSpecificationContent |
16 | 16 | * DataSpecificationIEC61360 is used for an element then the value of |
17 | | - * hasDataSpecification/dataSpecification shall contain the global reference to the IRI of the |
| 17 | + * hasDataSpecification/dataSpecification shall contain the global reference to the Iri of the |
18 | 18 | * corresponding data specification template |
19 | 19 | * https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0. |
20 | 20 | */ |
21 | 21 | @KnownSubtypes({ |
| 22 | + @KnownSubtypes.Type(value = DefaultHasDataSpecification.class), |
22 | 23 | @KnownSubtypes.Type(value = Submodel.class), |
23 | 24 | @KnownSubtypes.Type(value = AdministrativeInformation.class), |
24 | 25 | @KnownSubtypes.Type(value = Asset.class), |
|
29 | 30 | }) |
30 | 31 | public interface HasDataSpecification { |
31 | 32 |
|
32 | | - /** |
33 | | - * Global reference to the data specification template used by the element. Reference points to a |
34 | | - * Data Specification. |
35 | | - * |
36 | | - * Reference must point to a Data Specification. |
37 | | - * |
38 | | - * More information under |
39 | | - * https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification |
40 | | - * |
41 | | - * @return Returns the List of References for the property dataSpecifications. |
42 | | - */ |
43 | | - @IRI("https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification") |
44 | | - List<Reference> getDataSpecifications(); |
45 | | - |
46 | | - /** |
47 | | - * Global reference to the data specification template used by the element. Reference points to a |
48 | | - * Data Specification. |
49 | | - * |
50 | | - * Reference must point to a Data Specification. |
51 | | - * |
52 | | - * More information under |
53 | | - * https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification |
54 | | - * |
55 | | - * @param dataSpecifications desired value for the property dataSpecifications. |
56 | | - */ |
57 | | - void setDataSpecifications(List<Reference> dataSpecifications); |
58 | | - |
59 | | - /** |
60 | | - * Property links to a Data Specification Content, which contains the formalized definitions |
61 | | - * specifying this Data Specification. |
62 | | - * |
63 | | - * More information under |
64 | | - * https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent |
65 | | - * |
66 | | - * @return Returns the List of DataSpecificationContents for the property dataSpecificationContents. |
67 | | - */ |
68 | | - @IRI("https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent") |
69 | | - List<DataSpecificationContent> getDataSpecificationContents(); |
70 | | - |
71 | | - /** |
72 | | - * Property links to a Data Specification Content, which contains the formalized definitions |
73 | | - * specifying this Data Specification. |
74 | | - * |
75 | | - * More information under |
76 | | - * https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent |
77 | | - * |
78 | | - * @param dataSpecificationContents desired value for the property dataSpecificationContents. |
79 | | - */ |
80 | | - void setDataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents); |
81 | | - |
82 | 33 | /** |
83 | 34 | * Link to the included description of the Data Specification. |
84 | 35 | * |
|
0 commit comments