| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
package org.kuali.student.r2.lum.course.dto; |
| 12 | |
|
| 13 | |
import java.io.Serializable; |
| 14 | |
import java.util.List; |
| 15 | |
|
| 16 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 17 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 18 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 19 | |
import javax.xml.bind.annotation.XmlAttribute; |
| 20 | |
import javax.xml.bind.annotation.XmlElement; |
| 21 | |
import javax.xml.bind.annotation.XmlType; |
| 22 | |
|
| 23 | |
import org.kuali.student.r2.common.dto.EntityInfo; |
| 24 | |
import org.kuali.student.r2.lum.course.infc.CourseJoint; |
| 25 | |
import org.w3c.dom.Element; |
| 26 | |
|
| 27 | |
@XmlType(name = "CourseJointInfo", propOrder = {"typeKey", "stateKey", "descr", "courseNumberSuffix", "courseTitle", "subjectArea", "courseId", "relationId", "meta", "attributes", |
| 28 | |
"_futureElements"}) |
| 29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 30 | |
public class CourseJointInfo extends EntityInfo implements CourseJoint, Serializable { |
| 31 | |
|
| 32 | |
private static final long serialVersionUID = 1L; |
| 33 | |
|
| 34 | |
@XmlElement |
| 35 | |
private String courseNumberSuffix; |
| 36 | |
|
| 37 | |
@XmlElement |
| 38 | |
private String courseTitle; |
| 39 | |
|
| 40 | |
@XmlElement |
| 41 | |
private String subjectArea; |
| 42 | |
|
| 43 | |
@XmlAttribute |
| 44 | |
private String courseId; |
| 45 | |
|
| 46 | |
@XmlAttribute |
| 47 | |
private String relationId; |
| 48 | |
|
| 49 | |
@XmlAnyElement |
| 50 | |
private List<Element> _futureElements; |
| 51 | |
|
| 52 | 0 | public CourseJointInfo() { |
| 53 | |
|
| 54 | 0 | } |
| 55 | |
|
| 56 | |
public CourseJointInfo(CourseJoint courseJoint) { |
| 57 | 0 | super(courseJoint); |
| 58 | 0 | if (courseJoint != null) { |
| 59 | 0 | this.courseNumberSuffix = courseJoint.getCourseNumberSuffix(); |
| 60 | 0 | this.courseTitle = courseJoint.getCourseTitle(); |
| 61 | 0 | this.subjectArea = courseJoint.getSubjectArea(); |
| 62 | 0 | this.courseId = courseJoint.getCourseId(); |
| 63 | 0 | this.relationId = courseJoint.getRelationId(); |
| 64 | |
} |
| 65 | |
|
| 66 | 0 | } |
| 67 | |
|
| 68 | |
@Override |
| 69 | |
public String getCourseNumberSuffix() { |
| 70 | 0 | return courseNumberSuffix; |
| 71 | |
} |
| 72 | |
|
| 73 | |
public void setCourseNumberSuffix(String courseNumberSuffix) { |
| 74 | 0 | this.courseNumberSuffix = courseNumberSuffix; |
| 75 | 0 | } |
| 76 | |
|
| 77 | |
@Override |
| 78 | |
public String getCourseTitle() { |
| 79 | 0 | return courseTitle; |
| 80 | |
} |
| 81 | |
|
| 82 | |
public void setCourseTitle(String courseTitle) { |
| 83 | 0 | this.courseTitle = courseTitle; |
| 84 | 0 | } |
| 85 | |
|
| 86 | |
@Override |
| 87 | |
public String getSubjectArea() { |
| 88 | 0 | return subjectArea; |
| 89 | |
} |
| 90 | |
|
| 91 | |
public void setSubjectArea(String subjectArea) { |
| 92 | 0 | this.subjectArea = subjectArea; |
| 93 | 0 | } |
| 94 | |
|
| 95 | |
@Override |
| 96 | |
public String getCourseId() { |
| 97 | 0 | return courseId; |
| 98 | |
} |
| 99 | |
|
| 100 | |
public void setCourseId(String courseId) { |
| 101 | 0 | this.courseId = courseId; |
| 102 | 0 | } |
| 103 | |
|
| 104 | |
@Override |
| 105 | |
public String getRelationId() { |
| 106 | 0 | return relationId; |
| 107 | |
} |
| 108 | |
|
| 109 | |
public void setRelationId(String relationId) { |
| 110 | 0 | this.relationId = relationId; |
| 111 | 0 | } |
| 112 | |
} |