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.core.api.mo.common.active.MutableInactivatable;
19  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
20  
21  import java.math.BigDecimal;
22  import java.util.LinkedHashMap;
23  
24  public class OleLoadError extends PersistableBusinessObjectBase implements MutableInactivatable {
25  
26      private String error;
27      private BigDecimal errorId;
28      private boolean active;
29  
30      public String getError() {
31          return error;
32      }
33  
34      public void setError(String error) {
35          this.error = error;
36      }
37  
38      public boolean isActive() {
39          return active;
40      }
41  
42      public void setActive(boolean active) {
43          this.active = active;
44      }
45  
46      public BigDecimal getErrorId() {
47          return errorId;
48      }
49  
50      public void setErrorId(BigDecimal errorId) {
51          this.errorId = errorId;
52      }
53  
54      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
55          LinkedHashMap m = new LinkedHashMap();
56          m.put("error", this.error);
57          return m;
58      }
59  
60  
61  }