1 | |
package org.kuali.student.core.enumerationmanagement.bo; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.LinkedHashMap; |
5 | |
import java.util.List; |
6 | |
|
7 | |
import org.kuali.student.core.bo.KsInactivatableFromToBase; |
8 | |
|
9 | |
public class Enumeration extends KsInactivatableFromToBase { |
10 | |
|
11 | |
private static final long serialVersionUID = 1L; |
12 | |
|
13 | |
|
14 | |
private String name; |
15 | |
private String description; |
16 | |
|
17 | |
List<EnumeratedValue> enumeratedValueList; |
18 | |
|
19 | |
|
20 | 0 | public Enumeration() { |
21 | 0 | enumeratedValueList = new ArrayList<EnumeratedValue>(); |
22 | 0 | } |
23 | |
|
24 | |
@Override |
25 | |
protected LinkedHashMap<String,Object> toStringMapper() { |
26 | 0 | LinkedHashMap<String, Object> map = super.toStringMapper(); |
27 | |
|
28 | 0 | map.put("name", name); |
29 | 0 | map.put("description", description); |
30 | 0 | map.put("activeFromDate", activeFromDate); |
31 | 0 | map.put("activeToDate", activeToDate); |
32 | |
|
33 | 0 | return map; |
34 | |
} |
35 | |
|
36 | |
|
37 | |
public String getName() { |
38 | 0 | return name; |
39 | |
} |
40 | |
|
41 | |
public void setName(String name) { |
42 | 0 | this.name = name; |
43 | 0 | } |
44 | |
|
45 | |
public String getDescription() { |
46 | 0 | return description; |
47 | |
} |
48 | |
|
49 | |
public void setDescription(String description) { |
50 | 0 | this.description = description; |
51 | 0 | } |
52 | |
|
53 | |
public List<EnumeratedValue> getEnumeratedValueList() { |
54 | 0 | return enumeratedValueList; |
55 | |
} |
56 | |
|
57 | |
public void setEnumeratedValueList(List<EnumeratedValue> enumerationValueList) { |
58 | 0 | this.enumeratedValueList = enumerationValueList; |
59 | 0 | } |
60 | |
|
61 | |
} |