1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.course.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.HashMap; |
21 | |
import java.util.List; |
22 | |
import java.util.Map; |
23 | |
|
24 | |
import javax.xml.bind.annotation.XmlAccessType; |
25 | |
import javax.xml.bind.annotation.XmlAccessorType; |
26 | |
import javax.xml.bind.annotation.XmlAttribute; |
27 | |
import javax.xml.bind.annotation.XmlElement; |
28 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
29 | |
|
30 | |
import org.kuali.student.common.dto.HasAttributes; |
31 | |
import org.kuali.student.common.dto.MetaInfo; |
32 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
33 | |
import org.kuali.student.lum.lu.dto.AffiliatedOrgInfo; |
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
@XmlAccessorType(XmlAccessType.FIELD) |
45 | 0 | public class CourseRevenueInfo implements Serializable, HasAttributes { |
46 | |
|
47 | |
private static final long serialVersionUID = 1L; |
48 | |
|
49 | |
@XmlAttribute |
50 | |
private String id; |
51 | |
|
52 | |
@XmlElement |
53 | |
private String feeType; |
54 | |
|
55 | |
@XmlElement |
56 | |
private List<AffiliatedOrgInfo> affiliatedOrgs; |
57 | |
|
58 | |
@XmlElement |
59 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
60 | |
private Map<String, String> attributes; |
61 | |
|
62 | |
@XmlElement |
63 | |
private MetaInfo metaInfo; |
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
public String getId() { |
70 | 0 | return id; |
71 | |
} |
72 | |
|
73 | |
public void setId(String id) { |
74 | 0 | this.id = id; |
75 | 0 | } |
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
public String getFeeType() { |
81 | 0 | return feeType; |
82 | |
} |
83 | |
|
84 | |
public void setFeeType(String feeType) { |
85 | 0 | this.feeType = feeType; |
86 | 0 | } |
87 | |
|
88 | |
|
89 | |
|
90 | |
|
91 | |
public List<AffiliatedOrgInfo> getAffiliatedOrgs() { |
92 | 0 | if (affiliatedOrgs == null) { |
93 | 0 | affiliatedOrgs = new ArrayList<AffiliatedOrgInfo>(0); |
94 | |
} |
95 | 0 | return affiliatedOrgs; |
96 | |
} |
97 | |
|
98 | |
public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) { |
99 | 0 | this.affiliatedOrgs = affiliatedOrgs; |
100 | 0 | } |
101 | |
|
102 | |
|
103 | |
|
104 | |
|
105 | |
public Map<String, String> getAttributes() { |
106 | 0 | if (attributes == null) { |
107 | 0 | attributes = new HashMap<String, String>(); |
108 | |
} |
109 | 0 | return attributes; |
110 | |
} |
111 | |
|
112 | |
public void setAttributes(Map<String, String> attributes) { |
113 | 0 | this.attributes = attributes; |
114 | 0 | } |
115 | |
|
116 | |
|
117 | |
|
118 | |
|
119 | |
|
120 | |
|
121 | |
public MetaInfo getMetaInfo() { |
122 | 0 | return metaInfo; |
123 | |
} |
124 | |
|
125 | |
public void setMetaInfo(MetaInfo metaInfo) { |
126 | 0 | this.metaInfo = metaInfo; |
127 | 0 | } |
128 | |
} |