diff --git a/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java b/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java index 20dedf8..b217926 100644 --- a/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java +++ b/src/main/java/org/gcube/informationsystem/utils/ElementMapper.java @@ -82,7 +82,7 @@ public abstract class ElementMapper { } public static void registerPackages(List packages) { - SchemaAction schemaAction = new ISMappingAction(); + SchemaAction schemaAction = new ElementMappingAction(); try { ElementSpecilizationDiscovery.manageISM(schemaAction, packages); } catch(Exception e) { @@ -92,7 +92,7 @@ public abstract class ElementMapper { public static void registerPackages(Package... packages) { - SchemaAction schemaAction = new ISMappingAction(); + SchemaAction schemaAction = new ElementMappingAction(); try { ElementSpecilizationDiscovery.manageISM(schemaAction, packages); } catch(Exception e) { diff --git a/src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java b/src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java similarity index 92% rename from src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java rename to src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java index 5aa7e8c..9c417c1 100644 --- a/src/main/java/org/gcube/informationsystem/utils/ISMappingAction.java +++ b/src/main/java/org/gcube/informationsystem/utils/ElementMappingAction.java @@ -11,9 +11,9 @@ import org.gcube.informationsystem.utils.discovery.SchemaAction; /** * @author Luca Frosini (ISTI - CNR) */ -class ISMappingAction implements SchemaAction { +class ElementMappingAction implements SchemaAction { - public ISMappingAction(){ + public ElementMappingAction(){ }