1 package org.kuali.ole.describe.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 *
28 * @return Returns the completenessId
29 */
30 public Integer getCompletenessId() {
31 return completenessId;
32 }
33
34 /**
35 * Sets the completenessId attribute value.
36 *
37 * @param completenessId The completenessId to set.
38 */
39 public void setCompletenessId(Integer completenessId) {
40 this.completenessId = completenessId;
41 }
42
43 /**
44 * Gets the completenessCode attribute.
45 *
46 * @return Returns the completenessCode
47 */
48 public String getCompletenessCode() {
49 return completenessCode;
50 }
51
52 /**
53 * Sets the completenessCode attribute value.
54 *
55 * @param completenessCode The completenessCode to set.
56 */
57 public void setCompletenessCode(String completenessCode) {
58 this.completenessCode = completenessCode;
59 }
60
61 /**
62 * Gets the completenessName attribute.
63 *
64 * @return Returns the completenessName
65 */
66 public String getCompletenessName() {
67 return completenessName;
68 }
69
70 /**
71 * Sets the completenessName attribute value.
72 *
73 * @param completenessName The completenessName to set.
74 */
75 public void setCompletenessName(String completenessName) {
76 this.completenessName = completenessName;
77 }
78
79 /**
80 * Gets the source attribute.
81 *
82 * @return Returns the source
83 */
84 public String getSource() {
85 return source;
86 }
87
88 /**
89 * Sets the source attribute value.
90 *
91 * @param source The source to set.
92 */
93 public void setSource(String source) {
94 this.source = source;
95 }
96
97 /**
98 * Gets the sourceDate attribute.
99 *
100 * @return Returns the sourceDate
101 */
102 public Date getSourceDate() {
103 return sourceDate;
104 }
105
106 /**
107 * Sets the sourceDate attribute value.
108 *
109 * @param sourceDate The sourceDate to set.
110 */
111 public void setSourceDate(Date sourceDate) {
112 this.sourceDate = sourceDate;
113 }
114
115 /**
116 * Gets the active attribute.
117 *
118 * @return Returns the active
119 */
120 public boolean isActive() {
121 return active;
122 }
123
124 /**
125 * Sets the active attribute value.
126 *
127 * @param active The active to set.
128 */
129 public void setActive(boolean active) {
130 this.active = active;
131 }
132
133 /**
134 * Gets the toStringMap attribute.
135 *
136 * @return Returns the toStringMap
137 */
138 protected LinkedHashMap toStringMapper() {
139 LinkedHashMap toStringMap = new LinkedHashMap();
140 toStringMap.put("completenessId", completenessId);
141 return toStringMap;
142 }
143 }