Statistics
| Branch: | Revision:

m2u-upass-core / src / my / com / upass / pojo / UserBeanBackup.java @ 0:02300db8682b

History | View | Annotate | Download (6.58 KB)

1
/**
2
 * Copyright (M) 2010 Penril Datability (M) Sdn Bhd All rights reserved.
3
 *
4
 * This software is copyrighted. Under the copyright laws, this software
5
 * may not be copied, in whole or in part, without prior written consent
6
 * of Penril Datability (M) Sdn Bhd or its assignees. This software is
7
 * provided under the terms of a license between Penril Datability (M)
8
 * Sdn Bhd and the recipient, and its use is subject to the terms of that
9
 * license.
10
 */
11
package my.com.upass.pojo;
12

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

    
18
public class UserBeanBackup implements Serializable
19
{
20
        private static final long serialVersionUID = 9156396112031434214L;
21
        private int                oid;
22
        private long         userID;
23
        private String         userAlias;
24
        private int         userType;
25
        private String         description;
26
        private Date        udateCreated;
27
        private Date        udateLastUsed;
28
        private int         uuseCount;
29
        private Date         udateLastActivated;
30
        private Date         udateLastLocked;
31
        private int         ustate;
32
        private Date         udateLockedFrom;
33
        private Date         udateLockedTo;
34

    
35
        private String        pcipherText;
36
        private int         pstate;
37
        private Date        pdateCreated;
38
        private Date         pdateFirstUsed;
39
        private Date        pdateLastUsed;
40
        private int         puseCount;
41
        private int         perrorCount;
42
        private String  phistoryList;
43
        private int         pexpiredStatus;
44
        //This field is used to track password expire date. The value is the last password change date. 
45
        //The actual expire date must add the value from TM_AM_CONFIG.PASSWORD_EXPIRY_DAY value
46
        private Date        pdateExpired;  
47
        
48
        TbAmTacBackup        tacbean;
49
        
50
        
51
        
52
        
53
//        private String ucustomerType;
54
        private int applicationId;
55
        private Set<UserTokenBean> upassUserTokens = new HashSet<UserTokenBean> ();
56
        private UserMasterBeanBackup upassUserMasterBackup;
57
        
58
        /**
59
         * @return the ucustomerType
60
         */
61
//        public String getUcustomerType ()
62
//        {
63
//                return ucustomerType;
64
//        }
65
//
66
//        /**
67
//         * @param ucustomerType the ucustomerType to set
68
//         */
69
//        public void setUcustomerType (String ucustomerType)
70
//        {
71
//                this.ucustomerType = ucustomerType;
72
//        }
73

    
74
        /**
75
         * @return the upassUserTokens
76
         */
77
        public Set<UserTokenBean> getUpassUserTokens ()
78
        {
79
                return upassUserTokens;
80
        }
81

    
82
        /**
83
         * @param upassUserTokens the upassUserTokens to set
84
         */
85
        public void setUpassUserTokens (Set<UserTokenBean> upassUserTokens)
86
        {
87
                this.upassUserTokens = upassUserTokens;
88
        }
89

    
90
        /**
91
         * @return the upassUserMaster
92
         */
93
        public UserMasterBeanBackup getUpassUserMasterBackup ()
94
        {
95
                return upassUserMasterBackup;
96
        }
97

    
98
        /**
99
         * @param upassUserMaster the upassUserMaster to set
100
         */
101
        public void setUpassUserMasterBackup (UserMasterBeanBackup upassUserMasterBackup)
102
        {
103
                this.upassUserMasterBackup = upassUserMasterBackup;
104
        }
105
        
106
//merging        
107
        
108
        public TbAmTacBackup getTacbean() {
109
                return tacbean;
110
        }
111

    
112
        public void setTacbean(TbAmTacBackup tacbean) {
113
                this.tacbean = tacbean;
114
        }
115

    
116
        public UserBeanBackup() {
117
        }
118

    
119
        public long getUserID() {
120
                return userID;
121
        }
122

    
123
        public void setUserID(long userID) {
124
                this.userID = userID;
125
        }
126

    
127
        public String getUserAlias() {
128
                return userAlias;
129
        }
130

    
131
        public void setUserAlias(String userAlias) {
132
                this.userAlias = userAlias;
133
        }
134

    
135
        public int getUserType() {
136
                return userType;
137
        }
138

    
139
        public void setUserType(int userType) {
140
                this.userType = userType;
141
        }
142

    
143
        public String getDescription() {
144
                return description;
145
        }
146

    
147
        public void setDescription(String description) {
148
                this.description = description;
149
        }
150

    
151
        public Date getUdateCreated() {
152
                return udateCreated;
153
        }
154

    
155
        public void setUdateCreated(Date udateCreated) {
156
                this.udateCreated = udateCreated;
157
        }
158

    
159
        public Date getUdateLastUsed() {
160
                return udateLastUsed;
161
        }
162

    
163
        public void setUdateLastUsed(Date udateLastUsed) {
164
                this.udateLastUsed = udateLastUsed;
165
        }
166

    
167
        public int getUuseCount() {
168
                return uuseCount;
169
        }
170

    
171
        public void setUuseCount(int uuseCount) {
172
                this.uuseCount = uuseCount;
173
        }
174

    
175
        public Date getUdateLastActivated() {
176
                return udateLastActivated;
177
        }
178

    
179
        public void setUdateLastActivated(Date udateLastActivated) {
180
                this.udateLastActivated = udateLastActivated;
181
        }
182

    
183
        public Date getUdateLastLocked() {
184
                return udateLastLocked;
185
        }
186

    
187
        public void setUdateLastLocked(Date udateLastLocked) {
188
                this.udateLastLocked = udateLastLocked;
189
        }
190

    
191
        public int getUstate() {
192
                return ustate;
193
        }
194

    
195
        public void setUstate(int ustate) {
196
                this.ustate = ustate;
197
        }
198

    
199
        public Date getUdateLockedFrom() {
200
                return udateLockedFrom;
201
        }
202

    
203
        public void setUdateLockedFrom(Date udateLockedFrom) {
204
                this.udateLockedFrom = udateLockedFrom;
205
        }
206

    
207
        public Date getUdateLockedTo() {
208
                return udateLockedTo;
209
        }
210

    
211
        public void setUdateLockedTo(Date udateLockedTo) {
212
                this.udateLockedTo = udateLockedTo;
213
        }
214

    
215
        public String getPcipherText() {
216
                return pcipherText;
217
        }
218

    
219
        public void setPcipherText(String pcipherText) {
220
                this.pcipherText = pcipherText;
221
        }
222

    
223
        public int getPstate() {
224
                return pstate;
225
        }
226

    
227
        public void setPstate(int pstate) {
228
                this.pstate = pstate;
229
        }
230

    
231
        public Date getPdateCreated() {
232
                return pdateCreated;
233
        }
234

    
235
        public void setPdateCreated(Date pdateCreated) {
236
                this.pdateCreated = pdateCreated;
237
        }
238

    
239
        public Date getPdateFirstUsed() {
240
                return pdateFirstUsed;
241
        }
242

    
243
        public void setPdateFirstUsed(Date pdateFirstUsed) {
244
                this.pdateFirstUsed = pdateFirstUsed;
245
        }
246

    
247
        public Date getPdateLastUsed() {
248
                return pdateLastUsed;
249
        }
250

    
251
        public void setPdateLastUsed(Date pdateLastUsed) {
252
                this.pdateLastUsed = pdateLastUsed;
253
        }
254

    
255
        public int getPuseCount() {
256
                return puseCount;
257
        }
258

    
259
        public void setPuseCount(int puseCount) {
260
                this.puseCount = puseCount;
261
        }
262

    
263
        public int getPerrorCount() {
264
                return perrorCount;
265
        }
266

    
267
        public void setPerrorCount(int perrorCount) {
268
                this.perrorCount = perrorCount;
269
        }
270

    
271
        public String getPhistoryList() {
272
                return phistoryList;
273
        }
274

    
275
        public void setPhistoryList(String phistoryList) {
276
                this.phistoryList = phistoryList;
277
        }
278

    
279
        public int getPexpiredStatus() {
280
                return pexpiredStatus;
281
        }
282

    
283
        public void setPexpiredStatus(int pexpiredStatus) {
284
                this.pexpiredStatus = pexpiredStatus;
285
        }
286

    
287
        public Date getPdateExpired() {
288
                return pdateExpired;
289
        }
290

    
291
        public void setPdateExpired(Date pdateExpired) {
292
                this.pdateExpired = pdateExpired;
293
        }
294

    
295
        public int getApplicationId() {
296
                return applicationId;
297
        }
298

    
299
        public void setApplicationId(int applicationId) {
300
                this.applicationId = applicationId;
301
        }
302

    
303
        /**
304
         * @param oid the oid to set
305
         */
306
        public void setOid (int oid)
307
        {
308
                this.oid = oid;
309
        }
310

    
311
        /**
312
         * @return the oid
313
         */
314
        public int getOid ()
315
        {
316
                return oid;
317
        }
318
}