Defined the methods to be implemented by GenericDAO