public RoomOccupation(OldRoom room, Calendar startTime, Calendar endTime, DiaSemana dayOfWeek, int frequency) { this(); setRoom(room); setStartTime(startTime); setEndTime(endTime); setDayOfWeek(dayOfWeek); setFrequency(Integer.valueOf(frequency));
public RoomOccupation() { super(); setRootDomainObject(RootDomainObject.getInstance());
    public RoomOccupation(OldRoom room, Calendar startTime, Calendar endTime, DiaSemana dayOfWeek,            int frequency) {        this();        setRoom(room);        setStartTime(startTime);        setEndTime(endTime);        setDayOfWeek(dayOfWeek);        setFrequency(Integer.valueOf(frequency));    }