diff --git a/src/main/java/org/epos/handler/dbapi/dbapiimplementation/CategorySchemeDBAPI.java b/src/main/java/org/epos/handler/dbapi/dbapiimplementation/CategorySchemeDBAPI.java index db5e930..31be8dd 100644 --- a/src/main/java/org/epos/handler/dbapi/dbapiimplementation/CategorySchemeDBAPI.java +++ b/src/main/java/org/epos/handler/dbapi/dbapiimplementation/CategorySchemeDBAPI.java @@ -1,6 +1,5 @@ package org.epos.handler.dbapi.dbapiimplementation; -import org.epos.eposdatamodel.Category; import org.epos.eposdatamodel.CategoryScheme; import org.epos.eposdatamodel.LinkedEntity; import org.epos.handler.dbapi.model.*; diff --git a/src/main/java/org/epos/handler/dbapi/model/EDMCategoryScheme.java b/src/main/java/org/epos/handler/dbapi/model/EDMCategoryScheme.java index 7926b99..917bcc1 100644 --- a/src/main/java/org/epos/handler/dbapi/model/EDMCategoryScheme.java +++ b/src/main/java/org/epos/handler/dbapi/model/EDMCategoryScheme.java @@ -22,7 +22,6 @@ public class EDMCategoryScheme { private String homepage; private String color; private String orderitemnumber; - private Collection hasTopConceptCategoriesById; @Id @@ -114,16 +113,6 @@ public String getOrderitemnumber() { public void setOrderitemnumber(String orderitemnumber) { this.orderitemnumber = orderitemnumber; } - - @OneToMany(mappedBy = "categoryByCategoryId", fetch=FetchType.LAZY) - public Collection getHasTopConceptCategoriesById() { - return hasTopConceptCategoriesById; - } - - public void setHasTopConceptCategoriesById(Collection hasTopConceptCategoriesById) { - this.hasTopConceptCategoriesById = hasTopConceptCategoriesById; - } - @Override public int hashCode() { diff --git a/src/test/java/tests/APITests.java b/src/test/java/tests/APITests.java index a5d3d31..6353ded 100644 --- a/src/test/java/tests/APITests.java +++ b/src/test/java/tests/APITests.java @@ -1031,7 +1031,8 @@ public class APITests { public static void main(String[] args) { - DBAPIClient dbapi = new DBAPIClient(); + testCategories(); + /*DBAPIClient dbapi = new DBAPIClient(); WebService a = new WebService(); a.setUid("a"); @@ -1051,7 +1052,7 @@ public static void main(String[] args) { b.setRelation(les); LinkedEntity leB = dbapi.create(b); - System.out.println(leB); + System.out.println(leB);*/ /*DataProduct dp = new DataProduct(); dp.setUid("prova-vv");