| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.lum.lrc.dto; |
| 17 |
|
|
| 18 |
|
import java.io.Serializable; |
| 19 |
|
import java.util.Date; |
| 20 |
|
import java.util.HashMap; |
| 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.common.dto.Idable; |
| 31 |
|
import org.kuali.student.common.dto.RichTextInfo; |
| 32 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
|
| 0% |
Uncovered Elements: 36 (36) |
Complexity: 17 |
Complexity Density: 0.94 |
|
| 44 |
|
public class CreditInfo implements Serializable, Idable, HasAttributes { |
| 45 |
|
|
| 46 |
|
private static final long serialVersionUID = 1L; |
| 47 |
|
|
| 48 |
|
@XmlElement |
| 49 |
|
private String name; |
| 50 |
|
|
| 51 |
|
@XmlElement |
| 52 |
|
private RichTextInfo desc; |
| 53 |
|
|
| 54 |
|
@XmlElement |
| 55 |
|
private String value; |
| 56 |
|
|
| 57 |
|
@XmlElement |
| 58 |
|
private Date effectiveDate; |
| 59 |
|
|
| 60 |
|
@XmlElement |
| 61 |
|
private Date expirationDate; |
| 62 |
|
|
| 63 |
|
@XmlElement |
| 64 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
| 65 |
|
private Map<String, String> attributes; |
| 66 |
|
|
| 67 |
|
@XmlAttribute |
| 68 |
|
private String type; |
| 69 |
|
|
| 70 |
|
@XmlAttribute |
| 71 |
|
private String id; |
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 76 |
0
|
public String getName() {... |
| 77 |
0
|
return name; |
| 78 |
|
} |
| 79 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 80 |
0
|
public void setName(String name) {... |
| 81 |
0
|
this.name = name; |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 87 |
0
|
public RichTextInfo getDesc() {... |
| 88 |
0
|
return desc; |
| 89 |
|
} |
| 90 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 91 |
0
|
public void setDesc(RichTextInfo desc) {... |
| 92 |
0
|
this.desc = desc; |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 98 |
0
|
public String getValue() {... |
| 99 |
0
|
return value; |
| 100 |
|
} |
| 101 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 102 |
0
|
public void setValue(String value) {... |
| 103 |
0
|
this.value = value; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 109 |
0
|
public Date getEffectiveDate() {... |
| 110 |
0
|
return effectiveDate; |
| 111 |
|
} |
| 112 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 113 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
| 114 |
0
|
this.effectiveDate = effectiveDate; |
| 115 |
|
} |
| 116 |
|
|
| 117 |
|
|
| 118 |
|
|
| 119 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 120 |
0
|
public Date getExpirationDate() {... |
| 121 |
0
|
return expirationDate; |
| 122 |
|
} |
| 123 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 124 |
0
|
public void setExpirationDate(Date expirationDate) {... |
| 125 |
0
|
this.expirationDate = expirationDate; |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
|
| 129 |
|
|
| 130 |
|
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
| 131 |
0
|
public Map<String, String> getAttributes() {... |
| 132 |
0
|
if (attributes == null) { |
| 133 |
0
|
attributes = new HashMap<String, String>(); |
| 134 |
|
} |
| 135 |
0
|
return attributes; |
| 136 |
|
} |
| 137 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 138 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
| 139 |
0
|
this.attributes = attributes; |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 145 |
0
|
public String getType() {... |
| 146 |
0
|
return type; |
| 147 |
|
} |
| 148 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 149 |
0
|
public void setType(String type) {... |
| 150 |
0
|
this.type = type; |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 155 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 156 |
0
|
public String getId() {... |
| 157 |
0
|
return id; |
| 158 |
|
} |
| 159 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 160 |
0
|
public void setId(String id) {... |
| 161 |
0
|
this.id = id; |
| 162 |
|
} |
| 163 |
|
} |