public void add(History h) { if (this.history == null) { this.history = new LinkedHashSet<History>(); } h.setParent(this); this.history.add(h); }