/** Add a set of attributes to the group. */ public void addAttributes(Collection<String> attrOrPaths) { for (String attr : attrOrPaths) { addAttribute(attr); } }
/** * Add a basic attribute or nested attribute with each String representing an attribute on the * path to what needs to be included in the AttributeGroup. * * <p>Example: <code> * group.addAttribute("firstName");<br> * group.addAttribute("manager.address"); * </code> * * @param attributeNameOrPath A simple attribute, array or attributes forming a path */ public void addAttribute(String attributeNameOrPath) { addAttribute(attributeNameOrPath, (CoreAttributeGroup) null); }