| 1 | |
package org.kuali.student.enrollment.class2.courseoffering.dto; |
| 2 | |
|
| 3 | |
import org.kuali.student.enrollment.acal.constants.AcademicCalendarServiceConstants; |
| 4 | |
import org.kuali.student.enrollment.acal.dto.TermInfo; |
| 5 | |
import org.kuali.student.enrollment.courseoffering.dto.ActivityOfferingInfo; |
| 6 | |
import org.kuali.student.enrollment.courseoffering.dto.FormatOfferingInfo; |
| 7 | |
import org.kuali.student.r2.common.util.constants.LuiServiceConstants; |
| 8 | |
|
| 9 | |
import java.io.Serializable; |
| 10 | |
|
| 11 | |
public class ActivityOfferingFormObject implements Serializable{ |
| 12 | |
|
| 13 | |
private ActivityOfferingInfo aoInfo; |
| 14 | |
private FormatOfferingInfo formatOffering; |
| 15 | |
private TermInfo term; |
| 16 | |
|
| 17 | 0 | public ActivityOfferingFormObject(){ |
| 18 | 0 | aoInfo = new ActivityOfferingInfo(); |
| 19 | |
|
| 20 | 0 | aoInfo.setStateKey(AcademicCalendarServiceConstants.TERM_DRAFT_STATE_KEY); |
| 21 | 0 | aoInfo.setTypeKey(LuiServiceConstants.LECTURE_ACTIVITY_OFFERING_TYPE_KEY); |
| 22 | |
|
| 23 | |
|
| 24 | 0 | formatOffering = new FormatOfferingInfo(); |
| 25 | 0 | term = new TermInfo(); |
| 26 | 0 | } |
| 27 | |
|
| 28 | |
public ActivityOfferingFormObject(ActivityOfferingInfo info){ |
| 29 | 0 | super(); |
| 30 | 0 | aoInfo = info; |
| 31 | 0 | } |
| 32 | |
|
| 33 | |
public FormatOfferingInfo getFormatOffering() { |
| 34 | 0 | return formatOffering; |
| 35 | |
} |
| 36 | |
|
| 37 | |
public void setFormatOffering(FormatOfferingInfo formatOffering) { |
| 38 | 0 | this.formatOffering = formatOffering; |
| 39 | 0 | } |
| 40 | |
|
| 41 | |
public TermInfo getTerm() { |
| 42 | 0 | return term; |
| 43 | |
} |
| 44 | |
|
| 45 | |
public void setTerm(TermInfo term) { |
| 46 | 0 | this.term = term; |
| 47 | 0 | } |
| 48 | |
|
| 49 | |
public ActivityOfferingInfo getAoInfo() { |
| 50 | 0 | return aoInfo; |
| 51 | |
} |
| 52 | |
|
| 53 | |
public void setAoInfo(ActivityOfferingInfo aoInfo) { |
| 54 | 0 | this.aoInfo = aoInfo; |
| 55 | 0 | } |
| 56 | |
|
| 57 | |
} |