Revision 9:16125cca68e4 src/my/com/upass/pojo/UserBean.java

View differences:

src/my/com/upass/pojo/UserBean.java
10 10
 */
11 11
package my.com.upass.pojo;
12 12

  
13
import java.io.Serializable;
14
import java.util.Date;
15 13
import java.util.HashSet;
16 14
import java.util.Set;
17 15

  
18

  
19 16
/**
20 17
 * 
21 18
 * PROGRAMMER: Danniell
......
30 27
/**
31 28
 * <Class description>
32 29
 */
33
public class UserBean implements Serializable
34
{
30
public class UserBean extends MinimalUserBean {
31

  
35 32
	private static final long serialVersionUID = 9156396112031434214L;
36 33

  
37
	private long 	userID;
38
	private String 	userAlias;
39
	private int 	userType;
40
	private String 	description;
41
	private Date	udateCreated;
42
	private Date	udateLastUsed;
43
	private int 	uuseCount;
44
	private Date 	udateLastActivated;
45
	private Date 	udateLastLocked;
46
	private int 	ustate;
47
	private Date 	udateLockedFrom;
48
	private Date 	udateLockedTo;
34
	TacBean tacbean;
49 35

  
50
	private String	pcipherText;
51
	private int 	pstate;
52
	private Date	pdateCreated;
53
	private Date 	pdateFirstUsed;
54
	private Date	pdateLastUsed;
55
	private int 	puseCount;
56
	private int 	perrorCount;
57
	private String  phistoryList;
58
	private int 	pexpiredStatus;
59
	//This field is used to track password expire date. The value is the last password change date. 
60
	//The actual expire date must add the value from TM_AM_CONFIG.PASSWORD_EXPIRY_DAY value
61
	private Date	pdateExpired;  
62
	
63
	TacBean	tacbean;
64
	
65
	
66
	
67
	
68
//	private String ucustomerType;
69
	private int applicationId;
70
	private Set<UserTokenBean> upassUserTokens = new HashSet<UserTokenBean> ();
36
	private Set<UserTokenBean> upassUserTokens = new HashSet<UserTokenBean>();
37

  
71 38
	private UserMasterBean upassUserMaster;
72
	
39

  
73 40
	/**
74 41
	 * @return the ucustomerType
75 42
	 */
76
//	public String getUcustomerType ()
77
//	{
78
//		return ucustomerType;
79
//	}
80
//
81
//	/**
82
//	 * @param ucustomerType the ucustomerType to set
83
//	 */
84
//	public void setUcustomerType (String ucustomerType)
85
//	{
86
//		this.ucustomerType = ucustomerType;
87
//	}
43
	// public String getUcustomerType ()
44
	// {
45
	// return ucustomerType;
46
	// }
47
	//
48
	// /**
49
	// * @param ucustomerType the ucustomerType to set
50
	// */
51
	// public void setUcustomerType (String ucustomerType)
52
	// {
53
	// this.ucustomerType = ucustomerType;
54
	// }
88 55

  
89 56
	/**
90 57
	 * @return the upassUserTokens
91 58
	 */
92
	public Set<UserTokenBean> getUpassUserTokens ()
93
	{
59
	public Set<UserTokenBean> getUpassUserTokens() {
94 60
		return upassUserTokens;
95 61
	}
96 62

  
97 63
	/**
98
	 * @param upassUserTokens the upassUserTokens to set
64
	 * @param upassUserTokens
65
	 *            the upassUserTokens to set
99 66
	 */
100
	public void setUpassUserTokens (Set<UserTokenBean> upassUserTokens)
101
	{
67
	public void setUpassUserTokens(Set<UserTokenBean> upassUserTokens) {
102 68
		this.upassUserTokens = upassUserTokens;
103 69
	}
104 70

  
105
	/**
106
	 * @return the upassUserMaster
107
	 */
108
	public UserMasterBean getUpassUserMaster ()
109
	{
110
		return upassUserMaster;
111
	}
71
	// merging
112 72

  
113
	/**
114
	 * @param upassUserMaster the upassUserMaster to set
115
	 */
116
	public void setUpassUserMaster (UserMasterBean upassUserMaster)
117
	{
118
		this.upassUserMaster = upassUserMaster;
119
	}
120
	
121
//merging	
122
	
123 73
	public TacBean getTacbean() {
124 74
		return tacbean;
125 75
	}
......
128 78
		this.tacbean = tacbean;
129 79
	}
130 80

  
81
	/**
82
	 * @return the upassUserMaster
83
	 */
84
	public UserMasterBean getUpassUserMaster() {
85
		return upassUserMaster;
86
	}
87

  
88
	/**
89
	 * @param upassUserMaster the upassUserMaster to set
90
	 */
91
	public void setUpassUserMaster(UserMasterBean upassUserMaster) {
92
		this.upassUserMaster = upassUserMaster;
93
	}
94

  
131 95
	public UserBean() {
132 96
	}
133

  
134
	public long getUserID() {
135
		return userID;
136
	}
137

  
138
	public void setUserID(long userID) {
139
		this.userID = userID;
140
	}
141

  
142
	public String getUserAlias() {
143
		return userAlias;
144
	}
145

  
146
	public void setUserAlias(String userAlias) {
147
		this.userAlias = userAlias;
148
	}
149

  
150
	public int getUserType() {
151
		return userType;
152
	}
153

  
154
	public void setUserType(int userType) {
155
		this.userType = userType;
156
	}
157

  
158
	public String getDescription() {
159
		return description;
160
	}
161

  
162
	public void setDescription(String description) {
163
		this.description = description;
164
	}
165

  
166
	public Date getUdateCreated() {
167
		return udateCreated;
168
	}
169

  
170
	public void setUdateCreated(Date udateCreated) {
171
		this.udateCreated = udateCreated;
172
	}
173

  
174
	public Date getUdateLastUsed() {
175
		return udateLastUsed;
176
	}
177

  
178
	public void setUdateLastUsed(Date udateLastUsed) {
179
		this.udateLastUsed = udateLastUsed;
180
	}
181

  
182
	public int getUuseCount() {
183
		return uuseCount;
184
	}
185

  
186
	public void setUuseCount(int uuseCount) {
187
		this.uuseCount = uuseCount;
188
	}
189

  
190
	public Date getUdateLastActivated() {
191
		return udateLastActivated;
192
	}
193

  
194
	public void setUdateLastActivated(Date udateLastActivated) {
195
		this.udateLastActivated = udateLastActivated;
196
	}
197

  
198
	public Date getUdateLastLocked() {
199
		return udateLastLocked;
200
	}
201

  
202
	public void setUdateLastLocked(Date udateLastLocked) {
203
		this.udateLastLocked = udateLastLocked;
204
	}
205

  
206
	public int getUstate() {
207
		return ustate;
208
	}
209

  
210
	public void setUstate(int ustate) {
211
		this.ustate = ustate;
212
	}
213

  
214
	public Date getUdateLockedFrom() {
215
		return udateLockedFrom;
216
	}
217

  
218
	public void setUdateLockedFrom(Date udateLockedFrom) {
219
		this.udateLockedFrom = udateLockedFrom;
220
	}
221

  
222
	public Date getUdateLockedTo() {
223
		return udateLockedTo;
224
	}
225

  
226
	public void setUdateLockedTo(Date udateLockedTo) {
227
		this.udateLockedTo = udateLockedTo;
228
	}
229

  
230
	public String getPcipherText() {
231
		return pcipherText;
232
	}
233

  
234
	public void setPcipherText(String pcipherText) {
235
		this.pcipherText = pcipherText;
236
	}
237

  
238
	public int getPstate() {
239
		return pstate;
240
	}
241

  
242
	public void setPstate(int pstate) {
243
		this.pstate = pstate;
244
	}
245

  
246
	public Date getPdateCreated() {
247
		return pdateCreated;
248
	}
249

  
250
	public void setPdateCreated(Date pdateCreated) {
251
		this.pdateCreated = pdateCreated;
252
	}
253

  
254
	public Date getPdateFirstUsed() {
255
		return pdateFirstUsed;
256
	}
257

  
258
	public void setPdateFirstUsed(Date pdateFirstUsed) {
259
		this.pdateFirstUsed = pdateFirstUsed;
260
	}
261

  
262
	public Date getPdateLastUsed() {
263
		return pdateLastUsed;
264
	}
265

  
266
	public void setPdateLastUsed(Date pdateLastUsed) {
267
		this.pdateLastUsed = pdateLastUsed;
268
	}
269

  
270
	public int getPuseCount() {
271
		return puseCount;
272
	}
273

  
274
	public void setPuseCount(int puseCount) {
275
		this.puseCount = puseCount;
276
	}
277

  
278
	public int getPerrorCount() {
279
		return perrorCount;
280
	}
281

  
282
	public void setPerrorCount(int perrorCount) {
283
		this.perrorCount = perrorCount;
284
	}
285

  
286
	public String getPhistoryList() {
287
		return phistoryList;
288
	}
289

  
290
	public void setPhistoryList(String phistoryList) {
291
		this.phistoryList = phistoryList;
292
	}
293

  
294
	public int getPexpiredStatus() {
295
		return pexpiredStatus;
296
	}
297

  
298
	public void setPexpiredStatus(int pexpiredStatus) {
299
		this.pexpiredStatus = pexpiredStatus;
300
	}
301

  
302
	public Date getPdateExpired() {
303
		return pdateExpired;
304
	}
305

  
306
	public void setPdateExpired(Date pdateExpired) {
307
		this.pdateExpired = pdateExpired;
308
	}
309

  
310
	public int getApplicationId() {
311
		return applicationId;
312
	}
313

  
314
	public void setApplicationId(int applicationId) {
315
		this.applicationId = applicationId;
316
	}
317 97
}

Also available in: Unified diff