code: public String[] get_class_inheritance_for_device(Database database, String deviceName)
              throws DevFailed {
          if (!database.isAccess_checked()) checkAccess(database);
  
          String[] result = {"Device_3Impl"};
          try {
              DeviceData argIn = new DeviceData();
              argIn.insert(deviceName);
              DeviceData argOut = command_inout(database, "DbGetClassInheritanceForDevice", argIn);
              result = argOut.extractStringArray();
          } catch (DevFailed e) {
              //	Check if an old API else re-throw
              if (!e.errors[0].reason.equals("API_CommandNotFound"))
                  throw e;
          }
  
          return result;
      }
docs: /* (non-Javadoc)
  @see fr.esrf.TangoApi.IDatabaseDAO#get_class_inheritance_for_device(java.lang.String)