1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  package org.kuali.ole.vnd.businessobject;
17  
18  import java.math.BigDecimal;
19  import java.util.Date;
20  
21  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  
25  
26  
27  public class OleExchangeRate extends PersistableBusinessObjectBase implements MutableInactivatable  {
28  
29      private Long exchangeRateCode;
30      private BigDecimal exchangeRate;
31      private Long currencyTypeId;
32      private String exchangeRateSource;
33      private Date exchangeRateDate;
34      private boolean active;
35  
36      private OleCurrencyType currencyType;
37  
38  
39  
40      public Long getExchangeRateCode() {
41          return exchangeRateCode;
42      }
43  
44      public void setExchangeRateCode(Long exchangeRateCode) {
45          this.exchangeRateCode = exchangeRateCode;
46      }
47  
48      public BigDecimal getExchangeRate() {
49          return exchangeRate;
50      }
51  
52      public void setExchangeRate(BigDecimal exchangeRate) {
53          this.exchangeRate = exchangeRate;
54      }
55  
56      public Long getCurrencyTypeId() {
57          return currencyTypeId;
58      }
59  
60      public void setCurrencyTypeId(Long currencyTypeId) {
61          this.currencyTypeId = currencyTypeId;
62      }
63  
64      public String getExchangeRateSource() {
65          return exchangeRateSource;
66      }
67  
68      public void setExchangeRateSource(String exchangeRateSource) {
69          this.exchangeRateSource = exchangeRateSource;
70      }
71  
72      public Date getExchangeRateDate() {
73          return exchangeRateDate;
74      }
75  
76      public void setExchangeRateDate(Date exchangeRateDate) {
77          this.exchangeRateDate = exchangeRateDate;
78      }
79  
80      public OleCurrencyType getCurrencyType() {
81          return currencyType;
82      }
83  
84      public void setCurrencyType(OleCurrencyType currencyType) {
85          this.currencyType = currencyType;
86      }
87  
88      @Override
89      public boolean isActive() {
90          return active;
91      }
92  
93      @Override
94      public void setActive(boolean active) {
95          this.active = active;
96      }
97  
98  }