/* * 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 RequisitionView extends AbstractRelatedView { private Integer requisitionIdentifier; public Integer getRequisitionIdentifier() { return requisitionIdentifier; } public void setRequisitionIdentifier(Integer requisitionIdentifier) { this.requisitionIdentifier = requisitionIdentifier; } /** * 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.REQUISITION; } }