/** A copy constructor for (among others) deep-copying groups and lists. */ public CategoriesType(CategoriesType copy) { setCategory(copy.getCategory()); }