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