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