From 2fd6dd9d28abdaccf385ed6ac9ecd03beaa435ea Mon Sep 17 00:00:00 2001 From: Sebastian Eicke <134835859+seicke-harting@users.noreply.github.com> Date: Fri, 14 Jul 2023 12:00:44 +0200 Subject: [PATCH] Add (further) setIdentification Method to ConceptDescription --- .../submodel/metamodel/map/parts/ConceptDescription.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/eclipse/basyx/submodel/metamodel/map/parts/ConceptDescription.java b/src/main/java/org/eclipse/basyx/submodel/metamodel/map/parts/ConceptDescription.java index 7e986ca1..efb061d7 100644 --- a/src/main/java/org/eclipse/basyx/submodel/metamodel/map/parts/ConceptDescription.java +++ b/src/main/java/org/eclipse/basyx/submodel/metamodel/map/parts/ConceptDescription.java @@ -143,6 +143,10 @@ public void setAdministration(AdministrativeInformation information) { Identifiable.createAsFacade(this, getKeyElement()).setAdministration(information); } + public void setIdentification(IIdentifier id) { + setIdentification(id.getIdType(), id.getId()); + } + public void setIdentification(IdentifierType idType, String id) { Identifiable.createAsFacadeNonStrict(this, getKeyElement()).setIdentification(idType, id); }