Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/util/auth/UserInfo.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | b2db32812260 |
children | 244c54d16957 |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ package de.intevation.lada.util.auth; import java.util.ArrayList; import java.util.List; /** * Container for user specific information. * * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> */ public class UserInfo { private String name; private List<String> messstellen; private List<String> netzbetreiber; private List<String> roles; public UserInfo() { messstellen = new ArrayList<String>(); netzbetreiber = new ArrayList<String>(); } /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the messstellen */ public List<String> getMessstellen() { return messstellen; } /** * @param messstellen the messstellen to set */ public void setMessstellen(List<String> messstellen) { this.messstellen = messstellen; } /** * @return the netzbetreiber */ public List<String> getNetzbetreiber() { return netzbetreiber; } /** * @param netzbetreiber the netzbetreiber to set */ public void setNetzbetreiber(List<String> netzbetreiber) { this.netzbetreiber = netzbetreiber; } /** * @return the roles */ public List<String> getRoles() { return roles; } /** * @param roles the roles to set */ public void setRoles(List<String> roles) { this.roles = roles; } }