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 /** 22 * OLE RequisitionNotes Base Business Object. 23 */ 24 public class OleRequisitionNotes extends PersistableBusinessObjectBase implements OleNotes { 25 26 private Integer itemNoteId; 27 private Integer itemIdentifier; 28 private Integer noteTypeId; 29 private String note; 30 31 private OleNoteType noteType; 32 private PurApItem purapItem; 33 34 /** 35 * Constructs a OleRequisitionNotesBase.java. 36 */ 37 public OleRequisitionNotes() { 38 39 } 40 41 /** 42 * get the RequisitionItem Note Id 43 * 44 * @return itemNoteId 45 * @see org.kuali.ole.select.businessobject.OleNotes#getItemNoteId() 46 */ 47 48 @Override 49 public Integer getItemNoteId() { 50 return itemNoteId; 51 } 52 53 /** 54 * set the Requisition Item Note Id 55 * 56 * @param itemNoteId 57 * @see org.kuali.ole.select.businessobject.OleNotes#setItemNoteId(java.math.BigDecimal) 58 */ 59 @Override 60 public void setItemNoteId(Integer itemNoteId) { 61 this.itemNoteId = itemNoteId; 62 63 } 64 65 /** 66 * get Item Identifier 67 * 68 * @return itemIdentifier 69 * @see org.kuali.ole.select.businessobject.OleNotes#getItemIdentifier() 70 */ 71 @Override 72 public Integer getItemIdentifier() { 73 return itemIdentifier; 74 } 75 76 /** 77 * set Item Identifier 78 * 79 * @param itemIdentifier 80 * @see org.kuali.ole.select.businessobject.OleNotes#setItemIdentifier(java.lang.Integer) 81 */ 82 @Override 83 public void setItemIdentifier(Integer itemIdentifier) { 84 this.itemIdentifier = itemIdentifier; 85 } 86 87 /** 88 * get NoteType Bussiness Object 89 * 90 * @return noteType 91 * @see org.kuali.ole.select.businessobject.OleNotes#getNoteType() 92 */ 93 @Override 94 public OleNoteType getNoteType() { 95 return noteType; 96 } 97 98 /** 99 * set NoteType Bussiness Object 100 * 101 * @param noteType 102 * @see org.kuali.ole.select.businessobject.OleNotes#setNoteType(org.kuali.ole.select.businessobject.OleNoteType) 103 */ 104 @Override 105 public void setNoteType(OleNoteType noteType) { 106 this.noteType = noteType; 107 } 108 109 /** 110 * get Requisition NoteType Id 111 * 112 * @return noteTypeId 113 * @see org.kuali.ole.select.businessobject.OleNotes#getNoteTypeId() 114 */ 115 @Override 116 public Integer getNoteTypeId() { 117 return noteTypeId; 118 } 119 120 /** 121 * set Requisition NoteTypeId 122 * 123 * @param NoteTypeId 124 * @see org.kuali.ole.select.businessobject.OleNotes#setNoteTypeId(java.math.BigDecimal) 125 */ 126 @Override 127 public void setNoteTypeId(Integer noteTypeId) { 128 this.noteTypeId = noteTypeId; 129 } 130 131 /** 132 * get Requisition Note 133 * 134 * @return note 135 * @see org.kuali.ole.select.businessobject.OleNotes#getNote() 136 */ 137 @Override 138 public String getNote() { 139 return note; 140 } 141 142 /** 143 * set Requisition Note 144 * 145 * @param Note 146 * @see org.kuali.ole.select.businessobject.OleNotes#setNote(java.lang.String) 147 */ 148 @Override 149 public void setNote(String note) { 150 this.note = note; 151 } 152 153 /** 154 * get the OleRequistionItem 155 * 156 * @return purapItem 157 * @see org.kuali.ole.select.businessobject.OleNotes#getPurapItem() 158 */ 159 @Override 160 public PurApItem getPurapItem() { 161 return purapItem; 162 } 163 164 /** 165 * set the OleRequistionItem 166 * 167 * @param purapItem 168 * @see org.kuali.ole.select.businessobject.OleNotes#setReqItem(org.kuali.ole.module.purap.businessobject.PurApItem) 169 */ 170 @Override 171 public void setPurapItem(PurApItem purapItem) { 172 this.purapItem = purapItem; 173 } 174 }