code: public String adm_name(final Connection connection) throws DevFailed {
          checkIfTango(connection, "adm_name");
  
          build_connection(connection);
  
          String name = null;
          try {
              name = connection.device.adm_name();
          } catch (final Exception e) {
              ApiUtilDAODefaultImpl.removePendingRepliesOfDevice(connection);
              throw_dev_failed(connection, e, "adm_name", false);
          }
  
          if (name !=null &&  !name.startsWith("tango://") && !name.startsWith("//"))
              name = "tango://" + connection.url.host + ":" + connection.url.port + "/" + name;
  		// If no database, add syntax to be used in DeviceProxy constructor.
  		if (!connection.url.use_db) {
              name += "#dbase=no";
  		}
  		return name;
      }
docs: ==========================================================================