Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 98ba515

Browse files
author
Atlassian Bamboo
committed
Updating raw Java classes to 1.1.2-SNAPSHOT
1 parent 07bdc14 commit 98ba515

46 files changed

Lines changed: 134 additions & 1610 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/io/adminshell/aas/v3/model/EmbeddedDataSpecification.java

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.adminshell.aas.v3.model;
22

3+
import java.util.List;
34

45

56

@@ -9,11 +10,61 @@
910
import io.adminshell.aas.v3.model.impl.*;
1011

1112
/**
12-
* TODO.
13+
* Link to the included description of the Data Specification.
1314
*/
1415
@KnownSubtypes({
1516
@KnownSubtypes.Type(value = DefaultEmbeddedDataSpecification.class)
1617
})
1718
public interface EmbeddedDataSpecification {
1819

20+
/**
21+
* Global reference to the data specification template used by the element. Reference points to a
22+
* Data Specification.
23+
*
24+
* Reference must point to a Data Specification.
25+
*
26+
* More information under
27+
* https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification
28+
*
29+
* @return Returns the List of References for the property dataSpecifications.
30+
*/
31+
@IRI("https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification")
32+
List<Reference> getDataSpecifications();
33+
34+
/**
35+
* Global reference to the data specification template used by the element. Reference points to a
36+
* Data Specification.
37+
*
38+
* Reference must point to a Data Specification.
39+
*
40+
* More information under
41+
* https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecification
42+
*
43+
* @param dataSpecifications desired value for the property dataSpecifications.
44+
*/
45+
void setDataSpecifications(List<Reference> dataSpecifications);
46+
47+
/**
48+
* Property links to a Data Specification Content, which contains the formalized definitions
49+
* specifying this Data Specification.
50+
*
51+
* More information under
52+
* https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent
53+
*
54+
* @return Returns the List of DataSpecificationContents for the property dataSpecificationContents.
55+
*/
56+
@IRI("https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent")
57+
List<DataSpecificationContent> getDataSpecificationContents();
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+
* @param dataSpecificationContents desired value for the property dataSpecificationContents.
67+
*/
68+
void setDataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents);
69+
1970
}

src/main/java/io/adminshell/aas/v3/model/HasDataSpecification.java

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -29,56 +29,6 @@
2929
})
3030
public interface HasDataSpecification {
3131

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-
8232
/**
8333
* Link to the included description of the Data Specification.
8434
*

src/main/java/io/adminshell/aas/v3/model/builder/AdministrativeInformationBuilder.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34,50 +34,6 @@ public B revision(String revision) {
3434
return getSelf();
3535
}
3636

37-
/**
38-
* This function allows setting a value for dataSpecifications
39-
*
40-
* @param dataSpecifications desired value to be set
41-
* @return Builder object with new value for dataSpecifications
42-
*/
43-
public B dataSpecifications(List<Reference> dataSpecifications) {
44-
getBuildingInstance().setDataSpecifications(dataSpecifications);
45-
return getSelf();
46-
}
47-
48-
/**
49-
* This function allows adding a value to the List dataSpecifications
50-
*
51-
* @param dataSpecification desired value to be added
52-
* @return Builder object with new value for dataSpecifications
53-
*/
54-
public B dataSpecification(Reference dataSpecification) {
55-
getBuildingInstance().getDataSpecifications().add(dataSpecification);
56-
return getSelf();
57-
}
58-
59-
/**
60-
* This function allows setting a value for dataSpecificationContents
61-
*
62-
* @param dataSpecificationContents desired value to be set
63-
* @return Builder object with new value for dataSpecificationContents
64-
*/
65-
public B dataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents) {
66-
getBuildingInstance().setDataSpecificationContents(dataSpecificationContents);
67-
return getSelf();
68-
}
69-
70-
/**
71-
* This function allows adding a value to the List dataSpecificationContents
72-
*
73-
* @param dataSpecificationContent desired value to be added
74-
* @return Builder object with new value for dataSpecificationContents
75-
*/
76-
public B dataSpecificationContent(DataSpecificationContent dataSpecificationContent) {
77-
getBuildingInstance().getDataSpecificationContents().add(dataSpecificationContent);
78-
return getSelf();
79-
}
80-
8137
/**
8238
* This function allows setting a value for embeddedDataSpecifications
8339
*

src/main/java/io/adminshell/aas/v3/model/builder/AnnotatedRelationshipElementBuilder.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -144,50 +144,6 @@ public B qualifier(Constraint qualifier) {
144144
return getSelf();
145145
}
146146

147-
/**
148-
* This function allows setting a value for dataSpecifications
149-
*
150-
* @param dataSpecifications desired value to be set
151-
* @return Builder object with new value for dataSpecifications
152-
*/
153-
public B dataSpecifications(List<Reference> dataSpecifications) {
154-
getBuildingInstance().setDataSpecifications(dataSpecifications);
155-
return getSelf();
156-
}
157-
158-
/**
159-
* This function allows adding a value to the List dataSpecifications
160-
*
161-
* @param dataSpecification desired value to be added
162-
* @return Builder object with new value for dataSpecifications
163-
*/
164-
public B dataSpecification(Reference dataSpecification) {
165-
getBuildingInstance().getDataSpecifications().add(dataSpecification);
166-
return getSelf();
167-
}
168-
169-
/**
170-
* This function allows setting a value for dataSpecificationContents
171-
*
172-
* @param dataSpecificationContents desired value to be set
173-
* @return Builder object with new value for dataSpecificationContents
174-
*/
175-
public B dataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents) {
176-
getBuildingInstance().setDataSpecificationContents(dataSpecificationContents);
177-
return getSelf();
178-
}
179-
180-
/**
181-
* This function allows adding a value to the List dataSpecificationContents
182-
*
183-
* @param dataSpecificationContent desired value to be added
184-
* @return Builder object with new value for dataSpecificationContents
185-
*/
186-
public B dataSpecificationContent(DataSpecificationContent dataSpecificationContent) {
187-
getBuildingInstance().getDataSpecificationContents().add(dataSpecificationContent);
188-
return getSelf();
189-
}
190-
191147
/**
192148
* This function allows setting a value for embeddedDataSpecifications
193149
*

src/main/java/io/adminshell/aas/v3/model/builder/AssetAdministrationShellBuilder.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -89,50 +89,6 @@ public B view(View view) {
8989
return getSelf();
9090
}
9191

92-
/**
93-
* This function allows setting a value for dataSpecifications
94-
*
95-
* @param dataSpecifications desired value to be set
96-
* @return Builder object with new value for dataSpecifications
97-
*/
98-
public B dataSpecifications(List<Reference> dataSpecifications) {
99-
getBuildingInstance().setDataSpecifications(dataSpecifications);
100-
return getSelf();
101-
}
102-
103-
/**
104-
* This function allows adding a value to the List dataSpecifications
105-
*
106-
* @param dataSpecification desired value to be added
107-
* @return Builder object with new value for dataSpecifications
108-
*/
109-
public B dataSpecification(Reference dataSpecification) {
110-
getBuildingInstance().getDataSpecifications().add(dataSpecification);
111-
return getSelf();
112-
}
113-
114-
/**
115-
* This function allows setting a value for dataSpecificationContents
116-
*
117-
* @param dataSpecificationContents desired value to be set
118-
* @return Builder object with new value for dataSpecificationContents
119-
*/
120-
public B dataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents) {
121-
getBuildingInstance().setDataSpecificationContents(dataSpecificationContents);
122-
return getSelf();
123-
}
124-
125-
/**
126-
* This function allows adding a value to the List dataSpecificationContents
127-
*
128-
* @param dataSpecificationContent desired value to be added
129-
* @return Builder object with new value for dataSpecificationContents
130-
*/
131-
public B dataSpecificationContent(DataSpecificationContent dataSpecificationContent) {
132-
getBuildingInstance().getDataSpecificationContents().add(dataSpecificationContent);
133-
return getSelf();
134-
}
135-
13692
/**
13793
* This function allows setting a value for embeddedDataSpecifications
13894
*

src/main/java/io/adminshell/aas/v3/model/builder/AssetBuilder.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -11,50 +11,6 @@
1111

1212
public abstract class AssetBuilder<T extends Asset, B extends AssetBuilder<T, B>> extends ExtendableBuilder<T, B> {
1313

14-
/**
15-
* This function allows setting a value for dataSpecifications
16-
*
17-
* @param dataSpecifications desired value to be set
18-
* @return Builder object with new value for dataSpecifications
19-
*/
20-
public B dataSpecifications(List<Reference> dataSpecifications) {
21-
getBuildingInstance().setDataSpecifications(dataSpecifications);
22-
return getSelf();
23-
}
24-
25-
/**
26-
* This function allows adding a value to the List dataSpecifications
27-
*
28-
* @param dataSpecification desired value to be added
29-
* @return Builder object with new value for dataSpecifications
30-
*/
31-
public B dataSpecification(Reference dataSpecification) {
32-
getBuildingInstance().getDataSpecifications().add(dataSpecification);
33-
return getSelf();
34-
}
35-
36-
/**
37-
* This function allows setting a value for dataSpecificationContents
38-
*
39-
* @param dataSpecificationContents desired value to be set
40-
* @return Builder object with new value for dataSpecificationContents
41-
*/
42-
public B dataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents) {
43-
getBuildingInstance().setDataSpecificationContents(dataSpecificationContents);
44-
return getSelf();
45-
}
46-
47-
/**
48-
* This function allows adding a value to the List dataSpecificationContents
49-
*
50-
* @param dataSpecificationContent desired value to be added
51-
* @return Builder object with new value for dataSpecificationContents
52-
*/
53-
public B dataSpecificationContent(DataSpecificationContent dataSpecificationContent) {
54-
getBuildingInstance().getDataSpecificationContents().add(dataSpecificationContent);
55-
return getSelf();
56-
}
57-
5814
/**
5915
* This function allows setting a value for embeddedDataSpecifications
6016
*

src/main/java/io/adminshell/aas/v3/model/builder/BasicEventBuilder.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -110,50 +110,6 @@ public B qualifier(Constraint qualifier) {
110110
return getSelf();
111111
}
112112

113-
/**
114-
* This function allows setting a value for dataSpecifications
115-
*
116-
* @param dataSpecifications desired value to be set
117-
* @return Builder object with new value for dataSpecifications
118-
*/
119-
public B dataSpecifications(List<Reference> dataSpecifications) {
120-
getBuildingInstance().setDataSpecifications(dataSpecifications);
121-
return getSelf();
122-
}
123-
124-
/**
125-
* This function allows adding a value to the List dataSpecifications
126-
*
127-
* @param dataSpecification desired value to be added
128-
* @return Builder object with new value for dataSpecifications
129-
*/
130-
public B dataSpecification(Reference dataSpecification) {
131-
getBuildingInstance().getDataSpecifications().add(dataSpecification);
132-
return getSelf();
133-
}
134-
135-
/**
136-
* This function allows setting a value for dataSpecificationContents
137-
*
138-
* @param dataSpecificationContents desired value to be set
139-
* @return Builder object with new value for dataSpecificationContents
140-
*/
141-
public B dataSpecificationContents(List<DataSpecificationContent> dataSpecificationContents) {
142-
getBuildingInstance().setDataSpecificationContents(dataSpecificationContents);
143-
return getSelf();
144-
}
145-
146-
/**
147-
* This function allows adding a value to the List dataSpecificationContents
148-
*
149-
* @param dataSpecificationContent desired value to be added
150-
* @return Builder object with new value for dataSpecificationContents
151-
*/
152-
public B dataSpecificationContent(DataSpecificationContent dataSpecificationContent) {
153-
getBuildingInstance().getDataSpecificationContents().add(dataSpecificationContent);
154-
return getSelf();
155-
}
156-
157113
/**
158114
* This function allows setting a value for embeddedDataSpecifications
159115
*

0 commit comments

Comments
 (0)