if (courseGroup == null || degreeModule == null || beginExecutionPeriod == null) { throw new DomainException("error.incorrectContextValues"); } super.setCourseGroup(courseGroup); super.setDegreeModule(degreeModule); super.setCurricularPeriod(curricularPeriod); super.setBeginExecutionPeriod(beginExecutionPeriod); super.setEndExecutionPeriod(endExecutionPeriod);
this.setOrder(0);
    public Context(CourseGroup courseGroup, DegreeModule degreeModule,            CurricularPeriod curricularPeriod, ExecutionPeriod beginExecutionPeriod,            ExecutionPeriod endExecutionPeriod) {        super();        if (courseGroup == null || degreeModule == null || beginExecutionPeriod == null) {            throw new DomainException("error.incorrectContextValues");        }        super.setCourseGroup(courseGroup);        super.setDegreeModule(degreeModule);        super.setCurricularPeriod(curricularPeriod);        super.setBeginExecutionPeriod(beginExecutionPeriod);        super.setEndExecutionPeriod(endExecutionPeriod);    }