Skip to content

Commit

Permalink
Add assetInformation property to selfDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-schmidt committed Dec 18, 2023
1 parent f095a26 commit 65218f1
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.adminshell.aas.v3.model.AssetInformation;
import io.adminshell.aas.v3.model.impl.DefaultAssetInformation;

/**
* AAS Model for the self description of the edc
*/
Expand All @@ -27,6 +30,7 @@ public class CustomAssetAdministrationShell extends AASElement {

protected Identifier identification;
protected String idShort;
protected AssetInformation assetInformation;

public Identifier getIdentification() {
return identification;
Expand All @@ -44,6 +48,14 @@ public void setIdShort(String idShort) {
this.idShort = idShort;
}

public AssetInformation getAssetInformation() {
return assetInformation;
}

public void setAssetInformation(DefaultAssetInformation assetInformation) {
this.assetInformation = assetInformation;
}

@Override
public boolean equals(Object obj) {
if (obj == null) {
Expand Down

0 comments on commit 65218f1

Please sign in to comment.