/** * Generate a new map of key -> value containing all inheritable attributes * @return map of inheritable attributes */ public Map<String, Object> getAllInheritable() { final Map<String, Object> allInheritable = new HashMap<String, Object>(); for (final Entry<String, CompositeAttributeHolder> entry : findCompositeAttributes().entrySet()) { final CompositeAttributeHolder attribute = entry.getValue(); if (attribute.isInheritable()) { allInheritable.put(entry.getKey(), attribute.getValue()); } } return allInheritable; }