public Lesson(DiaSemana diaSemana, Calendar inicio, Calendar fim, ShiftType tipo, OldRoom sala, RoomOccupation roomOccupation, Shift shift, Integer weekOfQuinzenalStart, Integer frequency) {  this(); setDiaSemana(diaSemana); setInicio(inicio); setFim(fim); setTipo(tipo); setSala(sala); setRoomOccupation(roomOccupation); setShift(shift); setFrequency(frequency); setWeekOfQuinzenalStart(weekOfQuinzenalStart);
public Lesson() { super(); setRootDomainObject(RootDomainObject.getInstance());
    public Lesson(DiaSemana diaSemana, Calendar inicio, Calendar fim, ShiftType tipo, OldRoom sala,            RoomOccupation roomOccupation, Shift shift, Integer weekOfQuinzenalStart, Integer frequency) {        this();        setDiaSemana(diaSemana);        setInicio(inicio);        setFim(fim);        setTipo(tipo);        setSala(sala);        setRoomOccupation(roomOccupation);        setShift(shift);        setFrequency(frequency);        setWeekOfQuinzenalStart(weekOfQuinzenalStart);    }