code: public static org.fcrepo.server.types.gen.FieldSearchQuery convertFieldSearchQueryToGenFieldSearchQuery(FieldSearchQuery fsq) {
          List<org.fcrepo.server.types.gen.Condition> genConditions =
                  fsq.getConditions() == null ? null
                          : convertConditionsListToGenConditionsArray(fsq
                                  .getConditions());
          org.fcrepo.server.types.gen.FieldSearchQuery query = new org.fcrepo.server.types.gen.FieldSearchQuery();
  
          ObjectFactory factory = new ObjectFactory();
          org.fcrepo.server.types.gen.FieldSearchQuery.Conditions conds = new org.fcrepo.server.types.gen.FieldSearchQuery.Conditions();
          conds.getCondition().addAll(genConditions);
          query.setConditions(factory.createFieldSearchQueryConditions(conds));
          return query;
      }
docs: Convert a local {@link FieldSearchQuery} into a WSDL-style
  {@link org.fcrepo.server.types.gen.FieldSearchQuery FieldSearchQuery}.