code: private void createEmptyDataCollection()
      {
          Class<?> collectionClass = getRelation().getProperty().getType();
          if (collectionClass.isAssignableFrom(Set.class))
          {
              dataCollection = new HashSet();
          }
          else if (collectionClass.isAssignableFrom(List.class))
          {
              dataCollection = new ArrayList();
          }
      }
docs: Creates an a data collection which has no entity inside it