001: /*
002: * Copyright 2006-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:
017: package org.kuali.module.purap.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.Campus;
023: import org.kuali.core.bo.PersistableBusinessObjectBase;
024:
025: /**
026: * Shipment Receiving Business Object.
027: */
028: public class ShipmentReceiving extends PersistableBusinessObjectBase {
029:
030: private Integer shipmentReceivingIdentifier;
031: private Integer purchaseOrderIdentifier;
032: private String purchaseOrderGeneralDescription;
033: private String carrierCode;
034: private String shipmentTrackingNumber;
035: private Date shipmentReceivedDate;
036: private String shipmentReceivingNoteText;
037: private String vendorName;
038: private String vendorLine1Address;
039: private String vendorLine2Address;
040: private String vendorCityName;
041: private String vendorStateCode;
042: private String vendorPostalCode;
043: private String vendorCountryCode;
044: private String vendorShippingPaymentTermsCode;
045: private String deliveryCampusCode;
046: private String deliveryBuildingCode;
047: private String deliveryBuildingName;
048: private String deliveryBuildingRoomNumber;
049: private String deliveryBuildingLine1Address;
050: private String deliveryBuildingLine2Address;
051: private String deliveryCityName;
052: private String deliveryStateCode;
053: private String deliveryPostalCode;
054: private String deliveryCountryCode;
055: private String deliveryToName;
056: private String deliveryToEmailAddress;
057: private String deliveryToPhoneNumber;
058: private Date deliveryRequiredDate;
059: private String deliveryInstructionText;
060:
061: private Carrier carrier;
062: private Campus deliveryCampus;
063:
064: /**
065: * Default constructor.
066: */
067: public ShipmentReceiving() {
068:
069: }
070:
071: public Integer getShipmentReceivingIdentifier() {
072: return shipmentReceivingIdentifier;
073: }
074:
075: public void setShipmentReceivingIdentifier(
076: Integer shipmentReceivingIdentifier) {
077: this .shipmentReceivingIdentifier = shipmentReceivingIdentifier;
078: }
079:
080: public Integer getPurchaseOrderIdentifier() {
081: return purchaseOrderIdentifier;
082: }
083:
084: public void setPurchaseOrderIdentifier(
085: Integer purchaseOrderIdentifier) {
086: this .purchaseOrderIdentifier = purchaseOrderIdentifier;
087: }
088:
089: public String getPurchaseOrderGeneralDescription() {
090: return purchaseOrderGeneralDescription;
091: }
092:
093: public void setPurchaseOrderGeneralDescription(
094: String purchaseOrderGeneralDescription) {
095: this .purchaseOrderGeneralDescription = purchaseOrderGeneralDescription;
096: }
097:
098: public String getCarrierCode() {
099: return carrierCode;
100: }
101:
102: public void setCarrierCode(String carrierCode) {
103: this .carrierCode = carrierCode;
104: }
105:
106: public String getShipmentTrackingNumber() {
107: return shipmentTrackingNumber;
108: }
109:
110: public void setShipmentTrackingNumber(String shipmentTrackingNumber) {
111: this .shipmentTrackingNumber = shipmentTrackingNumber;
112: }
113:
114: public Date getShipmentReceivedDate() {
115: return shipmentReceivedDate;
116: }
117:
118: public void setShipmentReceivedDate(Date shipmentReceivedDate) {
119: this .shipmentReceivedDate = shipmentReceivedDate;
120: }
121:
122: public String getShipmentReceivingNoteText() {
123: return shipmentReceivingNoteText;
124: }
125:
126: public void setShipmentReceivingNoteText(
127: String shipmentReceivingNoteText) {
128: this .shipmentReceivingNoteText = shipmentReceivingNoteText;
129: }
130:
131: public String getVendorName() {
132: return vendorName;
133: }
134:
135: public void setVendorName(String vendorName) {
136: this .vendorName = vendorName;
137: }
138:
139: public String getVendorLine1Address() {
140: return vendorLine1Address;
141: }
142:
143: public void setVendorLine1Address(String vendorLine1Address) {
144: this .vendorLine1Address = vendorLine1Address;
145: }
146:
147: public String getVendorLine2Address() {
148: return vendorLine2Address;
149: }
150:
151: public void setVendorLine2Address(String vendorLine2Address) {
152: this .vendorLine2Address = vendorLine2Address;
153: }
154:
155: public String getVendorCityName() {
156: return vendorCityName;
157: }
158:
159: public void setVendorCityName(String vendorCityName) {
160: this .vendorCityName = vendorCityName;
161: }
162:
163: public String getVendorStateCode() {
164: return vendorStateCode;
165: }
166:
167: public void setVendorStateCode(String vendorStateCode) {
168: this .vendorStateCode = vendorStateCode;
169: }
170:
171: public String getVendorPostalCode() {
172: return vendorPostalCode;
173: }
174:
175: public void setVendorPostalCode(String vendorPostalCode) {
176: this .vendorPostalCode = vendorPostalCode;
177: }
178:
179: public String getVendorCountryCode() {
180: return vendorCountryCode;
181: }
182:
183: public void setVendorCountryCode(String vendorCountryCode) {
184: this .vendorCountryCode = vendorCountryCode;
185: }
186:
187: public String getVendorShippingPaymentTermsCode() {
188: return vendorShippingPaymentTermsCode;
189: }
190:
191: public void setVendorShippingPaymentTermsCode(
192: String vendorShippingPaymentTermsCode) {
193: this .vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
194: }
195:
196: public String getDeliveryCampusCode() {
197: return deliveryCampusCode;
198: }
199:
200: public void setDeliveryCampusCode(String deliveryCampusCode) {
201: this .deliveryCampusCode = deliveryCampusCode;
202: }
203:
204: public String getDeliveryBuildingCode() {
205: return deliveryBuildingCode;
206: }
207:
208: public void setDeliveryBuildingCode(String deliveryBuildingCode) {
209: this .deliveryBuildingCode = deliveryBuildingCode;
210: }
211:
212: public String getDeliveryBuildingName() {
213: return deliveryBuildingName;
214: }
215:
216: public void setDeliveryBuildingName(String deliveryBuildingName) {
217: this .deliveryBuildingName = deliveryBuildingName;
218: }
219:
220: public String getDeliveryBuildingRoomNumber() {
221: return deliveryBuildingRoomNumber;
222: }
223:
224: public void setDeliveryBuildingRoomNumber(
225: String deliveryBuildingRoomNumber) {
226: this .deliveryBuildingRoomNumber = deliveryBuildingRoomNumber;
227: }
228:
229: public String getDeliveryBuildingLine1Address() {
230: return deliveryBuildingLine1Address;
231: }
232:
233: public void setDeliveryBuildingLine1Address(
234: String deliveryBuildingLine1Address) {
235: this .deliveryBuildingLine1Address = deliveryBuildingLine1Address;
236: }
237:
238: public String getDeliveryBuildingLine2Address() {
239: return deliveryBuildingLine2Address;
240: }
241:
242: public void setDeliveryBuildingLine2Address(
243: String deliveryBuildingLine2Address) {
244: this .deliveryBuildingLine2Address = deliveryBuildingLine2Address;
245: }
246:
247: public String getDeliveryCityName() {
248: return deliveryCityName;
249: }
250:
251: public void setDeliveryCityName(String deliveryCityName) {
252: this .deliveryCityName = deliveryCityName;
253: }
254:
255: public String getDeliveryStateCode() {
256: return deliveryStateCode;
257: }
258:
259: public void setDeliveryStateCode(String deliveryStateCode) {
260: this .deliveryStateCode = deliveryStateCode;
261: }
262:
263: public String getDeliveryPostalCode() {
264: return deliveryPostalCode;
265: }
266:
267: public void setDeliveryPostalCode(String deliveryPostalCode) {
268: this .deliveryPostalCode = deliveryPostalCode;
269: }
270:
271: public String getDeliveryCountryCode() {
272: return deliveryCountryCode;
273: }
274:
275: public void setDeliveryCountryCode(String deliveryCountryCode) {
276: this .deliveryCountryCode = deliveryCountryCode;
277: }
278:
279: public String getDeliveryToName() {
280: return deliveryToName;
281: }
282:
283: public void setDeliveryToName(String deliveryToName) {
284: this .deliveryToName = deliveryToName;
285: }
286:
287: public String getDeliveryToEmailAddress() {
288: return deliveryToEmailAddress;
289: }
290:
291: public void setDeliveryToEmailAddress(String deliveryToEmailAddress) {
292: this .deliveryToEmailAddress = deliveryToEmailAddress;
293: }
294:
295: public String getDeliveryToPhoneNumber() {
296: return deliveryToPhoneNumber;
297: }
298:
299: public void setDeliveryToPhoneNumber(String deliveryToPhoneNumber) {
300: this .deliveryToPhoneNumber = deliveryToPhoneNumber;
301: }
302:
303: public Date getDeliveryRequiredDate() {
304: return deliveryRequiredDate;
305: }
306:
307: public void setDeliveryRequiredDate(Date deliveryRequiredDate) {
308: this .deliveryRequiredDate = deliveryRequiredDate;
309: }
310:
311: public String getDeliveryInstructionText() {
312: return deliveryInstructionText;
313: }
314:
315: public void setDeliveryInstructionText(
316: String deliveryInstructionText) {
317: this .deliveryInstructionText = deliveryInstructionText;
318: }
319:
320: public Carrier getCarrier() {
321: return carrier;
322: }
323:
324: /**
325: * Sets the carrier attribute.
326: *
327: * @param carrier The carrier to set.
328: * @deprecated
329: */
330: public void setCarrier(Carrier carrier) {
331: this .carrier = carrier;
332: }
333:
334: public Campus getDeliveryCampus() {
335: return deliveryCampus;
336: }
337:
338: /**
339: * Sets the deliveryCampus attribute.
340: *
341: * @param deliveryCampus The deliveryCampus to set.
342: * @deprecated
343: */
344: public void setDeliveryCampus(Campus deliveryCampus) {
345: this .deliveryCampus = deliveryCampus;
346: }
347:
348: /**
349: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
350: */
351: protected LinkedHashMap toStringMapper() {
352: LinkedHashMap m = new LinkedHashMap();
353: if (this .shipmentReceivingIdentifier != null) {
354: m.put("shipmentReceivingIdentifier",
355: this.shipmentReceivingIdentifier.toString());
356: }
357: return m;
358: }
359:
360: }
|