| 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.core.ws.binding.JaxbAttributeMapListAdapter; |
| 32 | |
import org.kuali.student.core.dto.Idable; |
| 33 | |
import org.kuali.student.core.dto.HasTypeState; |
| 34 | |
import org.kuali.student.core.dto.HasAttributes; |
| 35 | |
import org.kuali.student.core.dto.MetaInfo; |
| 36 | |
|
| 37 | |
|
| 38 | |
|
| 39 | |
|
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 47 | 0 | 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 | |
|
| 76 | |
public String getCredentialProgramId() { |
| 77 | 0 | return credentialProgramId; |
| 78 | |
} |
| 79 | |
|
| 80 | |
public void setCredentialProgramId(String credentialProgramId) { |
| 81 | 0 | this.credentialProgramId = credentialProgramId; |
| 82 | 0 | } |
| 83 | |
|
| 84 | |
|
| 85 | |
|
| 86 | |
|
| 87 | |
public List<String> getProgramRequirements() { |
| 88 | 0 | if (programRequirements == null) { |
| 89 | 0 | programRequirements = new ArrayList<String>(0); |
| 90 | |
} |
| 91 | 0 | return programRequirements; |
| 92 | |
} |
| 93 | |
|
| 94 | |
public void setProgramRequirements(List<String> programRequirements) { |
| 95 | 0 | this.programRequirements = programRequirements; |
| 96 | 0 | } |
| 97 | |
|
| 98 | |
|
| 99 | |
|
| 100 | |
|
| 101 | |
public Map<String, String> getAttributes() { |
| 102 | 0 | if (attributes == null) { |
| 103 | 0 | attributes = new HashMap<String, String>(); |
| 104 | |
} |
| 105 | 0 | return attributes; |
| 106 | |
} |
| 107 | |
|
| 108 | |
public void setAttributes(Map<String, String> attributes) { |
| 109 | 0 | this.attributes = attributes; |
| 110 | 0 | } |
| 111 | |
|
| 112 | |
|
| 113 | |
|
| 114 | |
|
| 115 | |
public MetaInfo getMetaInfo() { |
| 116 | 0 | return metaInfo; |
| 117 | |
} |
| 118 | |
|
| 119 | |
public void setMetaInfo(MetaInfo metaInfo) { |
| 120 | 0 | this.metaInfo = metaInfo; |
| 121 | 0 | } |
| 122 | |
|
| 123 | |
|
| 124 | |
|
| 125 | |
|
| 126 | |
public String getType() { |
| 127 | 0 | return type; |
| 128 | |
} |
| 129 | |
|
| 130 | |
public void setType(String type) { |
| 131 | 0 | this.type = type; |
| 132 | 0 | } |
| 133 | |
|
| 134 | |
|
| 135 | |
|
| 136 | |
|
| 137 | |
public String getState() { |
| 138 | 0 | return state; |
| 139 | |
} |
| 140 | |
|
| 141 | |
public void setState(String state) { |
| 142 | 0 | this.state = state; |
| 143 | 0 | } |
| 144 | |
|
| 145 | |
|
| 146 | |
|
| 147 | |
|
| 148 | |
public String getId() { |
| 149 | 0 | return id; |
| 150 | |
} |
| 151 | |
|
| 152 | |
public void setId(String id) { |
| 153 | 0 | this.id = id; |
| 154 | 0 | } |
| 155 | |
} |