m2u-upass-core / src / my / com / upass / secure / metric / LoadTokenTNK.java @ 0:02300db8682b
History | View | Annotate | Download (2.3 KB)
1 |
/*
|
---|---|
2 |
* Copyright (c) 2012 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.secure.metric; |
12 |
|
13 |
/*
|
14 |
* <pre>
|
15 |
* PROGRAMMER: Enson Yeoh
|
16 |
* CHANGE-NO:
|
17 |
* TASK-NO:
|
18 |
* DATE CREATED: May 7, 2013
|
19 |
* TAG AS:
|
20 |
* REASON(S):
|
21 |
* MODIFICATION:
|
22 |
* </pre>
|
23 |
*/
|
24 |
|
25 |
public class LoadTokenTNK |
26 |
{ |
27 |
private String tnkFilePath; //"v3.2_20130322-AGRO001-1429.tnk" |
28 |
private String licFilePath; //"v3.2_20130322-AGRO001-1429.lic" |
29 |
|
30 |
private int totalToken; |
31 |
private int successCount; |
32 |
private int rejectedCount; |
33 |
|
34 |
public LoadTokenTNK(String tnkFilePath, String licFilePath) |
35 |
{ |
36 |
this.tnkFilePath = tnkFilePath;
|
37 |
this.licFilePath = licFilePath;
|
38 |
} |
39 |
|
40 |
/**
|
41 |
* @param tnkFilePath the tnkFilePath to set
|
42 |
*/
|
43 |
public void setTnkFilePath(String tnkFilePath) |
44 |
{ |
45 |
this.tnkFilePath = tnkFilePath;
|
46 |
} |
47 |
|
48 |
/**
|
49 |
* @param licFilePath the licFilePath to set
|
50 |
*/
|
51 |
public void setLicFilePath(String licFilePath) |
52 |
{ |
53 |
this.licFilePath = licFilePath;
|
54 |
} |
55 |
|
56 |
/**
|
57 |
* @return the tnkFilePath
|
58 |
*/
|
59 |
public String getTnkFilePath() |
60 |
{ |
61 |
return tnkFilePath;
|
62 |
} |
63 |
|
64 |
/**
|
65 |
* @return the licFilePath
|
66 |
*/
|
67 |
public String getLicFilePath() |
68 |
{ |
69 |
return licFilePath;
|
70 |
} |
71 |
|
72 |
/**
|
73 |
* @return the totalToken
|
74 |
*/
|
75 |
public int getTotalToken() { |
76 |
return totalToken;
|
77 |
} |
78 |
|
79 |
/**
|
80 |
* @param totalToken the totalToken to set
|
81 |
*/
|
82 |
public void setTotalToken(int totalToken) { |
83 |
this.totalToken = totalToken;
|
84 |
} |
85 |
|
86 |
/**
|
87 |
* @return the successCount
|
88 |
*/
|
89 |
public int getSuccessCount() { |
90 |
return successCount;
|
91 |
} |
92 |
|
93 |
/**
|
94 |
* @param successCount the successCount to set
|
95 |
*/
|
96 |
public void setSuccessCount(int successCount) { |
97 |
this.successCount = successCount;
|
98 |
} |
99 |
|
100 |
/**
|
101 |
* @return the rejectedCount
|
102 |
*/
|
103 |
public int getRejectedCount() { |
104 |
return rejectedCount;
|
105 |
} |
106 |
|
107 |
/**
|
108 |
* @param rejectedCount the rejectedCount to set
|
109 |
*/
|
110 |
public void setRejectedCount(int rejectedCount) { |
111 |
this.rejectedCount = rejectedCount;
|
112 |
} |
113 |
|
114 |
} |