View Javadoc

1   package org.kuali.ole.catalog.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.sql.Date;
6   import java.util.LinkedHashMap;
7   
8   /**
9    * OleCompleteness is business object class for Completeness Maintenance Document
10   */
11  public class OleCompleteness extends PersistableBusinessObjectBase {
12      private Integer completenessId;
13      private String completenessCode;
14      private String completenessName;
15      private String source;
16      private Date sourceDate;
17      private boolean active;
18  
19      /**
20       * Default constructor.
21       */
22      public OleCompleteness() {
23      }
24  
25      /**
26       *  Gets the completenessId attribute.
27       * @return  Returns the completenessId
28       */
29      public Integer getCompletenessId() {
30          return completenessId;
31      }
32  
33      /**
34       * Sets the completenessId attribute value.
35       * @param completenessId The completenessId to set.
36       */
37      public void setCompletenessId(Integer completenessId) {
38          this.completenessId = completenessId;
39      }
40  
41      /**
42       *  Gets the completenessCode attribute.
43       * @return  Returns the completenessCode
44       */
45      public String getCompletenessCode() {
46          return completenessCode;
47      }
48  
49      /**
50       * Sets the completenessCode attribute value.
51       * @param completenessCode The completenessCode to set.
52       */
53      public void setCompletenessCode(String completenessCode) {
54          this.completenessCode = completenessCode;
55      }
56  
57      /**
58       *  Gets the completenessName attribute.
59       * @return  Returns the completenessName
60       */
61      public String getCompletenessName() {
62          return completenessName;
63      }
64  
65      /**
66       * Sets the completenessName attribute value.
67       * @param completenessName The completenessName to set.
68       */
69      public void setCompletenessName(String completenessName) {
70          this.completenessName = completenessName;
71      }
72  
73      /**
74       *  Gets the source attribute.
75       * @return  Returns the source
76       */
77      public String getSource() {
78          return source;
79      }
80  
81      /**
82       * Sets the source attribute value.
83       * @param source The source to set.
84       */
85      public void setSource(String source) {
86          this.source = source;
87      }
88  
89      /**
90       *  Gets the sourceDate attribute.
91       * @return  Returns the sourceDate
92       */
93      public Date getSourceDate() {
94          return sourceDate;
95      }
96  
97      /**
98       * Sets the sourceDate attribute value.
99       * @param sourceDate The sourceDate to set.
100      */
101     public void setSourceDate(Date sourceDate) {
102         this.sourceDate = sourceDate;
103     }
104 
105     /**
106      *  Gets the active attribute.
107      * @return  Returns the active
108      */public boolean isActive() {
109         return active;
110     }
111 
112     /**
113      * Sets the active attribute value.
114      * @param active The active to set.
115      */
116     public void setActive(boolean active) {
117         this.active = active;
118     }
119 
120     /**
121      *  Gets the toStringMap attribute.
122      * @return  Returns the toStringMap
123      */
124     protected LinkedHashMap toStringMapper() {
125         LinkedHashMap toStringMap = new LinkedHashMap();
126         toStringMap.put("completenessId", completenessId);
127         return toStringMap;
128     }
129 }