1 /* 2 * Copyright 2007 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 * Requisition View Business Object. 25 */ 26 public class RequisitionView extends AbstractRelatedView { 27 private Integer requisitionIdentifier; 28 29 public Integer getRequisitionIdentifier() { 30 return requisitionIdentifier; 31 } 32 33 public void setRequisitionIdentifier(Integer requisitionIdentifier) { 34 this.requisitionIdentifier = requisitionIdentifier; 35 } 36 37 /** 38 * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why 39 * at this point! (AAP) 40 * 41 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier() 42 */ 43 @Override 44 public Integer getPurapDocumentIdentifier() { 45 return super.getPurapDocumentIdentifier(); 46 } 47 48 @Override 49 public String getDocumentIdentifierString() { 50 return super.getDocumentIdentifierString(); 51 } 52 53 /** 54 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getNotes() 55 */ 56 @Override 57 public List<Note> getNotes() { 58 return super.getNotes(); 59 } 60 61 /** 62 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getUrl() 63 */ 64 @Override 65 public String getUrl() { 66 return super.getUrl(); 67 } 68 69 /** 70 * @see org.kuali.ole.module.purap.businessobject.AbstractRelatedView#getDocumentTypeName() 71 */ 72 @Override 73 public String getDocumentTypeName() { 74 return OLEConstants.FinancialDocumentTypeCodes.REQUISITION; 75 } 76 }