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.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 CluFeeRecordInfo 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 List<AffiliatedOrgInfo> affiliatedOrgs; |
62 | |
|
63 | |
@XmlElement |
64 | |
private RichTextInfo descr; |
65 | |
|
66 | |
@XmlElement |
67 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
68 | |
private Map<String, String> attributes; |
69 | |
|
70 | |
@XmlElement |
71 | |
private MetaInfo metaInfo; |
72 | |
|
73 | |
@XmlAttribute |
74 | |
private String id; |
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
public String getFeeType() { |
80 | 0 | return feeType; |
81 | |
} |
82 | |
|
83 | |
public void setFeeType(String feeType) { |
84 | 0 | this.feeType = feeType; |
85 | 0 | } |
86 | |
|
87 | |
|
88 | |
|
89 | |
|
90 | |
public String getRateType() { |
91 | 0 | return rateType; |
92 | |
} |
93 | |
|
94 | |
public void setRateType(String rateType) { |
95 | 0 | this.rateType = rateType; |
96 | 0 | } |
97 | |
|
98 | |
|
99 | |
|
100 | |
|
101 | |
public List<CurrencyAmountInfo> getFeeAmounts() { |
102 | 0 | if(feeAmounts==null){ |
103 | 0 | feeAmounts = new ArrayList<CurrencyAmountInfo>(); |
104 | |
} |
105 | 0 | return feeAmounts; |
106 | |
} |
107 | |
|
108 | |
public void setFeeAmounts(List<CurrencyAmountInfo> feeAmounts) { |
109 | 0 | this.feeAmounts = feeAmounts; |
110 | 0 | } |
111 | |
|
112 | |
|
113 | |
|
114 | |
|
115 | |
public List<AffiliatedOrgInfo> getAffiliatedOrgs() { |
116 | 0 | if (affiliatedOrgs == null) { |
117 | 0 | affiliatedOrgs = new ArrayList<AffiliatedOrgInfo>(0); |
118 | |
} |
119 | 0 | return affiliatedOrgs; |
120 | |
} |
121 | |
|
122 | |
public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) { |
123 | 0 | this.affiliatedOrgs = affiliatedOrgs; |
124 | 0 | } |
125 | |
|
126 | |
|
127 | |
|
128 | |
|
129 | |
public RichTextInfo getDescr() { |
130 | 0 | return descr; |
131 | |
} |
132 | |
|
133 | |
public void setDescr(RichTextInfo descr) { |
134 | 0 | this.descr = descr; |
135 | 0 | } |
136 | |
|
137 | |
|
138 | |
|
139 | |
|
140 | |
public Map<String, String> getAttributes() { |
141 | 0 | if (attributes == null) { |
142 | 0 | attributes = new HashMap<String, String>(); |
143 | |
} |
144 | 0 | return attributes; |
145 | |
} |
146 | |
|
147 | |
public void setAttributes(Map<String, String> attributes) { |
148 | 0 | this.attributes = attributes; |
149 | 0 | } |
150 | |
|
151 | |
|
152 | |
|
153 | |
|
154 | |
|
155 | |
|
156 | |
public MetaInfo getMetaInfo() { |
157 | 0 | return metaInfo; |
158 | |
} |
159 | |
|
160 | |
public void setMetaInfo(MetaInfo metaInfo) { |
161 | 0 | this.metaInfo = metaInfo; |
162 | 0 | } |
163 | |
|
164 | |
|
165 | |
|
166 | |
|
167 | |
public String getId() { |
168 | 0 | return id; |
169 | |
} |
170 | |
|
171 | |
public void setId(String id) { |
172 | 0 | this.id = id; |
173 | 0 | } |
174 | |
} |