Commit 303a0610 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

basic toString method implemented

parent 9233ccbb
......@@ -5,6 +5,7 @@ import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import lcsb.mapviewer.model.map.species.Element;
import lcsb.mapviewer.modelutils.map.ElementUtils;
/**
* One of two known types of nodes in the {@link Reaction}. It defines input or
......@@ -91,5 +92,10 @@ public abstract class ReactionNode extends AbstractNode {
public void setStoichiometry(Double stoichiometry) {
this.stoichiometry = stoichiometry;
}
@Override
public String toString() {
return new ElementUtils().getElementTag(this);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment