net.sf.nachocalendar.model
Interface DataModel

All Known Implementing Classes:
DefaultDataModel, HoliDayModel

public interface DataModel

Model used to manage data asociated to dates. The implementation varies basically in the way the data is aquired and the data type.

Author:
Ignacio Merani

Method Summary
 java.lang.Object getData(java.util.Date date)
          Checks if the date provided has data.
 

Method Detail

getData

public java.lang.Object getData(java.util.Date date)
Checks if the date provided has data.

Parameters:
date - Date to be checked
Returns:
the data or null if it has not