public class HierarchyTermWrapper extends TermWrapper{
private HierarchyTermWrapper parentTerm;
- public HierarchyTermWrapper(String uri, String label) {
+ public HierarchyTermWrapper(String uri, String label, HierarchyTermWrapper parentTerm) {
super(uri, label);
+ this.parentTerm = parentTerm;
}
public HierarchyTermWrapper getParentTerm() {
return parentTerm;