changed import of CLASS_PROPERTY form Entities to ER

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141618 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-18 13:54:57 +00:00
parent 4e5426e283
commit 7a4d5aa96e
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ package org.gcube.informationsystem.resourceregistry.er;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import org.gcube.informationsystem.impl.utils.Entities; import org.gcube.informationsystem.model.ER;
import org.gcube.informationsystem.model.embedded.Embedded; import org.gcube.informationsystem.model.embedded.Embedded;
import org.gcube.informationsystem.model.embedded.Header; import org.gcube.informationsystem.model.embedded.Header;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException; import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
@ -45,7 +45,7 @@ public class EmbeddedMangement {
public static ODocument getEmbeddedType(JsonNode jsonNode) public static ODocument getEmbeddedType(JsonNode jsonNode)
throws ResourceRegistryException { throws ResourceRegistryException {
if (jsonNode.has(Entities.CLASS_PROPERTY)) { if (jsonNode.has(ER.CLASS_PROPERTY)) {
// Complex type // Complex type
String type = ERManagement.getClassProperty(jsonNode); String type = ERManagement.getClassProperty(jsonNode);