@Override public int compareTo(CriteriaLevel o) { if (o == null) return 1; else return comparator.compare(code, o.getCode()); }
public void add(CriteriaLevel level) { children.put(level.getCode(), level); }