code: private String[] asIDs( List<Object> values ) {
          ValueFactory<String> factory = valueFactories.getStringFactory();
          String[] res = new String[values.size()];
          for (int i = 0; i < res.length; i++) {
              res[i] = factory.create(values.get(i));
          }
          return res;
      }
docs: Converts CMIS value of ID type into JCR value of String type.
  
  @param values CMIS values of Id type
  @return JCR values of String type