1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  package org.kuali.ole.select.businessobject;
17  
18  import org.kuali.ole.coa.businessobject.Account;
19  import org.kuali.ole.coa.businessobject.OleStewardship;
20  import org.kuali.rice.core.api.mo.common.active.Inactivatable;
21  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22  
23  import java.util.LinkedHashMap;
24  
25  
26  public class OleStewardshipRequirement extends PersistableBusinessObjectBase implements Inactivatable {
27  
28  
29      private Integer stewardshipId;
30      private Integer stewardshipTypeCode;
31      private String stewardshipNote;
32      private String chartOfAccountsCode;
33      private String accountNumber;
34  
35      private OleStewardship oleStewardship;
36  
37      private Account account;
38  
39      private boolean active;
40  
41      public Integer getStewardshipId() {
42          return stewardshipId;
43      }
44  
45      public void setStewardshipId(Integer stewardshipId) {
46          this.stewardshipId = stewardshipId;
47      }
48  
49  
50      public Integer getStewardshipTypeCode() {
51          return stewardshipTypeCode;
52      }
53  
54      public void setStewardshipTypeCode(Integer stewardshipTypeCode) {
55          this.stewardshipTypeCode = stewardshipTypeCode;
56      }
57  
58      public String getStewardshipNote() {
59          return stewardshipNote;
60      }
61  
62      public void setStewardshipNote(String stewardshipNote) {
63          this.stewardshipNote = stewardshipNote;
64      }
65  
66      public String getChartOfAccountsCode() {
67          return chartOfAccountsCode;
68      }
69  
70      public void setChartOfAccountsCode(String chartOfAccountsCode) {
71          this.chartOfAccountsCode = chartOfAccountsCode;
72      }
73  
74      public String getAccountNumber() {
75          return accountNumber;
76      }
77  
78      public void setAccountNumber(String accountNumber) {
79          this.accountNumber = accountNumber;
80      }
81  
82      public OleStewardship getOleStewardship() {
83          return oleStewardship;
84      }
85  
86      public void setOleStewardship(OleStewardship oleStewardship) {
87          this.oleStewardship = oleStewardship;
88      }
89  
90      public Account getAccount() {
91          return account;
92      }
93  
94      public void setAccount(Account account) {
95          this.account = account;
96      }
97  
98      public boolean isActive() {
99          return active;
100     }
101 
102     public void setActive(boolean active) {
103         this.active = active;
104     }
105 
106 
107     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
108         LinkedHashMap m = new LinkedHashMap();
109         m.put("stewardshipId", this.stewardshipId.toString());
110         return m;
111     }
112 
113 }