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 * Electronic invoice View Business Object. 024 */ 025 public class ElectronicInvoiceRejectView extends AbstractRelatedView { 026 027 private Integer paymentRequestIdentifier; 028 private Integer purchaseOrderIdentifier; 029 030 @Override 031 public String getDocumentIdentifierString() { 032 return getDocumentNumber(); 033 } 034 035 /** 036 * Gets the paymentRequestIdentifier attribute. 037 * @return Returns the paymentRequestIdentifier. 038 */ 039 public Integer getPaymentRequestIdentifier() { 040 return paymentRequestIdentifier; 041 } 042 043 /** 044 * Sets the paymentRequestIdentifier attribute value. 045 * @param paymentRequestIdentifier The paymentRequestIdentifier to set. 046 */ 047 public void setPaymentRequestIdentifier(Integer paymentRequestIdentifier) { 048 this.paymentRequestIdentifier = paymentRequestIdentifier; 049 } 050 051 public Integer getPurchaseOrderIdentifier() { 052 return purchaseOrderIdentifier; 053 } 054 055 public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) { 056 this.purchaseOrderIdentifier = purchaseOrderIdentifier; 057 } 058 059 /** 060 * The next three methods are overridden but shouldn't be! If they aren't 061 * overridden, they don't show up in the tag, not sure why at this point! (AAP) 062 * 063 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier() 064 */ 065 @Override 066 public Integer getPurapDocumentIdentifier() { 067 return super.getPurapDocumentIdentifier(); 068 } 069 070 /** 071 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getNotes() 072 */ 073 @Override 074 public List<Note> getNotes() { 075 return super.getNotes(); 076 } 077 078 /** 079 * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getUrl() 080 */ 081 @Override 082 public String getUrl() { 083 return super.getUrl(); 084 } 085 086 }