package org.carlspring.strongbox.security;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* @author mtodorov
*/
@XmlRootElement(name = "users")
@XmlAccessorType(XmlAccessType.FIELD)
public class Users
{
@XmlElement(name = "user")
private Set<User> users = new LinkedHashSet<>();
public Users()
{
}
public Users(Set<User> users)
{
this.users = users;
}
public Set<User> getUsers()
{
return users;
}
public void setUsers(Set<User> users)
{
this.users = users;
}
}