View Javadoc
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.rice.krad.bo.PersistableBusinessObjectBase;
19  
20  import java.util.LinkedHashMap;
21  
22  /**
23   * This class is the business object class for OLE Receiving Line Item Receipt Notes.
24   */
25  
26  public class OleReceivingLineExceptionNotes extends PersistableBusinessObjectBase {
27  
28      private Integer receivingItemExceptionId;
29      private Integer receivingLineItemIdentifier;
30      private Integer exceptionTypeId;
31      private String exceptionNotes;
32      private OleExceptionType exceptionType;
33      private OleLineItemReceivingItem receivingLineItem;
34  
35      /**
36       * Gets receiving lineitem exceptionId.
37       *
38       * @return receivingItemExceptionId.
39       */
40      public Integer getReceivingItemExceptionId() {
41          return receivingItemExceptionId;
42      }
43  
44      /**
45       * Sets receiving lineitem exceptionId.
46       *
47       * @param receivingItemExceptionId to set.
48       */
49      public void setReceivingItemExceptionId(Integer receivingItemExceptionId) {
50          this.receivingItemExceptionId = receivingItemExceptionId;
51      }
52  
53      /**
54       * Gets receiving lineitem identifier.
55       *
56       * @return receivingLineItemIdentifier.
57       */
58      public Integer getReceivingLineItemIdentifier() {
59          return receivingLineItemIdentifier;
60      }
61  
62      /**
63       * Sets receiving lineitem identifier.
64       *
65       * @param receivingLineItemIdentifier to set.
66       */
67      public void setReceivingLineItemIdentifier(Integer receivingLineItemIdentifier) {
68          this.receivingLineItemIdentifier = receivingLineItemIdentifier;
69      }
70  
71      /**
72       * Gets exception type id.
73       *
74       * @return exceptionTypeId.
75       */
76      public Integer getExceptionTypeId() {
77          return exceptionTypeId;
78      }
79  
80      /**
81       * Sets exception type id.
82       *
83       * @param exceptionTypeId to set.
84       */
85      public void setExceptionTypeId(Integer exceptionTypeId) {
86          this.exceptionTypeId = exceptionTypeId;
87      }
88  
89      /**
90       * Gets exception notes.
91       *
92       * @return exceptionNotes.
93       */
94      public String getExceptionNotes() {
95          return exceptionNotes;
96      }
97  
98      /**
99       * Sets exception notes.
100      *
101      * @param exceptionNotes to set.
102      */
103     public void setExceptionNotes(String exceptionNotes) {
104         this.exceptionNotes = exceptionNotes;
105     }
106 
107     /**
108      * Gets OleExceptionType.
109      *
110      * @return exceptionType.
111      */
112     public OleExceptionType getExceptionType() {
113         return exceptionType;
114     }
115 
116     /**
117      * Sets OleExceptionType.
118      *
119      * @param exceptionType to set.
120      */
121     public void setExceptionType(OleExceptionType exceptionType) {
122         this.exceptionType = exceptionType;
123     }
124 
125     /**
126      * Gets OleLineItemReceivingItem.
127      *
128      * @return receivingLineItem.
129      */
130     public OleLineItemReceivingItem getReceivingLineItem() {
131         return receivingLineItem;
132     }
133 
134     /**
135      * Sets OleLineItemReceivingItem.
136      *
137      * @param receivingLineItem.
138      */
139     public void setReceivingLineItem(OleLineItemReceivingItem receivingLineItem) {
140         this.receivingLineItem = receivingLineItem;
141     }
142 
143     /**
144      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
145      */
146 
147     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
148         LinkedHashMap map = new LinkedHashMap();
149         map.put("receivingLineItemIdentifier", receivingLineItemIdentifier);
150         map.put("receivingItemExceptionId", receivingItemExceptionId);
151         map.put("exceptionTypeId", exceptionTypeId);
152         map.put("exceptionNotes", exceptionNotes);
153 
154         return map;
155     }
156 }