01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.module.vendor.fixtures;
17:
18: import java.sql.Date;
19:
20: import org.kuali.core.util.KualiDecimal;
21: import org.kuali.module.vendor.bo.VendorAddress;
22: import org.kuali.module.vendor.bo.VendorContract;
23: import org.kuali.module.vendor.bo.VendorDetail;
24: import org.kuali.module.vendor.bo.VendorHeader;
25: import org.kuali.module.vendor.bo.VendorShippingSpecialCondition;
26: import org.kuali.module.vendor.bo.VendorSupplierDiversity;
27:
28: class VendorTestConstants {
29:
30: static class AddressTypes {
31: static final String poType = "PO";
32: static final String dvType = "DV";
33: static final String rmType = "RM";
34: }
35:
36: @SuppressWarnings("deprecation")
37: static class BeginEndDates {
38: static final Date FIRST_DATE = new Date(108, 1, 1); // 2008-01-01
39: static final Date LAST_DATE = new Date(109, 1, 1); // 2009-01-01
40: }
41:
42: static class ContractPOLimitAmts {
43: static KualiDecimal highLimit = new KualiDecimal(10000);
44: static KualiDecimal lowLimit = new KualiDecimal(1000);
45: }
46:
47: static class FaxNumbers {
48: static final String fax = "123 456-7890";
49: static final String defaultFormat = "123-456-7890";
50: static final String shortFax = "123 456 789";
51: }
52:
53: static class VendorParts {
54: static final String CODE1 = "C1";
55: static final String CODE2 = "C2";
56: static final String NAME = "Snow Bound";
57:
58: static VendorHeader VH = new VendorHeader();
59: static VendorSupplierDiversity VSD = new VendorSupplierDiversity();
60: static VendorDetail VD = new VendorDetail();
61: static VendorAddress VA = new VendorAddress();
62: static VendorContract VC = new VendorContract();
63: static VendorShippingSpecialCondition VSSC = new VendorShippingSpecialCondition();
64: }
65:
66: static class StatesZips {
67: static final String stateCd = "CA";
68: static final String zipCode = "47401";
69: }
70: }
|