public class JointCourseWrapper extends Object
CourseJointInfo
and it's used only in Create CO screen to display a list of joint offerings and allowing user
to select/deselect a COCourseOfferingCreateWrapper
,
FormatOfferingWrapper
Constructor and Description |
---|
JointCourseWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getCourseCode()
Returns the course code for a joint course
|
CourseInfo |
getCourseInfo()
Returns the
CourseInfo associated with the wrapper |
CourseJointInfo |
getCourseJointInfo() |
String |
getCourseTitle()
This is called from the view xml to display the course title at the ui.
|
List<FormatOfferingWrapper> |
getFormatOfferingWrappers()
List of
FormatOfferingWrapper for a joint course |
boolean |
isAlreadyOffered() |
boolean |
isEnableCreateNewCOActionLink() |
boolean |
isSelectedToJointlyOfferred() |
void |
setAlreadyOffered(boolean alreadyOffered)
Sets whether this joint course has already been offered.
|
void |
setCourseInfo(CourseInfo courseInfo)
Sets the
CourseInfo associated with this joint course. |
void |
setCourseJointInfo(CourseJointInfo courseJointInfo)
Sets the
CourseJointInfo dto associated with this wrapper. |
void |
setEnableCreateNewCOActionLink(boolean enableCreateNewCOActionLink) |
void |
setFormatOfferingWrappers(List<FormatOfferingWrapper> formatOfferingWrappers) |
void |
setSelectedToJointlyOfferred(boolean selectedToJointlyOfferred)
This is set when the user selects a joint course to add formats.
|
public JointCourseWrapper()
public boolean isAlreadyOffered()
setAlreadyOffered(boolean)
public void setAlreadyOffered(boolean alreadyOffered)
This is set during load when there are course offerings exists for this course code in the user selected term.
alreadyOffered
- booleanpublic boolean isSelectedToJointlyOfferred()
setSelectedToJointlyOfferred(boolean)
public void setSelectedToJointlyOfferred(boolean selectedToJointlyOfferred)
selectedToJointlyOfferred
- public CourseJointInfo getCourseJointInfo()
public void setCourseJointInfo(CourseJointInfo courseJointInfo)
CourseJointInfo
dto associated with this wrapper.courseJointInfo
- public String getCourseTitle()
public void setCourseInfo(CourseInfo courseInfo)
CourseInfo
associated with this joint course.courseInfo
- setCourseJointInfo(org.kuali.student.r2.lum.course.dto.CourseJointInfo)
public CourseInfo getCourseInfo()
CourseInfo
associated with the wrapperpublic String getCourseCode()
public List<FormatOfferingWrapper> getFormatOfferingWrappers()
FormatOfferingWrapper
for a joint coursepublic void setFormatOfferingWrappers(List<FormatOfferingWrapper> formatOfferingWrappers)
formatOfferingWrappers
- getFormatOfferingWrappers()
public boolean isEnableCreateNewCOActionLink()
public void setEnableCreateNewCOActionLink(boolean enableCreateNewCOActionLink)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.