package no.uio.ifi.trackfind.frontend.components;

public class ResultTreeItemWrapper {

    private String value;
    private boolean leaf;

    public ResultTreeItemWrapper(String value, boolean leaf) {
        this.value = value;
        this.leaf = leaf;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

}

@@ -44,16 +44,131 @@
 nents;%0A%0A
+/**%0A * Tree node for a results tree on main UI: holds the value itself and indicates whether it's a leaf node.%0A */%0A
 public c
@@ -449,190 +449,41 @@
 lic 
-void setValue(String value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public boolean isLeaf() %7B%0A        return leaf;%0A    %7D%0A%0A    public void setLeaf(boolean leaf) %7B%0A        this.leaf =
+boolean isLeaf() %7B%0A        return
  lea

Add comments