code: private DbDatum[] get_obj_property(Database database, String name, String type, String[] propnames)
              throws DevFailed {
          if (!database.isAccess_checked()) checkAccess(database);
  
          //	Format input parameters as string array
          //--------------------------------------------
          String[] array;
          array = new String[1 + propnames.length];
          array[0] = name;
          System.arraycopy(propnames, 0, array, 1, propnames.length);
  
          //	Buid command name (depends on object type)
          //---------------------------------------------------
          String cmd = "DbGet" + type + "Property";
  
          //	Read Database
          //---------------------
          DeviceData argIn = new DeviceData();
          argIn.insert(array);
          DeviceData argOut = command_inout(database, cmd, argIn);
          String[] result = argOut.extractStringArray();
  
          //	And convert to DbDatum array before returning
          //-------------------------------------------------
          return stringArray2DbDatum(result);
      }
docs: ==========================================================================