List of usage examples for org.springframework.util AutoPopulatingList AutoPopulatingList
public AutoPopulatingList(List<E> backingList, ElementFactory<E> elementFactory)
From source file:org.orcid.frontend.web.forms.CurrentWork.java
public void setCurrentWorkContributors(List<CurrentWorkContributor> currentWorkContributors) { this.currentWorkContributors = new AutoPopulatingList<CurrentWorkContributor>(currentWorkContributors, CurrentWorkContributor.class); }
From source file:org.orcid.frontend.web.forms.PublicationsTaskForm.java
public void setPublications(List<Publication> publications) { this.publications = new AutoPopulatingList<Publication>(publications, Publication.class); }