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 * OleEncodingLevel is business object class for Encoding Level Maintenance Document
10 */
11 public class OleEncodingLevel extends PersistableBusinessObjectBase {
12 private Integer encodingLevelId;
13 private String encodingLevelCode;
14 private String encodingLevelName;
15 private String source;
16 private Date sourceDate;
17 private boolean active;
18
19 /**
20 * Gets the encodingLevelId attribute.
21 *
22 * @return Returns the encodingLevelId
23 */
24 public Integer getEncodingLevelId() {
25 return encodingLevelId;
26 }
27
28 /**
29 * Sets the encodingLevelId attribute value.
30 *
31 * @param encodingLevelId The encodingLevelId to set.
32 */
33 public void setEncodingLevelId(Integer encodingLevelId) {
34 this.encodingLevelId = encodingLevelId;
35 }
36
37 /**
38 * Gets the active attribute.
39 *
40 * @return Returns the active
41 */
42 public boolean isActive() {
43 return active;
44 }
45
46 /**
47 * Sets the active attribute value.
48 *
49 * @param active The active to set.
50 */
51 public void setActive(boolean active) {
52 this.active = active;
53 }
54
55 /**
56 * Gets the sourceDate attribute.
57 *
58 * @return Returns the sourceDate
59 */
60 public Date getSourceDate() {
61 return sourceDate;
62 }
63
64 /**
65 * Sets the sourceDate attribute value.
66 *
67 * @param sourceDate The sourceDate to set.
68 */
69 public void setSourceDate(Date sourceDate) {
70 this.sourceDate = sourceDate;
71 }
72
73 /**
74 * Gets the source attribute.
75 *
76 * @return Returns the source
77 */
78 public String getSource() {
79 return source;
80 }
81
82 /**
83 * Sets the source attribute value.
84 *
85 * @param source The source to set.
86 */
87 public void setSource(String source) {
88 this.source = source;
89 }
90
91 /**
92 * Gets the encodingLevelName attribute.
93 *
94 * @return Returns the encodingLevelName
95 */
96 public String getEncodingLevelName() {
97 return encodingLevelName;
98 }
99
100 /**
101 * Sets the encodingLevelName attribute value.
102 *
103 * @param encodingLevelName The encodingLevelName to set.
104 */
105 public void setEncodingLevelName(String encodingLevelName) {
106 this.encodingLevelName = encodingLevelName;
107 }
108
109 /**
110 * Gets the encodingLevelCode attribute.
111 *
112 * @return Returns the encodingLevelCode
113 */
114 public String getEncodingLevelCode() {
115 return encodingLevelCode;
116 }
117
118 /**
119 * Sets the encodingLevelCode attribute value.
120 *
121 * @param encodingLevelCode The encodingLevelCode to set.
122 */
123 public void setEncodingLevelCode(String encodingLevelCode) {
124 this.encodingLevelCode = encodingLevelCode;
125 }
126
127 /**
128 * Gets the toStringMap attribute.
129 *
130 * @return Returns the toStringMap
131 */
132 protected LinkedHashMap toStringMapper() {
133 LinkedHashMap toStringMap = new LinkedHashMap();
134 toStringMap.put("encodingLevelId", encodingLevelId);
135 return toStringMap;
136 }
137 }