/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.kuali.kfs.module.purap.businessobject; import java.util.List; import org.kuali.kfs.sys.KFSConstants; import org.kuali.rice.krad.bo.Note; /** * Requisition View Business Object. */ public class LineItemReceivingView extends AbstractRelatedView { private Integer purchaseOrderIdentifier; private boolean deliveryBuildingOtherIndicator; public boolean isDeliveryBuildingOtherIndicator() { return deliveryBuildingOtherIndicator; } public void setDeliveryBuildingOtherIndicator(boolean deliveryBuildingOtherIndicator) { this.deliveryBuildingOtherIndicator = deliveryBuildingOtherIndicator; } public Integer getPurchaseOrderIdentifier() { return purchaseOrderIdentifier; } public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) { this.purchaseOrderIdentifier = purchaseOrderIdentifier; } /** * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why * at this point! (AAP) * * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier() */ @Override public Integer getPurapDocumentIdentifier() { return super.getPurapDocumentIdentifier(); } @Override public String getDocumentIdentifierString() { return super.getDocumentIdentifierString(); } /** * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getNotes() */ @Override public List<Note> getNotes() { return super.getNotes(); } /** * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getUrl() */ @Override public String getUrl() { return super.getUrl(); } /** * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getDocumentTypeName() */ @Override public String getDocumentTypeName() { return KFSConstants.FinancialDocumentTypeCodes.LINE_ITEM_RECEIVING; } }