nl.renarj.jasdb.rest.model.RestUserList Maven / Gradle / Ivy
package nl.renarj.jasdb.rest.model;
import java.util.ArrayList;
import java.util.List;
/**
* @author Renze de Vries
*/
public class RestUserList implements RestEntity {
private List users;
public RestUserList() {
}
public RestUserList(List userList) {
users = new ArrayList<>(userList.size());
for(String user: userList) {
users.add(new RestUser(user, null, null));
}
}
public List getUsers() {
return users;
}
public void setUsers(List users) {
this.users = users;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy