| 1 |  |  | 
            
  
    | 2 |  |  | 
            
  
    | 3 |  |  | 
            
  
    | 4 |  |  | 
            
  
    | 5 |  |  | 
            
  
    | 6 |  |  | 
            
  
    | 7 |  |  | 
            
  
    | 8 |  |  | 
            
  
    | 9 |  |  | 
            
  
    | 10 |  |  | 
            
  
    | 11 |  |  | 
            
  
    | 12 |  |  | 
            
  
    | 13 |  |  | 
            
  
    | 14 |  |  | 
            
  
    | 15 |  |  | 
            
  
    | 16 |  | package org.kuali.student.lum.program.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.common.dto.HasAttributes; | 
            
  
    | 32 |  | import org.kuali.student.common.dto.HasTypeState; | 
            
  
    | 33 |  | import org.kuali.student.common.dto.Idable; | 
            
  
    | 34 |  | import org.kuali.student.common.dto.MetaInfo; | 
            
  
    | 35 |  | import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | 
            
  
    | 36 |  |  | 
            
  
    | 37 |  |  | 
            
  
    | 38 |  |  | 
            
  
    | 39 |  |  | 
            
  
    | 40 |  |  | 
            
  
    | 41 |  |  | 
            
  
    | 42 |  |  | 
            
  
    | 43 |  |  | 
            
  
    | 44 |  |  | 
            
  
    | 45 |  |  | 
            
  
    | 46 |  | @XmlAccessorType(XmlAccessType.FIELD) | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 36 (36) | Complexity: 16 | Complexity Density: 0.89 |  | 
  
  
    | 47 |  | public class HonorsProgramInfo implements Serializable, Idable, HasTypeState, HasAttributes { | 
            
  
    | 48 |  |  | 
            
  
    | 49 |  | private static final long serialVersionUID = 1L; | 
            
  
    | 50 |  |  | 
            
  
    | 51 |  | @XmlElement | 
            
  
    | 52 |  | private String credentialProgramId; | 
            
  
    | 53 |  |  | 
            
  
    | 54 |  | @XmlElement | 
            
  
    | 55 |  | private List<String> programRequirements; | 
            
  
    | 56 |  |  | 
            
  
    | 57 |  | @XmlElement | 
            
  
    | 58 |  | @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | 
            
  
    | 59 |  | private Map<String, String> attributes; | 
            
  
    | 60 |  |  | 
            
  
    | 61 |  | @XmlElement | 
            
  
    | 62 |  | private MetaInfo metaInfo; | 
            
  
    | 63 |  |  | 
            
  
    | 64 |  | @XmlAttribute | 
            
  
    | 65 |  | private String type; | 
            
  
    | 66 |  |  | 
            
  
    | 67 |  | @XmlAttribute | 
            
  
    | 68 |  | private String state; | 
            
  
    | 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 getCredentialProgramId() {... | 
            
  
    | 77 | 0 | return credentialProgramId; | 
            
  
    | 78 |  | } | 
            
  
    | 79 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 80 | 0 |  public void setCredentialProgramId(String credentialProgramId) {... | 
            
  
    | 81 | 0 | this.credentialProgramId = credentialProgramId; | 
            
  
    | 82 |  | } | 
            
  
    | 83 |  |  | 
            
  
    | 84 |  |  | 
            
  
    | 85 |  |  | 
            
  
    | 86 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 5 (5) | Complexity: 2 | Complexity Density: 0.67 |  | 
  
  
    | 87 | 0 |  public List<String> getProgramRequirements() {... | 
            
  
    | 88 | 0 | if (programRequirements == null) { | 
            
  
    | 89 | 0 | programRequirements = new ArrayList<String>(0); | 
            
  
    | 90 |  | } | 
            
  
    | 91 | 0 | return programRequirements; | 
            
  
    | 92 |  | } | 
            
  
    | 93 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 94 | 0 |  public void setProgramRequirements(List<String> programRequirements) {... | 
            
  
    | 95 | 0 | this.programRequirements = programRequirements; | 
            
  
    | 96 |  | } | 
            
  
    | 97 |  |  | 
            
  
    | 98 |  |  | 
            
  
    | 99 |  |  | 
            
  
    | 100 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 5 (5) | Complexity: 2 | Complexity Density: 0.67 |  | 
  
  
    | 101 | 0 |  public Map<String, String> getAttributes() {... | 
            
  
    | 102 | 0 | if (attributes == null) { | 
            
  
    | 103 | 0 | attributes = new HashMap<String, String>(); | 
            
  
    | 104 |  | } | 
            
  
    | 105 | 0 | return attributes; | 
            
  
    | 106 |  | } | 
            
  
    | 107 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 108 | 0 |  public void setAttributes(Map<String, String> attributes) {... | 
            
  
    | 109 | 0 | this.attributes = attributes; | 
            
  
    | 110 |  | } | 
            
  
    | 111 |  |  | 
            
  
    | 112 |  |  | 
            
  
    | 113 |  |  | 
            
  
    | 114 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 115 | 0 |  public MetaInfo getMetaInfo() {... | 
            
  
    | 116 | 0 | return metaInfo; | 
            
  
    | 117 |  | } | 
            
  
    | 118 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 119 | 0 |  public void setMetaInfo(MetaInfo metaInfo) {... | 
            
  
    | 120 | 0 | this.metaInfo = metaInfo; | 
            
  
    | 121 |  | } | 
            
  
    | 122 |  |  | 
            
  
    | 123 |  |  | 
            
  
    | 124 |  |  | 
            
  
    | 125 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 126 | 0 |  public String getType() {... | 
            
  
    | 127 | 0 | return type; | 
            
  
    | 128 |  | } | 
            
  
    | 129 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 130 | 0 |  public void setType(String type) {... | 
            
  
    | 131 | 0 | this.type = type; | 
            
  
    | 132 |  | } | 
            
  
    | 133 |  |  | 
            
  
    | 134 |  |  | 
            
  
    | 135 |  |  | 
            
  
    | 136 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 137 | 0 |  public String getState() {... | 
            
  
    | 138 | 0 | return state; | 
            
  
    | 139 |  | } | 
            
  
    | 140 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 141 | 0 |  public void setState(String state) {... | 
            
  
    | 142 | 0 | this.state = state; | 
            
  
    | 143 |  | } | 
            
  
    | 144 |  |  | 
            
  
    | 145 |  |  | 
            
  
    | 146 |  |  | 
            
  
    | 147 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 148 | 0 |  public String getId() {... | 
            
  
    | 149 | 0 | return id; | 
            
  
    | 150 |  | } | 
            
  
    | 151 |  |  | 
               
        |  |  | 
           
           |  | 0% | Uncovered Elements: 1 (1) | Complexity: 1 | Complexity Density: 1 |  | 
  
  
    | 152 | 0 |  public void setId(String id) {... | 
            
  
    | 153 | 0 | this.id = id; | 
            
  
    | 154 |  | } | 
            
  
    | 155 |  | } |