m2u-upass-core / src / my / com / upass / GemaltoTokenBean.java @ 48:b166cea64cf2
History | View | Annotate | Download (4.88 KB)
1 |
/**
|
---|---|
2 |
*
|
3 |
*/
|
4 |
package my.com.upass; |
5 |
|
6 |
import java.util.Date; |
7 |
|
8 |
/**
|
9 |
* @author Administrator
|
10 |
*
|
11 |
*/
|
12 |
public class GemaltoTokenBean { |
13 |
|
14 |
/*
|
15 |
* V_SERIAL_NO NOT NULL VARCHAR2(22)
|
16 |
V_USER_ID NOT NULL NUMBER(9)
|
17 |
V_DP_MODEL VARCHAR2(5)
|
18 |
V_DP_AUTH_MODE VARCHAR2(2)
|
19 |
V_DP_CIPHERTEXT NOT NULL BLOB
|
20 |
V_BAK_CIPHERTEXT NOT NULL BLOB
|
21 |
V_DP_ASSIGNED NOT NULL NUMBER(1)
|
22 |
V_DATE_ASSIGNED TIMESTAMP(6)
|
23 |
V_DATE_FIRST_USED TIMESTAMP(6)
|
24 |
V_DATE_LAST_USED TIMESTAMP(6)
|
25 |
V_USE_COUNT NOT NULL NUMBER(6)
|
26 |
V_ERROR_COUNT NOT NULL NUMBER(2)
|
27 |
V_DP_STATE NOT NULL NUMBER(1)
|
28 |
V_BATCH_NO NOT NULL NUMBER(9)
|
29 |
*/
|
30 |
|
31 |
private String vserialNumber; |
32 |
private long vuserID; |
33 |
private String vdpModel; |
34 |
private String vdpAuthMode; |
35 |
private String vSeed; |
36 |
private byte[] vdpCipherText; |
37 |
private byte[] vbkCipherText; |
38 |
private int vassigned; //unused, pls refer to VState on assign status |
39 |
private Date vdateAssigned; |
40 |
private Date vdateFirstUsed; |
41 |
private Date vdateLastUsed; |
42 |
private int vuseCount; |
43 |
private int verrorCount; |
44 |
private int vstate; |
45 |
private String vbatchNo; |
46 |
|
47 |
/**
|
48 |
* @return the vSerialNumber
|
49 |
*/
|
50 |
public String getVserialNumber() { |
51 |
return vserialNumber;
|
52 |
} |
53 |
/**
|
54 |
* @param serialNumber the vSerialNumber to set
|
55 |
*/
|
56 |
public void setVserialNumber(String serialNumber) { |
57 |
vserialNumber = serialNumber; |
58 |
} |
59 |
/**
|
60 |
* @return the vUserID
|
61 |
*/
|
62 |
public long getVuserID() { |
63 |
return vuserID;
|
64 |
} |
65 |
/**
|
66 |
* @param userID the vUserID to set
|
67 |
*/
|
68 |
public void setVuserID(long userID) { |
69 |
vuserID = userID; |
70 |
} |
71 |
/**
|
72 |
* @return the vDPModel
|
73 |
*/
|
74 |
public String getVdpModel() { |
75 |
return vdpModel;
|
76 |
} |
77 |
/**
|
78 |
* @param model the vDPModel to set
|
79 |
*/
|
80 |
public void setVdpModel(String model) { |
81 |
vdpModel = model; |
82 |
} |
83 |
/**
|
84 |
* @return the vSeed
|
85 |
*/
|
86 |
public String getVSeed() { |
87 |
return vSeed;
|
88 |
} |
89 |
/**
|
90 |
* @param seed the vSeed to set
|
91 |
*/
|
92 |
public void setVSeed(String seed) { |
93 |
vSeed = seed; |
94 |
} |
95 |
/**
|
96 |
* @return the vDPAuthMode
|
97 |
*/
|
98 |
public String getVdpAuthMode() { |
99 |
return vdpAuthMode;
|
100 |
} |
101 |
/**
|
102 |
* @param authMode the vDPAuthMode to set
|
103 |
*/
|
104 |
public void setVdpAuthMode(String authMode) { |
105 |
vdpAuthMode = authMode; |
106 |
} |
107 |
/**
|
108 |
* @return the vDPCipherText
|
109 |
*/
|
110 |
public byte[] getVdpCipherText() { |
111 |
return vdpCipherText;
|
112 |
} |
113 |
/**
|
114 |
* @param cipherText the vDPCipherText to set
|
115 |
*/
|
116 |
public void setVdpCipherText(byte[] cipherText) { |
117 |
vdpCipherText = cipherText; |
118 |
} |
119 |
/**
|
120 |
* @return the vBKCipherText
|
121 |
*/
|
122 |
public byte[] getVbkCipherText() { |
123 |
return vbkCipherText;
|
124 |
} |
125 |
/**
|
126 |
* @param cipherText the vBKCipherText to set
|
127 |
*/
|
128 |
public void setVbkCipherText(byte[] cipherText) { |
129 |
vbkCipherText = cipherText; |
130 |
} |
131 |
/**
|
132 |
* @return the vAssigned
|
133 |
*/
|
134 |
public int getVassigned() { |
135 |
return vassigned;
|
136 |
} |
137 |
/**
|
138 |
* @param assigned the vAssigned to set
|
139 |
*/
|
140 |
public void setVassigned(int assigned) { |
141 |
vassigned = assigned; |
142 |
} |
143 |
/**
|
144 |
* @return the vDateAssigned
|
145 |
*/
|
146 |
public Date getVdateAssigned() { |
147 |
return vdateAssigned;
|
148 |
} |
149 |
/**
|
150 |
* @param dateAssigned the vDateAssigned to set
|
151 |
*/
|
152 |
public void setVdateAssigned(Date dateAssigned) { |
153 |
vdateAssigned = dateAssigned; |
154 |
} |
155 |
/**
|
156 |
* @return the vDateFirstUsed
|
157 |
*/
|
158 |
public Date getVdateFirstUsed() { |
159 |
return vdateFirstUsed;
|
160 |
} |
161 |
/**
|
162 |
* @param dateFirstUsed the vDateFirstUsed to set
|
163 |
*/
|
164 |
public void setVdateFirstUsed(Date dateFirstUsed) { |
165 |
vdateFirstUsed = dateFirstUsed; |
166 |
} |
167 |
/**
|
168 |
* @return the vDateLastUsed
|
169 |
*/
|
170 |
public Date getVdateLastUsed() { |
171 |
return vdateLastUsed;
|
172 |
} |
173 |
/**
|
174 |
* @param dateLastUsed the vDateLastUsed to set
|
175 |
*/
|
176 |
public void setVdateLastUsed(Date dateLastUsed) { |
177 |
vdateLastUsed = dateLastUsed; |
178 |
} |
179 |
/**
|
180 |
* @return the vUseCount
|
181 |
*/
|
182 |
public int getVuseCount() { |
183 |
return vuseCount;
|
184 |
} |
185 |
/**
|
186 |
* @param useCount the vUseCount to set
|
187 |
*/
|
188 |
public void setVuseCount(int useCount) { |
189 |
vuseCount = useCount; |
190 |
} |
191 |
/**
|
192 |
* @return the vErrorCount
|
193 |
*/
|
194 |
public int getVerrorCount() { |
195 |
return verrorCount;
|
196 |
} |
197 |
/**
|
198 |
* @param errorCount the vErrorCount to set
|
199 |
*/
|
200 |
public void setVerrorCount(int errorCount) { |
201 |
verrorCount = errorCount; |
202 |
} |
203 |
/**
|
204 |
* @return the vState
|
205 |
*/
|
206 |
public int getVstate() { |
207 |
return vstate;
|
208 |
} |
209 |
/**
|
210 |
* @param state the vState to set
|
211 |
*/
|
212 |
public void setVstate(int state) { |
213 |
vstate = state; |
214 |
} |
215 |
/**
|
216 |
* @return the vBatchNo
|
217 |
*/
|
218 |
public String getVbatchNo() { |
219 |
return vbatchNo;
|
220 |
} |
221 |
/**
|
222 |
* @param batchNo the vBatchNo to set
|
223 |
*/
|
224 |
public void setVbatchNo(String batchNo) { |
225 |
vbatchNo = batchNo; |
226 |
} |
227 |
} |