code: public static List<org.fcrepo.server.types.gen.Condition> convertConditionsListToGenConditionsArray(List<Condition> conditions) {
          List<org.fcrepo.server.types.gen.Condition> genConditions =
                  new ArrayList<org.fcrepo.server.types.gen.Condition>();
  
          for (Condition condition : conditions) {
              genConditions.add(convertConditionToGenCondition(condition));
          }
  
          return genConditions;
      }
docs: Convert a {@link List} of local {@link Condition}s into an array of
  WSDL-style {@link org.fcrepo.server.types.gen.Condition Condition}s.