matnel / Ohtu11k

Scheduler 3k refactor
0 stars 0 forks source link

Schedule knows too much of business logic #5

Open mnylen opened 13 years ago

mnylen commented 13 years ago

Schedule currently knows that it's divided into days and the days contain events. This is implemented using a HashMap with Days as keys and ArrayList<Event>s as values.

In ideal case Schedule would know only that it has many Events.

matnel commented 13 years ago

Hidden many aspects of the internal implementation of Schedule.