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.CurrencyAmountInfo; |
31 | |
import org.kuali.student.common.dto.HasAttributes; |
32 | |
import org.kuali.student.common.dto.Idable; |
33 | |
import org.kuali.student.common.dto.MetaInfo; |
34 | |
import org.kuali.student.common.dto.RichTextInfo; |
35 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
@XmlAccessorType(XmlAccessType.FIELD) |
47 | 0 | public class CourseFeeInfo implements Serializable, Idable, HasAttributes { |
48 | |
|
49 | |
private static final long serialVersionUID = 1L; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String feeType; |
53 | |
|
54 | |
@XmlElement |
55 | |
private String rateType; |
56 | |
|
57 | |
@XmlElement |
58 | |
private List<CurrencyAmountInfo> feeAmounts; |
59 | |
|
60 | |
@XmlElement |
61 | |
private RichTextInfo descr; |
62 | |
|
63 | |
@XmlElement |
64 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
65 | |
private Map<String, String> attributes; |
66 | |
|
67 | |
@XmlElement |
68 | |
private MetaInfo metaInfo; |
69 | |
|
70 | |
@XmlAttribute |
71 | |
private String id; |
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
public String getFeeType() { |
77 | 0 | return feeType; |
78 | |
} |
79 | |
|
80 | |
public void setFeeType(String feeType) { |
81 | 0 | this.feeType = feeType; |
82 | 0 | } |
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
public String getRateType() { |
88 | 0 | return rateType; |
89 | |
} |
90 | |
|
91 | |
public void setRateType(String rateType) { |
92 | 0 | this.rateType = rateType; |
93 | 0 | } |
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
public List<CurrencyAmountInfo> getFeeAmounts() { |
99 | 0 | if (feeAmounts == null) { |
100 | 0 | feeAmounts = new ArrayList<CurrencyAmountInfo>(0); |
101 | |
} |
102 | 0 | return feeAmounts; |
103 | |
} |
104 | |
|
105 | |
public void setFeeAmounts(List<CurrencyAmountInfo> feeAmounts) { |
106 | 0 | this.feeAmounts = feeAmounts; |
107 | 0 | } |
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
public RichTextInfo getDescr() { |
113 | 0 | return descr; |
114 | |
} |
115 | |
|
116 | |
public void setDescr(RichTextInfo descr) { |
117 | 0 | this.descr = descr; |
118 | 0 | } |
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
public Map<String, String> getAttributes() { |
124 | 0 | if (attributes == null) { |
125 | 0 | attributes = new HashMap<String, String>(); |
126 | |
} |
127 | 0 | return attributes; |
128 | |
} |
129 | |
|
130 | |
public void setAttributes(Map<String, String> attributes) { |
131 | 0 | this.attributes = attributes; |
132 | 0 | } |
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
public MetaInfo getMetaInfo() { |
138 | 0 | return metaInfo; |
139 | |
} |
140 | |
|
141 | |
public void setMetaInfo(MetaInfo metaInfo) { |
142 | 0 | this.metaInfo = metaInfo; |
143 | 0 | } |
144 | |
|
145 | |
|
146 | |
|
147 | |
|
148 | |
public String getId() { |
149 | 0 | return id; |
150 | |
} |
151 | |
|
152 | |
public void setId(String id) { |
153 | 0 | this.id = id; |
154 | 0 | } |
155 | |
} |