code: private String[] dbdatum2StringArray(String name, DbDatum[] properties) {
          //	At first, search the array size
          //---------------------------------------
          int size = 2;    //	Object Name and nb properties
          for (DbDatum property : properties) {
              size += 2;    //	Property Name and nb properties
              size += property.size();
          }
  
          //	Format input parameters as strin array
          //--------------------------------------------
          String[] result;
          result = new String[size];
          result[0] = name;
          result[1] = String.valueOf(properties.length);
          for (int i = 0, pnum = 2 ; i<properties.length ; i++) {
              String[] prop = properties[i].toStringArray();
              for (String propname : prop)
                  result[pnum++] = propname;
          }
          return result;
      }
docs: ==========================================================================