Example #1
0
 public boolean add(Attribute attribute) {
   Attribute newValue =
       AttributeSetUtilities.verifyAttributeValue(attribute, attributeInterfaceName);
   Object oldValue = attributesMap.put(attribute.getCategory(), newValue);
   return !attribute.equals(oldValue);
 }