This repository was archived by the owner on Feb 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
dataformat-json/src/test/java/io/adminshell/aas/v3/dataformat/json
dataformat-xml/src/test/java/io/adminshell/aas/v3/dataformat/xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import java .util .List ;
1919import java .util .Objects ;
2020
21- import io .adminshell .aas .v3 .model .Constraint ;
22- import io .adminshell .aas .v3 .model .EmbeddedDataSpecification ;
23- import io .adminshell .aas .v3 .model .LangString ;
24- import io .adminshell .aas .v3 .model .ModelingKind ;
25- import io .adminshell .aas .v3 .model .Property ;
26- import io .adminshell .aas .v3 .model .Reference ;
21+ import io .adminshell .aas .v3 .model .*;
2722
2823public class CustomProperty implements Property {
2924
@@ -49,6 +44,8 @@ public class CustomProperty implements Property {
4944
5045 protected String idShort ;
5146
47+ protected List <Extension > extensions ;
48+
5249 protected CustomProperty () {
5350 }
5451
@@ -188,4 +185,14 @@ final public Reference getSemanticId() {
188185 final public void setSemanticId (Reference semanticId ) {
189186 this .semanticId = semanticId ;
190187 }
188+
189+ @ Override
190+ public List <Extension > getExtensions () {
191+ return extensions ;
192+ }
193+
194+ @ Override
195+ public void setExtensions (List <Extension > list ) {
196+ this .extensions = list ;
197+ }
191198}
Original file line number Diff line number Diff line change 1818import java .util .List ;
1919import java .util .Objects ;
2020
21- import io .adminshell .aas .v3 .model .Constraint ;
22- import io .adminshell .aas .v3 .model .EmbeddedDataSpecification ;
23- import io .adminshell .aas .v3 .model .LangString ;
24- import io .adminshell .aas .v3 .model .ModelingKind ;
25- import io .adminshell .aas .v3 .model .Property ;
26- import io .adminshell .aas .v3 .model .Reference ;
21+ import io .adminshell .aas .v3 .model .*;
2722
2823public class CustomProperty implements Property {
2924
@@ -49,6 +44,8 @@ public class CustomProperty implements Property {
4944
5045 protected String idShort ;
5146
47+ protected List <Extension > extensions ;
48+
5249 protected CustomProperty () {
5350 }
5451
@@ -188,4 +185,14 @@ final public Reference getSemanticId() {
188185 final public void setSemanticId (Reference semanticId ) {
189186 this .semanticId = semanticId ;
190187 }
188+
189+ @ Override
190+ public List <Extension > getExtensions () {
191+ return extensions ;
192+ }
193+
194+ @ Override
195+ public void setExtensions (List <Extension > list ) {
196+ this .extensions = list ;
197+ }
191198}
You can’t perform that action at this time.
0 commit comments