diff -r ef075cd7ce55 -r f47e82cd6077 src/main/java/de/uapcore/lightpit/entities/Version.java --- a/src/main/java/de/uapcore/lightpit/entities/Version.java Sat Oct 17 15:21:56 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/entities/Version.java Sat Oct 17 19:56:50 2020 +0200 @@ -34,6 +34,7 @@ private final int id; private String name; + private String node; /** * If we do not want versions to be ordered lexicographically we may specify an order. */ @@ -56,6 +57,14 @@ this.name = name; } + public String getNode() { + return node == null ? String.valueOf(id) : node; + } + + public void setNode(String node) { + this.node = node; + } + public int getOrdinal() { return ordinal; }