1 package org.kuali.ole.loan.api;
2
3 import org.kuali.rice.core.api.util.type.KualiInteger;
4
5 import java.sql.Date;
6 import java.sql.Timestamp;
7
8 import java.util.UUID;
9
10
11
12
13
14
15
16
17 public class OleLoanDefintionHelper {
18
19 private static final Date DueDate =new java.sql.Date((new Timestamp(System.currentTimeMillis())).getTime());
20
21 private static final Date LoanPeriodDate = new java.sql.Date((new Timestamp(System.currentTimeMillis())).getTime());
22 private static final Integer LoanPeriod = new Integer(15);
23 private static final Long VERSION_NUMBER = new Long(1);
24
25 private static final String LoanStatusId = new String("10");
26 private static final String LoanStatusCode = new String("MOCKLOANST");
27 private static final String LoanStatusName = new String("MockLoanStatusNm");
28 private static final Long LoanStatus_VERSION_NUMBER = new Long(1);
29 private static final String LoanStatus_OBJECT_ID = String.valueOf(UUID.randomUUID());
30
31 private static final String LoanTermUnitId = new String("70");
32 private static final String LoanTermUnitCode = new String("MOCKTERMCD");
33 private static final String LoanTermUnitName = new String("MockTermUnitNm");
34 private static final Long LoanTermUnit_VERSION_NUMBER = new Long(1);
35 private static final String LoanTermUnit_OBJECT_ID = String.valueOf(UUID.randomUUID());
36
37 private static final String LocationId = new String("1000");
38 private static final String LocationCode = new String("MockShelving");
39 private static final String LocationName = new String("Mock Shelving Location Name");
40 private static final String LevelId = new String("5");
41 private static final String ParentLocationId = new String("999");
42 private static final Long Location_VERSION_NUMBER = new Long(1);
43
44 private static final String LocationId1 = new String("999");
45 private static final String LocationCode1 = new String("MockCOLLECTION");
46 private static final String LocationName1 = new String("Mock Collection");
47 private static final String LevelId1 = new String("4");
48 private static final String ParentLocationId1 = new String("998");
49
50 private static final String LocationId2 = new String("998");
51 private static final String LocationCode2 = new String("MockLIBRARY");
52 private static final String LocationName2 = new String("Mock Library");
53 private static final String LevelId2 = new String("3");
54 private static final String ParentLocationId2 = new String("997");
55
56 private static final String LocationId3 = new String("997");
57 private static final String LocationCode3 = new String("MockCAMPUS");
58 private static final String LocationName3 = new String("Mock Campus");
59 private static final String LevelId3 = new String("2");
60 private static final String ParentLocationId3 = new String("996");
61
62 private static final String LocationId4 = new String("996");
63 private static final String LocationCode4 = new String("MockINSTITUTION");
64 private static final String LocationName4 = new String("Mock Institution");
65 private static final String LevelId4 = new String("1");
66 private static final String ParentLocationId4 = null;
67
68
69
70
71
72
73
74 public Long getLoanTermUnit_VERSION_NUMBER(){
75 return LoanTermUnit_VERSION_NUMBER;
76 }
77
78 public Long getLoanStatus_VERSION_NUMBER(){
79 return LoanStatus_VERSION_NUMBER;
80 }
81
82
83 public Long getLocation_VERSION_NUMBER(){
84 return Location_VERSION_NUMBER;
85 }
86
87 public String getLocationId(){
88 return LocationId;
89 }
90
91 public String getLocationCode(){
92 return LocationCode;
93 }
94
95 public String getLocationName(){
96 return LocationName;
97 }
98
99 public String getLevelId(){
100 return LevelId;
101 }
102
103 public String getParentLocationId(){
104 return ParentLocationId;
105 }
106
107
108 public Long getVersionNumber(){
109 return VERSION_NUMBER;
110 }
111
112 public Date getDueDate(){
113 return DueDate;
114 }
115
116 public Date getLoanPeriodDate(){
117 return LoanPeriodDate;
118 }
119
120 public Integer getLoanPeriod(){
121 return LoanPeriod;
122 }
123
124 public String getLoanStatusId(){
125 return LoanStatusId;
126 }
127
128 public String getLoanTermUnitId(){
129 return LoanTermUnitId;
130 }
131
132 public String getLoanTermUnitCode(){
133 return LoanTermUnitCode;
134 }
135
136 public String getLoanStatusName(){
137 return LoanStatusName;
138 }
139
140 public String getLoanStatusCode(){
141 return LoanStatusCode;
142 }
143
144 public String getLoanTermUnitName(){
145
146 return LoanTermUnitName;
147 }
148
149 public static String getLocationId1() {
150 return LocationId1;
151 }
152
153 public static String getLocationCode1() {
154 return LocationCode1;
155 }
156
157 public static String getLocationName1() {
158 return LocationName1;
159 }
160
161 public static String getLevelId1() {
162 return LevelId1;
163 }
164
165 public static String getParentLocationId1() {
166 return ParentLocationId1;
167 }
168
169 public static String getLocationId2() {
170 return LocationId2;
171 }
172
173 public static String getLocationCode2() {
174 return LocationCode2;
175 }
176
177 public static String getLocationName2() {
178 return LocationName2;
179 }
180
181 public static String getLevelId2() {
182 return LevelId2;
183 }
184
185 public static String getParentLocationId2() {
186 return ParentLocationId2;
187 }
188
189 public static String getLocationId3() {
190 return LocationId3;
191 }
192
193 public static String getLocationCode3() {
194 return LocationCode3;
195 }
196
197 public static String getLocationName3() {
198 return LocationName3;
199 }
200
201 public static String getLevelId3() {
202 return LevelId3;
203 }
204
205 public static String getParentLocationId3() {
206 return ParentLocationId3;
207 }
208
209 public static String getLocationId4() {
210 return LocationId4;
211 }
212
213 public static String getLocationCode4() {
214 return LocationCode4;
215 }
216
217 public static String getLocationName4() {
218 return LocationName4;
219 }
220
221 public static String getLevelId4() {
222 return LevelId4;
223 }
224
225 public static String getParentLocationId4() {
226 return ParentLocationId4;
227 }
228 }