Esempio n. 1
0
 /** Removes the given child. */
 public void removeChild(CriteriaView child) {
   category.removeChild(child.getCriteria());
   children.remove(child);
   child.setParent(null);
 }
Esempio n. 2
0
 /**
  * Adds a new child.
  *
  * @param child The new child.
  */
 @Override
 public void addChild(CriteriaView child) {
   children.add(child);
   child.setParent(this);
 }