public Context(CourseGroup courseGroup, DegreeModule degreeModule, CurricularPeriod curricularPeriod, ExecutionPeriod beginExecutionPeriod, ExecutionPeriod endExecutionPeriod) {  this(); if (courseGroup == null || degreeModule == null || beginExecutionPeriod == null) { throw new DomainException("error.incorrectContextValues"); }  checkExecutionPeriods(beginExecutionPeriod, endExecutionPeriod);  super.setParentCourseGroup(courseGroup); super.setChildDegreeModule(degreeModule); super.setCurricularPeriod(curricularPeriod); super.setBeginExecutionPeriod(beginExecutionPeriod); super.setEndExecutionPeriod(endExecutionPeriod);
protected Context() { super(); setRootDomainObject(RootDomainObject.getInstance()); this.setOrder(0);
    public Context(CourseGroup courseGroup, DegreeModule degreeModule,            CurricularPeriod curricularPeriod, ExecutionPeriod beginExecutionPeriod,            ExecutionPeriod endExecutionPeriod) {                this();        if (courseGroup == null || degreeModule == null || beginExecutionPeriod == null) {            throw new DomainException("error.incorrectContextValues");        }                checkExecutionPeriods(beginExecutionPeriod, endExecutionPeriod);        super.setParentCourseGroup(courseGroup);        super.setChildDegreeModule(degreeModule);        super.setCurricularPeriod(curricularPeriod);        super.setBeginExecutionPeriod(beginExecutionPeriod);        super.setEndExecutionPeriod(endExecutionPeriod);    }