View Javadoc
1   package org.kuali.ole.deliver.bo;
2   
3   import org.kuali.ole.deliver.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      /**
18       * Gets the value of oleSourceId property
19       *
20       * @return oleSourceId
21       */
22      public String getOleSourceId() {
23          return oleSourceId;
24      }
25  
26      /**
27       * Sets the value for oleSourceId property
28       *
29       * @param oleSourceId
30       */
31      public void setOleSourceId(String oleSourceId) {
32          this.oleSourceId = oleSourceId;
33      }
34  
35      /**
36       * Gets the value of oleSourceCode property
37       *
38       * @return oleSourceCode
39       */
40      public String getOleSourceCode() {
41          return oleSourceCode;
42      }
43  
44      /**
45       * Sets the value for oleSourceCode property
46       *
47       * @param oleSourceCode
48       */
49      public void setOleSourceCode(String oleSourceCode) {
50          this.oleSourceCode = oleSourceCode;
51      }
52  
53      /**
54       * Gets the value of oleSourceName property
55       *
56       * @return oleSourceName
57       */
58      public String getOleSourceName() {
59          return oleSourceName;
60      }
61  
62      /**
63       * Sets the value for oleSourceName property
64       *
65       * @param oleSourceName
66       */
67      public void setOleSourceName(String oleSourceName) {
68          this.oleSourceName = oleSourceName;
69      }
70  
71      /**
72       * Gets the value of oleSourceDesc property
73       *
74       * @return oleSourceDesc
75       */
76      public String getOleSourceDesc() {
77          return oleSourceDesc;
78      }
79  
80      /**
81       * Sets the value for oleSourceDesc property
82       *
83       * @param oleSourceDesc
84       */
85      public void setOleSourceDesc(String oleSourceDesc) {
86          this.oleSourceDesc = oleSourceDesc;
87      }
88  
89      /**
90       * Gets the value of active property
91       *
92       * @return active
93       */
94      public boolean isActive() {
95          return active;
96      }
97  
98      /**
99       * Sets the value for active property
100      *
101      * @param active
102      */
103     public void setActive(boolean active) {
104         this.active = active;
105     }
106 
107 
108     @Override
109     public String getId() {
110         return this.getOleSourceId();
111     }
112 }