void addAttributeValues(String attrName,Set values) throws SMSException {
  if (attrName != null && values != null && !values.isEmpty()) {
    Map attrs=getAttributes();
    Set origValues=(Set)attrs.get(attrName);
    Set newValues=new HashSet(values);
    if (origValues != null && !origValues.isEmpty()) {
      newValues.addAll(origValues);
    }
    Map newAttrs=new HashMap();
    newAttrs.put(attrName,newValues);
    setAttributes(newAttrs);
  }
}

void addAttributeValues ( String attrName , Set values ) throws SMSException { if ( attrName != null && values != null && ! values . isEmpty ( ) ) { Map attrs = getAttributes ( ) ; Set origValues = ( Set ) attrs . get ( attrName ) ; Set newValues = new HashSet ( values ) ; if ( origValues != null && ! origValues . isEmpty ( ) ) { newValues . addAll ( origValues ) ; } Map newAttrs = new HashMap ( ) ; newAttrs . put ( attrName , newValues ) ; setAttributes ( newAttrs ) ; } }
adds attributes to amsdk organization . the organziation attribute names are defined in the idrepo service .
