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:
parent
4e5426e283
commit
7a4d5aa96e
|
@ -6,7 +6,7 @@ package org.gcube.informationsystem.resourceregistry.er;
|
|||
import java.util.HashSet;
|
||||
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.Header;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||
|
@ -45,7 +45,7 @@ public class EmbeddedMangement {
|
|||
|
||||
public static ODocument getEmbeddedType(JsonNode jsonNode)
|
||||
throws ResourceRegistryException {
|
||||
if (jsonNode.has(Entities.CLASS_PROPERTY)) {
|
||||
if (jsonNode.has(ER.CLASS_PROPERTY)) {
|
||||
// Complex type
|
||||
String type = ERManagement.getClassProperty(jsonNode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue