View Javadoc

1   package org.kuali.ole.patron.bo;
2   
3   import org.kuali.ole.patron.api.OleSourceContract;
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   /**
7    OleSourceBo provides OleSourceBo information through getter and setter.
8    */
9   public class OleSourceBo extends PersistableBusinessObjectBase implements OleSourceContract{
10  
11      private String oleSourceId;
12      private String oleSourceCode;
13      private String oleSourceName;
14      private String oleSourceDesc;
15      private boolean active;
16      /**
17       * Gets the value of oleSourceId property
18       * @return oleSourceId
19       */
20      public String getOleSourceId() {
21          return oleSourceId;
22      }
23      /**
24       * Sets the value for oleSourceId property
25       * @param oleSourceId
26       */
27      public void setOleSourceId(String oleSourceId) {
28          this.oleSourceId = oleSourceId;
29      }
30      /**
31       * Gets the value of oleSourceCode property
32       * @return oleSourceCode
33       */
34      public String getOleSourceCode() {
35          return oleSourceCode;
36      }
37      /**
38       * Sets the value for oleSourceCode property
39       * @param oleSourceCode
40       */
41      public void setOleSourceCode(String oleSourceCode) {
42          this.oleSourceCode = oleSourceCode;
43      }
44      /**
45       * Gets the value of oleSourceName property
46       * @return oleSourceName
47       */
48      public String getOleSourceName() {
49          return oleSourceName;
50      }
51      /**
52       * Sets the value for oleSourceName property
53       * @param oleSourceName
54       */
55      public void setOleSourceName(String oleSourceName) {
56          this.oleSourceName = oleSourceName;
57      }
58      /**
59       * Gets the value of oleSourceDesc property
60       * @return oleSourceDesc
61       */
62      public String getOleSourceDesc() {
63          return oleSourceDesc;
64      }
65      /**
66       * Sets the value for oleSourceDesc property
67       * @param oleSourceDesc
68       */
69      public void setOleSourceDesc(String oleSourceDesc) {
70          this.oleSourceDesc = oleSourceDesc;
71      }
72      /**
73       * Gets the value of active property
74       * @return active
75       */
76      public boolean isActive() {
77          return active;
78      }
79      /**
80       * Sets the value for active property
81       * @param active
82       */
83      public void setActive(boolean active) {
84          this.active = active;
85      }
86  
87  
88      @Override
89      public String getId() {
90          return this.getOleSourceId();
91      }
92  }