code: @Override
      public Map<String, String[]> getAttributeProperties(final String deviceName, final String attributeName)
              throws DevFailed {
          Map<String, String[]> map;
          final DeviceData argin = new DeviceData();
          final List<String> args = new ArrayList<String>();
          args.add(deviceName);
          args.add(attributeName);
          // value is an array
          argin.insert(args.toArray(new String[args.size()]));
          final DeviceData argout = database.command_inout("DbGetDeviceAttributeProperty2", argin);
          final String[] result = argout.extractStringArray();
          map = extractArgout(result, 4);
          return map;
  
      }
docs: Get an attribute properties. (execute DbGetDeviceAttributeProperty2 on DB
  device)
  
  @param deviceName
  The device name
  @param attributeName
  The attribute name
  @return
  @throws DevFailed