1 /*
2 * Copyright 2011 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.select.businessobject;
17
18 import org.kuali.ole.module.purap.businessobject.PurApItem;
19 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20
21 import java.util.LinkedHashMap;
22
23 /**
24 * This Bussiness Object Base class is for Ole Payment Request Invoice Note
25 */
26 public class OlePaymentRequestNote extends PersistableBusinessObjectBase {
27
28 private Integer itemNoteIdentifier;
29 private Integer itemIdentifier;
30 private String note;
31
32 private PurApItem purapItem;
33
34 /**
35 * Gets the Identifier of Item Note
36 *
37 * @return itemNoteIdentifier
38 */
39 public Integer getItemNoteIdentifier() {
40 return itemNoteIdentifier;
41 }
42
43 /**
44 * Sets that Identifier value of Item Note
45 *
46 * @param itemNoteIdentifier
47 */
48 public void setItemNoteIdentifier(Integer itemNoteIdentifier) {
49 this.itemNoteIdentifier = itemNoteIdentifier;
50 }
51
52 /**
53 * Gets the Identifier Value of Item
54 *
55 * @return itemIdentifier
56 */
57 public Integer getItemIdentifier() {
58 return itemIdentifier;
59 }
60
61 /**
62 * Sets the Identifier Value of Item
63 *
64 * @param itemIdentifier
65 */
66 public void setItemIdentifier(Integer itemIdentifier) {
67 this.itemIdentifier = itemIdentifier;
68 }
69
70 /**
71 * Gets the Invoice Note description
72 *
73 * @return note
74 */
75 public String getNote() {
76 return note;
77 }
78
79 /**
80 * Gets the Invoice Note Description
81 *
82 * @param note
83 */
84 public void setNote(String note) {
85 this.note = note;
86 }
87
88 /**
89 * Gets the PurapItem
90 *
91 * @return purapItem
92 */
93 public PurApItem getPurapItem() {
94 return purapItem;
95 }
96
97 /**
98 * Sets the PurapItem
99 *
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 }