diff --git a/service/src/main/java/lcsb/mapviewer/services/overlay/ChebiTreeRow.java b/service/src/main/java/lcsb/mapviewer/services/overlay/ChebiTreeRow.java deleted file mode 100644 index 0a023e2e13424166f2973ff0eeeb7288c67044a1..0000000000000000000000000000000000000000 --- a/service/src/main/java/lcsb/mapviewer/services/overlay/ChebiTreeRow.java +++ /dev/null @@ -1,125 +0,0 @@ -package lcsb.mapviewer.services.overlay; - -import java.io.Serializable; - -/** - * This object is used for representing row of object in chebi ontology in the - * client side Primefaces p:treeTable object. - * - * @author Piotr Gawron - * - */ -public class ChebiTreeRow implements Serializable { - /** - * - */ - private static final long serialVersionUID = 1L; - - /** - * Name of the chebi entity. - */ - private String name; - - /** - * Identifier of chebi entity. - */ - private String id; - - /** - * Link to the chebi entity in chebi webpage. - */ - private String link; - - /** - * Relation associated with this entity. - */ - private String relationType; - - /** - * Default constructor. - * - * @param name - * Name of the chebi entity - * @param id - * Identifier of chebi entity - * @param link - * Link to the chebi entity in chebi webpage - * @param relationType - * Relation associated with this entity - */ - public ChebiTreeRow(String name, String id, String link, String relationType) { - this.name = name; - this.id = id; - this.link = link; - this.relationType = relationType; - } - - /** - * @return the name - * @see #name - */ - public String getName() { - return name; - } - - /** - * @param name - * the name to set - * @see #name - */ - public void setName(String name) { - this.name = name; - } - - /** - * @return the id - * @see #id - */ - public String getId() { - return id; - } - - /** - * @param id - * the id to set - * @see #id - */ - public void setId(String id) { - this.id = id; - } - - /** - * @return the link - * @see #link - */ - public String getLink() { - return link; - } - - /** - * @param link - * the link to set - * @see #link - */ - public void setLink(String link) { - this.link = link; - } - - /** - * @return the relationType - * @see #relationType - */ - public String getRelationType() { - return relationType; - } - - /** - * @param relationType - * the relationType to set - * @see #relationType - */ - public void setRelationType(String relationType) { - this.relationType = relationType; - } - -} diff --git a/service/src/test/java/lcsb/mapviewer/services/overlay/AllOverlayTests.java b/service/src/test/java/lcsb/mapviewer/services/overlay/AllOverlayTests.java index 0f5eedc1882f88e3fa72d6491200145aa06731bd..818d875892498e0e5351fc7eb4670f4f6db8e989 100644 --- a/service/src/test/java/lcsb/mapviewer/services/overlay/AllOverlayTests.java +++ b/service/src/test/java/lcsb/mapviewer/services/overlay/AllOverlayTests.java @@ -6,8 +6,7 @@ import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ AnnotatedObjectTreeRowTest.class, - ChebiTreeRowTest.class, - IconManagerTest.class, + IconManagerTest.class, }) public class AllOverlayTests { diff --git a/service/src/test/java/lcsb/mapviewer/services/overlay/ChebiTreeRowTest.java b/service/src/test/java/lcsb/mapviewer/services/overlay/ChebiTreeRowTest.java deleted file mode 100644 index 555c25a63f333a184a83383d76b594b508f064e4..0000000000000000000000000000000000000000 --- a/service/src/test/java/lcsb/mapviewer/services/overlay/ChebiTreeRowTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package lcsb.mapviewer.services.overlay; - -import org.apache.commons.lang3.SerializationUtils; -import org.junit.*; - -import lcsb.mapviewer.services.ServiceTestFunctions; - -public class ChebiTreeRowTest extends ServiceTestFunctions{ - - @Before - public void setUp() throws Exception { - } - - @After - public void tearDown() throws Exception { - } - - @Test - public void testSerialization() { - SerializationUtils.serialize(new ChebiTreeRow(null, null, null, null)); - } - -}