applied LGPLv3 and source code formatting.
[vamsas.git] / src / uk / ac / vamsas / client / UserHandle.java
1 /*
2  * This file is part of the Vamsas Client version 0.1. 
3  * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, 
4  *  Andrew Waterhouse and Dominik Lindner.
5  * 
6  * Earlier versions have also been incorporated into Jalview version 2.4 
7  * since 2008, and TOPALi version 2 since 2007.
8  * 
9  * The Vamsas Client is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *  
14  * The Vamsas Client is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU Lesser General Public License for more details.
18  * 
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with the Vamsas Client.  If not, see <http://www.gnu.org/licenses/>.
21  */
22 package uk.ac.vamsas.client;
23
24 /**
25  * Unique user identifier for a vamsas session. Used to write user provenance
26  * information, and track view/access control in multiuser sessions.
27  * 
28  * @author jimp
29  */
30 public class UserHandle {
31   /**
32    * @param fullName
33    * @param organization
34    */
35   public UserHandle(String fullName, String organization) {
36     this.fullName = fullName;
37     Organization = organization;
38   }
39
40   String fullName;
41
42   String Organization;
43
44   /**
45    * @return Returns the fullName.
46    */
47   public String getFullName() {
48     return fullName;
49   }
50
51   /**
52    * @param fullName
53    *          The fullName to set.
54    */
55   public void setFullName(String fullname) {
56     fullName = fullname;
57   }
58
59   /**
60    * @return Returns the organization.
61    */
62   public String getOrganization() {
63     return Organization;
64   }
65
66   /**
67    * @param organization
68    *          The organization to set.
69    */
70   public void setOrganization(String organization) {
71     Organization = organization;
72   }
73 }