View Javadoc

1   /*
2   * Copyright 2005 Arnaud Prost
3   * 
4   * Arnaud.prost@gmail.com
5   * 
6   * This software is a computer program whose purpose is to ease the 
7   * management of software project.
8   * 
9   * This software is governed by the CeCILL  license under French law and
10  * abiding by the rules of distribution of free software.  You can  use, 
11  * modify and/ or redistribute the software under the terms of the CeCILL
12  * license as circulated by CEA, CNRS and INRIA at the following URL
13  * "http://www.cecill.info". 
14  * 
15  * As a counterpart to the access to the source code and  rights to copy,
16  * modify and redistribute granted by the license, users are provided only
17  * with a limited warranty  and the software's author,  the holder of the
18  * economic rights,  and the successive licensors  have only  limited
19  * liability. 
20  * 
21  * In this respect, the user's attention is drawn to the risks associated
22  * with loading,  using,  modifying and/or developing or reproducing the
23  * software by the user in light of its specific status of free software,
24  * that may mean  that it is complicated to manipulate,  and  that  also
25  * therefore means  that it is reserved for developers  and  experienced
26  * professionals having in-depth computer knowledge. Users are therefore
27  * encouraged to load and test the software's suitability as regards their
28  * requirements in conditions enabling the security of their systems and/or 
29  * data to be ensured and,  more generally, to use and operate it in the 
30  * same conditions as regards security. 
31  * 
32  * The fact that you are presently reading this means that you have had
33  * knowledge of the CeCILL license and that you accept its terms.
34  */
35  
36  package net.sf.pmr.core.domain.user;
37  
38  import java.util.Set;
39  
40  import net.sf.pmr.core.domain.user.company.Company;
41  import net.sf.pmr.keopsframework.domain.object.DomainObject;
42  
43  
44  /***
45   * @author Arnaud
46   *
47   * To change the template for this generated type comment go to
48   * Window>Preferences>Java>Code Generation>Code and Comments
49   */
50  
51  public interface User extends DomainObject {
52  
53      /***
54       * firstname
55       * @return firstname fisrtname
56       */
57      String getFirstName();
58  
59      /***
60       * @return LastName
61       *
62       */
63      String getLastName();
64  
65      /***
66       * @return Login
67       *
68       */
69      String getLogin();
70  
71      /***
72       * @return password
73       *
74       */
75      String getPassword();
76  
77      /***
78       * @return projects
79       *
80       */
81      Company getCompany();
82  
83      /***
84       * @param string
85       *            FirstName
86       *
87       */
88      void setFirstName(final String string);
89  
90      /***
91       * @param string
92       *            lastName
93       *
94       */
95      void setLastName(final String string);
96  
97      /***
98       * @param string
99       *            login
100      *
101      */
102     void setLogin(final String string);
103 
104     /***
105      * @param string
106      *            password
107      *
108      */
109     void setPassword(final String string);
110 
111     /***
112      * set email
113      * @param email email
114      */
115     void setEmail(final String email);
116 
117     /***
118      * get email
119      * @return
120      */
121     String getEmail();
122 
123     /***
124      * @param string
125      *            password
126      *
127      */
128     void setCompany(final Company company);
129 
130 
131     Set getProjects();
132 
133     void setProjects(final Set basicProjects);
134 
135 }