1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.api.jaxb; |
17 | |
|
18 | |
import org.kuali.rice.core.util.jaxb.StringMapEntry; |
19 | |
|
20 | |
import javax.xml.bind.annotation.XmlAccessType; |
21 | |
import javax.xml.bind.annotation.XmlAccessorType; |
22 | |
import javax.xml.bind.annotation.XmlElement; |
23 | |
import javax.xml.bind.annotation.XmlType; |
24 | |
import java.io.Serializable; |
25 | |
import java.util.ArrayList; |
26 | |
import java.util.List; |
27 | |
import java.util.Map; |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
@XmlAccessorType(XmlAccessType.FIELD) |
36 | |
@XmlType(name="QualificationListType", propOrder={"qualifications"}) |
37 | |
public class QualificationList implements Serializable { |
38 | |
|
39 | |
private static final long serialVersionUID = 1L; |
40 | |
|
41 | |
@XmlElement(name="qualification") |
42 | |
private List<StringMapEntry> qualifications; |
43 | |
|
44 | 0 | public QualificationList () { |
45 | 0 | qualifications = new ArrayList<StringMapEntry>(); |
46 | 0 | } |
47 | |
|
48 | |
public QualificationList(Map<String, String> map) { |
49 | 0 | this(); |
50 | 0 | for (Map.Entry<String,String> tempEntry : map.entrySet()) { |
51 | 0 | qualifications.add(new StringMapEntry(tempEntry)); |
52 | |
} |
53 | 0 | } |
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
public List<StringMapEntry> getQualifications() { |
59 | 0 | return this.qualifications; |
60 | |
} |
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
public void setQualifications(List<StringMapEntry> qualifications) { |
66 | 0 | this.qualifications = qualifications; |
67 | 0 | } |
68 | |
|
69 | |
|
70 | |
} |