From ba0092d29b09fa5b6a73b4756a16a5be793b2e37 Mon Sep 17 00:00:00 2001 From: Ferdinando Villa Date: Fri, 20 Dec 2024 08:23:29 +0100 Subject: [PATCH] Notes --- .../klab/api/services/resources/adapters/Exporter.java | 10 +++++----- .../klab/api/services/resources/adapters/Importer.java | 8 +++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Exporter.java b/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Exporter.java index fcbc00cc8..99a9961fa 100644 --- a/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Exporter.java +++ b/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Exporter.java @@ -22,11 +22,11 @@ public @interface Exporter { /** - * The unique ID of the import schema this implements. This is the complete ID as a dot-separated path, - * whose leading path is the "class" of the import and the last element specifies the import source or - * method (e.g. component.jar). - * - * @return + * The unique ID of the export schema this annotates. This is a single lowercase identifier that is used + * with the library's namespace to build the complete ID as a dot-separated path. The leading path + * ({@link org.integratedmodelling.klab.api.services.runtime.extension.Library}'s namespace is the "class" + * of the import and this schema ID specifies the import source or method (e.g. + * component.jar). */ String schema(); diff --git a/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Importer.java b/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Importer.java index 18db35d47..9005d71e7 100644 --- a/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Importer.java +++ b/klab.core.api/src/main/java/org/integratedmodelling/klab/api/services/resources/adapters/Importer.java @@ -26,9 +26,11 @@ public @interface Importer { /** - * The unique ID of the import schema this implements. This is the complete ID as a dot-separated path, - * whose leading path is the "class" of the import and the last element specifies the import source or - * method (e.g. component.jar). + * The unique ID of the import schema this annotates. This is a single lowercase identifier that is used + * with the library's namespace to build the complete ID as a dot-separated path. The leading path + * ({@link org.integratedmodelling.klab.api.services.runtime.extension.Library}'s namespace is the "class" + * of the import and this schema ID specifies the import source or method (e.g. + * component.jar). * * @return */