code: static FullEntity<?>[] toNativeFullEntities(List<?> entities, DefaultEntityManager entityManager,
        Marshaller.Intent intent) {
      FullEntity<?>[] nativeEntities = new FullEntity[entities.size()];
      for (int i = 0; i < entities.size(); i++) {
        nativeEntities[i] = (FullEntity<?>) Marshaller.marshal(entityManager, entities.get(i),
            intent);
      }
      return nativeEntities;
    }
docs: Converts the given list of model objects to an array of FullEntity objects.
  
  @param entities
  the model objects to convert.
  @param entityManager
  the entity manager
  @param intent
  the intent of marshalling
  @return the equivalent FullEntity array