code: public Map<Entity, List<String>> validate(Entity[] entities) throws APIException, ConnectionException, OidException {
          Map<Entity, List<String>> results = new HashMap<Entity, List<String>>();
  
          for (Entity entity : entities) {
              results.put(entity, validate(entity));
          }
  
          return results;
      }
docs: Validate a collection of entities.
  @param entities - Entities to validate.
  @return Map where Entities are keys, and corresponding validation results are values (@see Validate(Entity)).
  @throws OidException
  @throws ConnectionException
  @throws APIException