| 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 | |
|
| 15 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 16 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 17 | |
import javax.xml.bind.annotation.XmlElement; |
| 18 | |
import javax.xml.bind.annotation.XmlType; |
| 19 | |
|
| 20 | |
import org.kuali.student.r2.common.dto.IdNamelessEntityInfo; |
| 21 | |
import org.kuali.student.r2.lum.course.infc.CourseCrossListing; |
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
@XmlType(name = "CourseCrossListingInfo", propOrder = {"id", "typeKey", "stateKey", "code", "subjectArea", "department", "courseNumberSuffix", "meta", "attributes", "_futureElements"}) |
| 31 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 32 | |
public class CourseCrossListingInfo extends IdNamelessEntityInfo implements CourseCrossListing, Serializable { |
| 33 | |
|
| 34 | |
private static final long serialVersionUID = 1L; |
| 35 | |
|
| 36 | |
@XmlElement |
| 37 | |
private String code; |
| 38 | |
|
| 39 | |
@XmlElement |
| 40 | |
private String subjectArea; |
| 41 | |
|
| 42 | |
@XmlElement |
| 43 | |
private String department; |
| 44 | |
|
| 45 | |
@XmlElement |
| 46 | |
private String courseNumberSuffix; |
| 47 | |
|
| 48 | 0 | public CourseCrossListingInfo() { |
| 49 | |
|
| 50 | 0 | } |
| 51 | |
|
| 52 | |
public CourseCrossListingInfo(CourseCrossListing courseCrossListing) { |
| 53 | 0 | super(courseCrossListing); |
| 54 | 0 | if (courseCrossListing != null) { |
| 55 | 0 | this.code = courseCrossListing.getCode(); |
| 56 | 0 | this.subjectArea = courseCrossListing.getSubjectArea(); |
| 57 | 0 | this.department = courseCrossListing.getDepartment(); |
| 58 | 0 | this.courseNumberSuffix = courseCrossListing.getCourseNumberSuffix(); |
| 59 | |
} |
| 60 | 0 | } |
| 61 | |
|
| 62 | |
@Override |
| 63 | |
public String getCode() { |
| 64 | 0 | return code; |
| 65 | |
} |
| 66 | |
|
| 67 | |
public void setCode(String code) { |
| 68 | 0 | this.code = code; |
| 69 | 0 | } |
| 70 | |
|
| 71 | |
@Override |
| 72 | |
public String getSubjectArea() { |
| 73 | 0 | return subjectArea; |
| 74 | |
} |
| 75 | |
|
| 76 | |
public void setSubjectArea(String subjectArea) { |
| 77 | 0 | this.subjectArea = subjectArea; |
| 78 | 0 | } |
| 79 | |
|
| 80 | |
@Override |
| 81 | |
public String getDepartment() { |
| 82 | 0 | return department; |
| 83 | |
} |
| 84 | |
|
| 85 | |
public void setDepartment(String department) { |
| 86 | 0 | this.department = department; |
| 87 | 0 | } |
| 88 | |
|
| 89 | |
@Override |
| 90 | |
public String getCourseNumberSuffix() { |
| 91 | 0 | return courseNumberSuffix; |
| 92 | |
} |
| 93 | |
|
| 94 | |
public void setCourseNumberSuffix(String courseNumberSuffix) { |
| 95 | 0 | this.courseNumberSuffix = courseNumberSuffix; |
| 96 | 0 | } |
| 97 | |
|
| 98 | |
} |