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