001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.module.gl.bo;
017:
018: import java.sql.Date;
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022: import org.kuali.core.util.KualiDecimal;
023:
024: /**
025: * Represents a batch
026: */
027: public class Batch extends PersistableBusinessObjectBase {
028: static final long serialVersionUID = -4573386698844451328L;
029:
030: private Integer batchId;
031: private Date batchDate;
032: private String batchStatus;
033: private Integer totalRecords;
034: private KualiDecimal totalAmount;
035: private String chartOfAccountsCode;
036: private String organizationCode;
037: private Date transmissionDate;
038: private Date processDate;
039: private Integer sequenceNumber;
040: private String emailAddress;
041: private String contactPerson;
042: private String campusAddress;
043: private String campusCode;
044: private String campusPhone;
045: private String organizationName;
046:
047: /**
048: *
049: */
050: public Batch() {
051: super ();
052: }
053:
054: protected LinkedHashMap toStringMapper() {
055: LinkedHashMap map = new LinkedHashMap();
056: map.put("batchId", getBatchId());
057: return map;
058: }
059:
060: public Date getBatchDate() {
061: return batchDate;
062: }
063:
064: public void setBatchDate(Date batchDate) {
065: this .batchDate = batchDate;
066: }
067:
068: public Integer getBatchId() {
069: return batchId;
070: }
071:
072: public void setBatchId(Integer batchId) {
073: this .batchId = batchId;
074: }
075:
076: public Integer getSequenceNumber() {
077: return sequenceNumber;
078: }
079:
080: public void setSequenceNumber(Integer sequenceNumber) {
081: this .sequenceNumber = sequenceNumber;
082: }
083:
084: public String getBatchStatus() {
085: return batchStatus;
086: }
087:
088: public void setBatchStatus(String batchStatus) {
089: this .batchStatus = batchStatus;
090: }
091:
092: public String getCampusAddress() {
093: return campusAddress;
094: }
095:
096: public void setCampusAddress(String campusAddress) {
097: this .campusAddress = campusAddress;
098: }
099:
100: public String getCampusCode() {
101: return campusCode;
102: }
103:
104: public void setCampusCode(String campusCode) {
105: this .campusCode = campusCode;
106: }
107:
108: public String getCampusPhone() {
109: return campusPhone;
110: }
111:
112: public void setCampusPhone(String campusPhone) {
113: this .campusPhone = campusPhone;
114: }
115:
116: public String getChartOfAccountsCode() {
117: return chartOfAccountsCode;
118: }
119:
120: public void setChartOfAccountsCode(String chartOfAccountsCode) {
121: this .chartOfAccountsCode = chartOfAccountsCode;
122: }
123:
124: public String getContactPerson() {
125: return contactPerson;
126: }
127:
128: public void setContactPerson(String contactPerson) {
129: this .contactPerson = contactPerson;
130: }
131:
132: public String getEmailAddress() {
133: return emailAddress;
134: }
135:
136: public void setEmailAddress(String emailAddress) {
137: this .emailAddress = emailAddress;
138: }
139:
140: public String getOrganizationCode() {
141: return organizationCode;
142: }
143:
144: public void setOrganizationCode(String organizationCode) {
145: this .organizationCode = organizationCode;
146: }
147:
148: public String getOrganizationName() {
149: return organizationName;
150: }
151:
152: public void setOrganizationName(String organizationName) {
153: this .organizationName = organizationName;
154: }
155:
156: public Date getProcessDate() {
157: return processDate;
158: }
159:
160: public void setProcessDate(Date processDate) {
161: this .processDate = processDate;
162: }
163:
164: public KualiDecimal getTotalAmount() {
165: return totalAmount;
166: }
167:
168: public void setTotalAmount(KualiDecimal totalAmount) {
169: this .totalAmount = totalAmount;
170: }
171:
172: public Integer getTotalRecords() {
173: return totalRecords;
174: }
175:
176: public void setTotalRecords(Integer totalRecords) {
177: this .totalRecords = totalRecords;
178: }
179:
180: public Date getTransmissionDate() {
181: return transmissionDate;
182: }
183:
184: public void setTransmissionDate(Date transmissionDate) {
185: this.transmissionDate = transmissionDate;
186: }
187: }
|