1 package org.kuali.ole.location.bo;
2
3 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4
5 import java.util.LinkedHashMap;
6
7
8
9
10
11 public class OleLocationLevel extends PersistableBusinessObjectBase {
12
13 private String levelId;
14 private String levelCode;
15 private String levelName;
16 private String parentLevelId;
17 private OleLocationLevel oleLocationLevel;
18 private OleLocationLevel oleLocation;
19
20
21
22
23
24 public String getLevelId() {
25 return levelId;
26 }
27
28
29
30
31
32 public void setLevelId(String levelId) {
33 this.levelId = levelId;
34 }
35
36
37
38
39
40 public String getLevelCode() {
41 return levelCode;
42 }
43
44
45
46
47
48 public void setLevelCode(String levelCode) {
49 this.levelCode = levelCode;
50 }
51
52
53
54
55
56 public String getLevelName() {
57 return levelName;
58 }
59
60
61
62
63
64 public void setLevelName(String levelName) {
65 this.levelName = levelName;
66 }
67
68
69
70
71
72 public String getParentLevelId() {
73 return parentLevelId;
74 }
75
76
77
78
79
80 public void setParentLevelId(String parentLevelId) {
81 if(!parentLevelId.equals(""))
82 this.parentLevelId = parentLevelId;
83 }
84
85
86
87
88
89 public OleLocationLevel getOleLocationLevel() {
90 return oleLocationLevel;
91 }
92
93
94
95
96
97 public void setOleLocationLevel(OleLocationLevel oleLocationLevel) {
98 this.oleLocationLevel = oleLocationLevel;
99 }
100
101
102
103
104
105 public OleLocationLevel getOleLocation() {
106 return oleLocation;
107 }
108
109
110
111
112
113 public void setOleLocation(OleLocationLevel oleLocation) {
114 this.oleLocation = oleLocation;
115 }
116
117
118
119
120
121 protected LinkedHashMap toStringMapper() {
122 LinkedHashMap toStringMap = new LinkedHashMap();
123 toStringMap.put("levelId", levelId);
124 return toStringMap;
125 }
126 }