001/* 002 * Copyright 2007-2008 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 */ 016package org.kuali.ole.module.purap.businessobject; 017 018import org.kuali.ole.sys.OLEConstants; 019import org.kuali.rice.krad.bo.Note; 020 021import java.util.List; 022 023/** 024 * Requisition View Business Object. 025 */ 026public class LineItemReceivingView extends AbstractRelatedView { 027 private Integer purchaseOrderIdentifier; 028 private boolean deliveryBuildingOtherIndicator; 029 030 public boolean isDeliveryBuildingOtherIndicator() { 031 return deliveryBuildingOtherIndicator; 032 } 033 034 public void setDeliveryBuildingOtherIndicator(boolean deliveryBuildingOtherIndicator) { 035 this.deliveryBuildingOtherIndicator = deliveryBuildingOtherIndicator; 036 } 037 038 public Integer getPurchaseOrderIdentifier() { 039 return purchaseOrderIdentifier; 040 } 041 042 public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) { 043 this.purchaseOrderIdentifier = purchaseOrderIdentifier; 044 } 045 046 /** 047 * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why 048 * at this point! (AAP) 049 * 050 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier() 051 */ 052 @Override 053 public Integer getPurapDocumentIdentifier() { 054 return super.getPurapDocumentIdentifier(); 055 } 056 057 @Override 058 public String getDocumentIdentifierString() { 059 return super.getDocumentIdentifierString(); 060 } 061 062 /** 063 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getNotes() 064 */ 065 @Override 066 public List<Note> getNotes() { 067 return super.getNotes(); 068 } 069 070 /** 071 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getUrl() 072 */ 073 @Override 074 public String getUrl() { 075 return super.getUrl(); 076 } 077 078 /** 079 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getDocumentTypeName() 080 */ 081 @Override 082 public String getDocumentTypeName() { 083 return OLEConstants.FinancialDocumentTypeCodes.LINE_ITEM_RECEIVING; 084 } 085}