code: public void set_attribute_info(final DeviceProxy deviceProxy, final AttributeInfo[] attr)
  	    throws DevFailed {
          checkIfTango(deviceProxy, "set_attribute_config");
  
          build_connection(deviceProxy);
  
          try {
              final AttributeConfig[] config = new AttributeConfig[attr.length];
              for (int i = 0; i < attr.length; i++) {
              config[i] = attr[i].get_attribute_config_obj();
              }
              deviceProxy.device.set_attribute_config(config);
          } catch (final DevFailed e) {
              throw e;
          } catch (final Exception e) {
              ApiUtilDAODefaultImpl.removePendingRepliesOfDevice(deviceProxy);
              throw_dev_failed(deviceProxy, e, "set_attribute_info", true);
          }
      }
docs: ==========================================================================