1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.student.lum.lu.dto; |
18 | |
|
19 | |
import org.kuali.student.core.dto.HasAttributes; |
20 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
import javax.xml.bind.annotation.XmlAttribute; |
25 | |
import javax.xml.bind.annotation.XmlElement; |
26 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
27 | |
import java.io.Serializable; |
28 | |
import java.util.HashMap; |
29 | |
import java.util.List; |
30 | |
import java.util.Map; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
@XmlAccessorType(XmlAccessType.FIELD) |
38 | 0 | public class CluAccountingInfo implements Serializable, HasAttributes { |
39 | |
|
40 | |
private static final long serialVersionUID = 1L; |
41 | |
|
42 | |
@XmlElement |
43 | |
private List<AffiliatedOrgInfo> affiliatedOrgs; |
44 | |
|
45 | |
@XmlElement |
46 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
47 | |
private Map<String, String> attributes; |
48 | |
|
49 | |
@XmlAttribute |
50 | |
private String id; |
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
public Map<String, String> getAttributes() { |
58 | |
|
59 | 0 | if (attributes == null) { |
60 | 0 | attributes = new HashMap<String, String>(); |
61 | |
} |
62 | |
|
63 | 0 | return attributes; |
64 | |
} |
65 | |
|
66 | |
public void setAttributes(Map<String, String> attributes) { |
67 | 0 | this.attributes = attributes; |
68 | 0 | } |
69 | |
|
70 | |
public List<AffiliatedOrgInfo> getAffiliatedOrgs() { |
71 | 0 | return affiliatedOrgs; |
72 | |
} |
73 | |
|
74 | |
public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) { |
75 | 0 | this.affiliatedOrgs = affiliatedOrgs; |
76 | 0 | } |
77 | |
|
78 | |
public String getId() { |
79 | 0 | return id; |
80 | |
} |
81 | |
|
82 | |
public void setId(String id) { |
83 | 0 | this.id = id; |
84 | 0 | } |
85 | |
} |