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 */ 016package org.kuali.ole.select.businessobject; 017 018import org.kuali.ole.module.purap.businessobject.PurApItem; 019import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 020 021import java.util.LinkedHashMap; 022 023/** 024 * This Bussiness Object Base class is for Ole Invoice Invoice Note 025 */ 026public class OleInvoiceNote extends PersistableBusinessObjectBase { 027 028 private Integer itemNoteIdentifier; 029 private Integer itemIdentifier; 030 private String note; 031 032 private PurApItem purapItem; 033 034 /** 035 * Gets the Identifier of Item Note 036 * 037 * @return itemNoteIdentifier 038 */ 039 public Integer getItemNoteIdentifier() { 040 return itemNoteIdentifier; 041 } 042 043 /** 044 * Sets that Identifier value of Item Note 045 * 046 * @param itemNoteIdentifier 047 */ 048 public void setItemNoteIdentifier(Integer itemNoteIdentifier) { 049 this.itemNoteIdentifier = itemNoteIdentifier; 050 } 051 052 /** 053 * Gets the Identifier Value of Item 054 * 055 * @return itemIdentifier 056 */ 057 public Integer getItemIdentifier() { 058 return itemIdentifier; 059 } 060 061 /** 062 * Sets the Identifier Value of Item 063 * 064 * @param itemIdentifier 065 */ 066 public void setItemIdentifier(Integer itemIdentifier) { 067 this.itemIdentifier = itemIdentifier; 068 } 069 070 /** 071 * Gets the Invoice Note description 072 * 073 * @return note 074 */ 075 public String getNote() { 076 return note; 077 } 078 079 /** 080 * Gets the Invoice Note Description 081 * 082 * @param note 083 */ 084 public void setNote(String note) { 085 this.note = note; 086 } 087 088 /** 089 * Gets the PurapItem 090 * 091 * @return purapItem 092 */ 093 public PurApItem getPurapItem() { 094 return purapItem; 095 } 096 097 /** 098 * Sets the PurapItem 099 * 100 * @param purapItem 101 */ 102 public void setPurapItem(PurApItem purapItem) { 103 this.purapItem = purapItem; 104 } 105 106 /** 107 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper() 108 */ 109 110 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 111 LinkedHashMap map = new LinkedHashMap(); 112 map.put("itemNoteIdentfier", itemNoteIdentifier); 113 map.put("itemIdentifier", itemIdentifier); 114 map.put("note", note); 115 return null; 116 } 117}