001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.module.purap.businessobject; 017 018 import java.util.List; 019 020 import org.kuali.rice.kns.bo.Note; 021 022 /** 023 * Requisition View Business Object. 024 */ 025 public class LineItemReceivingView extends AbstractRelatedView { 026 private Integer purchaseOrderIdentifier; 027 private boolean deliveryBuildingOtherIndicator; 028 public boolean isDeliveryBuildingOtherIndicator() { 029 return deliveryBuildingOtherIndicator; 030 } 031 032 public void setDeliveryBuildingOtherIndicator(boolean deliveryBuildingOtherIndicator) { 033 this.deliveryBuildingOtherIndicator = deliveryBuildingOtherIndicator; 034 } 035 public Integer getPurchaseOrderIdentifier() { 036 return purchaseOrderIdentifier; 037 } 038 039 public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) { 040 this.purchaseOrderIdentifier = purchaseOrderIdentifier; 041 } 042 043 /** 044 * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why 045 * at this point! (AAP) 046 * 047 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier() 048 */ 049 @Override 050 public Integer getPurapDocumentIdentifier() { 051 return super.getPurapDocumentIdentifier(); 052 } 053 054 @Override 055 public String getDocumentIdentifierString() { 056 return super.getDocumentIdentifierString(); 057 } 058 059 /** 060 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getNotes() 061 */ 062 @Override 063 public List<Note> getNotes() { 064 return super.getNotes(); 065 } 066 067 /** 068 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getUrl() 069 */ 070 @Override 071 public String getUrl() { 072 return super.getUrl(); 073 } 074 }