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