Skip to content

Commit

Permalink
Add dataSpecifications to selfDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-schmidt committed Jan 10, 2024
1 parent 11c24e8 commit ae0ca8b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@
*/
package de.fraunhofer.iosb.app.model.aas;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.adminshell.aas.v3.model.EmbeddedDataSpecification;

/*
* Collect common attributes of every AAS element.
*/
Expand All @@ -27,6 +31,8 @@ public class AASElement extends IdsAssetElement {
@JsonProperty("semanticId")
protected CustomSemanticId customSemanticId;

protected List<EmbeddedDataSpecification> embeddedDataSpecifications;

public String getIdShort() {
return idShort;
}
Expand All @@ -42,4 +48,12 @@ public CustomSemanticId getCustomSemanticId() {
public void setSemanticId(CustomSemanticId semanticId) {
this.customSemanticId = semanticId;
}

public List<EmbeddedDataSpecification> getEmbeddedDataSpecifications() {
return embeddedDataSpecifications;
}

public void setEmbeddedDataSpecifications(List<EmbeddedDataSpecification> embeddedDataSpecifications) {
this.embeddedDataSpecifications = embeddedDataSpecifications;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonAutoDetect
public class CustomConceptDescription extends AASElement {

Expand Down

0 comments on commit ae0ca8b

Please sign in to comment.