Ejemplo n.º 1
0
 /**
  * Removes the specified contact group from the this group's subgroups.
  *
  * @param subgroup the MockContactGroup subgroup to remove.
  */
 public void removeSubGroup(MockContactGroup subgroup) {
   this.subGroups.remove(subgroup);
   subgroup.setParentGroup(null);
 }
Ejemplo n.º 2
0
 /**
  * Adds the specified contact group to the contained by this group.
  *
  * @param subgroup the MockContactGroup to add as a subgroup to this group.
  */
 public void addSubgroup(MockContactGroup subgroup) {
   this.subGroups.add(subgroup);
   subgroup.setParentGroup(this);
 }