| 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.Date; | 
            
  
    | 21 |  | import java.util.HashMap; | 
            
  
    | 22 |  | import java.util.List; | 
            
  
    | 23 |  | import java.util.Map; | 
            
  
    | 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 |  |  | 
            
  
    | 31 |  | import org.kuali.student.core.dto.HasAttributes; | 
            
  
    | 32 |  | import org.kuali.student.core.dto.Idable; | 
            
  
    | 33 |  | import org.kuali.student.core.dto.MetaInfo; | 
            
  
    | 34 |  | import org.kuali.student.core.dto.RichTextInfo; | 
            
  
    | 35 |  | import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | 
            
  
    | 36 |  |  | 
            
  
    | 37 |  |  | 
            
  
    | 38 |  |  | 
            
  
    | 39 |  |  | 
            
  
    | 40 |  | @XmlAccessorType(XmlAccessType.FIELD) | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 60 (60) | Complexity: 29 | Complexity Density: 0.97 |  | 
  
  
    | 41 |  | public class CluSetTreeViewInfo implements Serializable, Idable, HasAttributes { | 
            
  
    | 42 |  |  | 
            
  
    | 43 |  | private static final long serialVersionUID = 1L; | 
            
  
    | 44 |  |  | 
            
  
    | 45 |  | @XmlElement | 
            
  
    | 46 |  | private String name; | 
            
  
    | 47 |  |  | 
            
  
    | 48 |  | @XmlElement | 
            
  
    | 49 |  | private RichTextInfo descr; | 
            
  
    | 50 |  |  | 
            
  
    | 51 |  | @XmlElement | 
            
  
    | 52 |  | private Date effectiveDate; | 
            
  
    | 53 |  |  | 
            
  
    | 54 |  | @XmlElement | 
            
  
    | 55 |  | private Date expirationDate; | 
            
  
    | 56 |  |  | 
            
  
    | 57 |  | @XmlElement | 
            
  
    | 58 |  | private String adminOrg; | 
            
  
    | 59 |  |  | 
            
  
    | 60 |  | @XmlElement | 
            
  
    | 61 |  | private Boolean isReusable; | 
            
  
    | 62 |  |  | 
            
  
    | 63 |  | @XmlElement | 
            
  
    | 64 |  | private Boolean isReferenceable; | 
            
  
    | 65 |  |  | 
            
  
    | 66 |  | @XmlElement | 
            
  
    | 67 |  | private List<CluSetTreeViewInfo> cluSets; | 
            
  
    | 68 |  |  | 
            
  
    | 69 |  | @XmlElement | 
            
  
    | 70 |  | private List<CluInfo> clus; | 
            
  
    | 71 |  |  | 
            
  
    | 72 |  | @XmlElement | 
            
  
    | 73 |  | @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | 
            
  
    | 74 |  | private Map<String, String> attributes; | 
            
  
    | 75 |  |  | 
            
  
    | 76 |  | @XmlElement | 
            
  
    | 77 |  | private MetaInfo metaInfo; | 
            
  
    | 78 |  |  | 
            
  
    | 79 |  | @XmlAttribute | 
            
  
    | 80 |  | private String type; | 
            
  
    | 81 |  |  | 
            
  
    | 82 |  | @XmlAttribute | 
            
  
    | 83 |  | private String state; | 
            
  
    | 84 |  |  | 
            
  
    | 85 |  | @XmlAttribute | 
            
  
    | 86 |  | private String id; | 
            
  
    | 87 |  |  | 
            
  
    | 88 |  |  | 
            
  
    | 89 |  |  | 
            
  
    | 90 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 91 | 0 |  public String getName() {... | 
            
  
    | 92 | 0 | return name; | 
            
  
    | 93 |  | } | 
            
  
    | 94 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 95 | 0 |  public void setName(String name) {... | 
            
  
    | 96 | 0 | this.name = name; | 
            
  
    | 97 |  | } | 
            
  
    | 98 |  |  | 
            
  
    | 99 |  |  | 
            
  
    | 100 |  |  | 
            
  
    | 101 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 102 | 0 |  public RichTextInfo getDescr() {... | 
            
  
    | 103 | 0 | return descr; | 
            
  
    | 104 |  | } | 
            
  
    | 105 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 106 | 0 |  public void setDescr(RichTextInfo descr) {... | 
            
  
    | 107 | 0 | this.descr = descr; | 
            
  
    | 108 |  | } | 
            
  
    | 109 |  |  | 
            
  
    | 110 |  |  | 
            
  
    | 111 |  |  | 
            
  
    | 112 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 113 | 0 |  public Date getEffectiveDate() {... | 
            
  
    | 114 | 0 | return effectiveDate; | 
            
  
    | 115 |  | } | 
            
  
    | 116 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 117 | 0 |  public void setEffectiveDate(Date effectiveDate) {... | 
            
  
    | 118 | 0 | this.effectiveDate = effectiveDate; | 
            
  
    | 119 |  | } | 
            
  
    | 120 |  |  | 
            
  
    | 121 |  |  | 
            
  
    | 122 |  |  | 
            
  
    | 123 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 124 | 0 |  public Date getExpirationDate() {... | 
            
  
    | 125 | 0 | return expirationDate; | 
            
  
    | 126 |  | } | 
            
  
    | 127 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 128 | 0 |  public void setExpirationDate(Date expirationDate) {... | 
            
  
    | 129 | 0 | this.expirationDate = expirationDate; | 
            
  
    | 130 |  | } | 
            
  
    | 131 |  |  | 
            
  
    | 132 |  |  | 
            
  
    | 133 |  |  | 
            
  
    | 134 |  |  | 
            
  
    | 135 |  |  | 
            
  
    | 136 |  |  | 
            
  
    | 137 |  |  | 
            
  
    | 138 |  |  | 
            
  
    | 139 |  |  | 
            
  
    | 140 |  |  | 
            
  
    | 141 |  |  | 
            
  
    | 142 |  |  | 
            
  
    | 143 |  |  | 
            
  
    | 144 |  |  | 
            
  
    | 145 |  |  | 
            
  
    | 146 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 5 (5) | Complexity: 2 | Complexity Density: 0.67 |  | 
  
  
    | 147 | 0 |  public Map<String, String> getAttributes() {... | 
            
  
    | 148 | 0 | if (attributes == null) { | 
            
  
    | 149 | 0 | attributes = new HashMap<String, String>(); | 
            
  
    | 150 |  | } | 
            
  
    | 151 | 0 | return attributes; | 
            
  
    | 152 |  | } | 
            
  
    | 153 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 154 | 0 |  public void setAttributes(Map<String, String> attributes) {... | 
            
  
    | 155 | 0 | this.attributes = attributes; | 
            
  
    | 156 |  | } | 
            
  
    | 157 |  |  | 
            
  
    | 158 |  |  | 
            
  
    | 159 |  |  | 
            
  
    | 160 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 161 | 0 |  public MetaInfo getMetaInfo() {... | 
            
  
    | 162 | 0 | return metaInfo; | 
            
  
    | 163 |  | } | 
            
  
    | 164 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 165 | 0 |  public void setMetaInfo(MetaInfo metaInfo) {... | 
            
  
    | 166 | 0 | this.metaInfo = metaInfo; | 
            
  
    | 167 |  | } | 
            
  
    | 168 |  |  | 
            
  
    | 169 |  |  | 
            
  
    | 170 |  |  | 
            
  
    | 171 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 172 | 0 |  public String getId() {... | 
            
  
    | 173 | 0 | return id; | 
            
  
    | 174 |  | } | 
            
  
    | 175 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 176 | 0 |  public void setId(String id) {... | 
            
  
    | 177 | 0 | this.id = id; | 
            
  
    | 178 |  | } | 
            
  
    | 179 |  |  | 
            
  
    | 180 |  |  | 
            
  
    | 181 |  |  | 
            
  
    | 182 |  |  | 
            
  
    | 183 |  |  | 
            
  
    | 184 |  | @return | 
            
  
    | 185 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 186 | 0 |  public String getType() {... | 
            
  
    | 187 | 0 | return type; | 
            
  
    | 188 |  | } | 
            
  
    | 189 |  |  | 
            
  
    | 190 |  |  | 
            
  
    | 191 |  |  | 
            
  
    | 192 |  |  | 
            
  
    | 193 |  |  | 
            
  
    | 194 |  | @param | 
            
  
    | 195 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 196 | 0 |  public void setType(String type) {... | 
            
  
    | 197 | 0 | this.type = type; | 
            
  
    | 198 |  | } | 
            
  
    | 199 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 200 | 0 |  public String getState() {... | 
            
  
    | 201 | 0 | return state; | 
            
  
    | 202 |  | } | 
            
  
    | 203 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 204 | 0 |  public void setState(String state) {... | 
            
  
    | 205 | 0 | this.state = state; | 
            
  
    | 206 |  | } | 
            
  
    | 207 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 208 | 0 |  public String getAdminOrg() {... | 
            
  
    | 209 | 0 | return adminOrg; | 
            
  
    | 210 |  | } | 
            
  
    | 211 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 212 | 0 |  public void setAdminOrg(String adminOrg) {... | 
            
  
    | 213 | 0 | this.adminOrg = adminOrg; | 
            
  
    | 214 |  | } | 
            
  
    | 215 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 216 | 0 |  public Boolean getIsReusable() {... | 
            
  
    | 217 | 0 | return isReusable; | 
            
  
    | 218 |  | } | 
            
  
    | 219 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 220 | 0 |  public void setIsReusable(Boolean isReusable) {... | 
            
  
    | 221 | 0 | this.isReusable = isReusable; | 
            
  
    | 222 |  | } | 
            
  
    | 223 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 224 | 0 |  public Boolean getIsReferenceable() {... | 
            
  
    | 225 | 0 | return isReferenceable; | 
            
  
    | 226 |  | } | 
            
  
    | 227 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 228 | 0 |  public void setIsReferenceable(Boolean isReferenceable) {... | 
            
  
    | 229 | 0 | this.isReferenceable = isReferenceable; | 
            
  
    | 230 |  | } | 
            
  
    | 231 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 232 | 0 |  public List<CluSetTreeViewInfo> getCluSets() {... | 
            
  
    | 233 | 0 | return cluSets; | 
            
  
    | 234 |  | } | 
            
  
    | 235 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 236 | 0 |  public void setCluSets(List<CluSetTreeViewInfo> cluSets) {... | 
            
  
    | 237 | 0 | this.cluSets = cluSets; | 
            
  
    | 238 |  | } | 
            
  
    | 239 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 240 | 0 |  public List<CluInfo> getClus() {... | 
            
  
    | 241 | 0 | return clus; | 
            
  
    | 242 |  | } | 
            
  
    | 243 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 244 | 0 |  public void setClus(List<CluInfo> clus) {... | 
            
  
    | 245 | 0 | this.clus = clus; | 
            
  
    | 246 |  | } | 
            
  
    | 247 |  | } |