1 package org.hedwig.core;
2
3 import java.util.Map;
4
5 /***
6 * @author keith
7 *
8 * To change this generated comment edit the template variable "typecomment":
9 * Window>Preferences>Java>Templates.
10 * To enable and disable the creation of type comments go to
11 * Window>Preferences>Java>Code Generation.
12 */
13 public class HedwigUser {
14
15 private long _id;
16 private String _login;
17 private String _pass;
18 private String _nameFirst;
19 private String _nameLast;
20 private Map _accounts;
21
22 public HedwigUser(){
23 super();
24 }
25 /***
26 * Returns the id.
27 * @return long
28 */
29 private long getId() {
30 return _id;
31 }
32
33 /***
34 * Returns the login.
35 * @return String
36 */
37 public String getLogin() {
38 return _login;
39 }
40
41 /***
42 * Returns the nameFirst.
43 * @return String
44 */
45 public String getNameFirst() {
46 return _nameFirst;
47 }
48
49 /***
50 * Returns the nameLast.
51 * @return String
52 */
53 public String getNameLast() {
54 return _nameLast;
55 }
56
57 /***
58 * Returns the pass.
59 * @return String
60 */
61 public String getPass() {
62 return _pass;
63 }
64
65 /***
66 * Sets the id.
67 * @param id The id to set
68 */
69 private void setId(long id) {
70 _id= id;
71 }
72
73 /***
74 * Sets the login.
75 * @param login The login to set
76 */
77 public void setLogin(String login) {
78 _login= login;
79 }
80
81 /***
82 * Sets the nameFirst.
83 * @param nameFirst The nameFirst to set
84 */
85 public void setNameFirst(String nameFirst) {
86 _nameFirst= nameFirst;
87 }
88
89 /***
90 * Sets the nameLast.
91 * @param nameLast The nameLast to set
92 */
93 public void setNameLast(String nameLast) {
94 _nameLast= nameLast;
95 }
96
97 /***
98 * Sets the pass.
99 * @param pass The pass to set
100 */
101 public void setPass(String pass) {
102 _pass= pass;
103 }
104
105 /***
106 * Returns the accounts.
107 * @return Map
108 */
109 public Map getAccounts() {
110 return _accounts;
111 }
112
113 /***
114 * Sets the accounts.
115 * @param accounts The accounts to set
116 */
117 public void setAccounts(Map accounts) {
118 _accounts= accounts;
119 }
120
121 }
This page was automatically generated by Maven