1 /*
2 * Copyright 2007-2008 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
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.ole.module.purap.businessobject;
17
18 import org.kuali.ole.sys.OLEConstants;
19 import org.kuali.rice.krad.bo.Note;
20
21 import java.util.List;
22
23 /**
24 * Bulk Receiving View Business Object.
25 */
26 public class BulkReceivingView extends AbstractRelatedView {
27 private Integer purchaseOrderIdentifier;
28 private boolean deliveryBuildingOtherIndicator;
29
30 public boolean isDeliveryBuildingOtherIndicator() {
31 return deliveryBuildingOtherIndicator;
32 }
33
34 public void setDeliveryBuildingOtherIndicator(boolean deliveryBuildingOtherIndicator) {
35 this.deliveryBuildingOtherIndicator = deliveryBuildingOtherIndicator;
36 }
37
38 public Integer getPurchaseOrderIdentifier() {
39 return purchaseOrderIdentifier;
40 }
41
42 public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) {
43 this.purchaseOrderIdentifier = purchaseOrderIdentifier;
44 }
45
46 /**
47 * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why
48 * at this point! (AAP)
49 *
50 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier()
51 */
52 @Override
53 public Integer getPurapDocumentIdentifier() {
54 return super.getPurapDocumentIdentifier();
55 }
56
57 @Override
58 public String getDocumentIdentifierString() {
59 return super.getDocumentIdentifierString();
60 }
61
62 /**
63 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getNotes()
64 */
65 @Override
66 public List<Note> getNotes() {
67 return super.getNotes();
68 }
69
70 /**
71 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getUrl()
72 */
73 @Override
74 public String getUrl() {
75 return super.getUrl();
76 }
77
78 /**
79 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getDocumentTypeName()
80 */
81 @Override
82 public String getDocumentTypeName() {
83 return OLEConstants.FinancialDocumentTypeCodes.BULK_RECEIVING;
84 }
85 }