package model;

import java.util.List;

/**
 * @author Marshall Ehlinger
 * @version 0.0.1
 *
 */
public interface IRouteDAO {

	void createRecord(Route route);

	Route retrieveRecordById(int id);

	List<Route> retrieveAllRecords();

	void updateRecord(Route updatedRoute);

	void deleteRecord(int routeId);

	void deleteRecord(Route route);

	String toString();

}
@@ -137,232 +137,1203 @@
 %0A%0D%0A%09
-void createRecord(Route route);%0D%0A%0D%0A%09Route retrieveRecordById(int id);%0D%0A%0D%0A%09List%3CRoute%3E retrieveAllRecords();%0D%0A%0D%0A%09void updateRecord(Route updatedRoute);%0D%0A%0D%0A%09void deleteRecord(int routeId);%0D%0A%0D%0A%09void deleteRecord(Route route);%0D%0A
+/*%0D%0A%09 * Creates a new record for a given rock climb route%0D%0A%09 * %0D%0A%09 * @param route A new Route instance%0D%0A%09 */%0D%0A%09void createRecord(Route route);%0D%0A%0D%0A%09/*%0D%0A%09 * Retrieves a route record%0D%0A%09 * %0D%0A%09 * @param id The id number of the record to fetch%0D%0A%09 * @return The route object with the specified routeId%0D%0A%09 */%0D%0A%09Route retrieveRecordById(int id);%0D%0A%0D%0A%09/*%0D%0A%09 * Retrieves all records as a list of Route instances%0D%0A%09 * %0D%0A%09 * @return A list of Route instances%0D%0A%09 */%0D%0A%09List%3CRoute%3E retrieveAllRecords();%0D%0A%0D%0A%09/*%0D%0A%09 * Updates a given route with a new details%0D%0A%09 * %0D%0A%09 * @param updatedRoute The new route object whose details will write over the db entry, so long as they have the same id.%0D%0A%09 */%0D%0A%09void updateRecord(Route updatedRoute);%0D%0A%0D%0A%09%0D%0A%09/*%0D%0A%09 * Deletes a single record, specified by id number%0D%0A%09 * %0D%0A%09 * @param routeId The id value of the route to delete%0D%0A%09 */%0D%0A%09void deleteRecord(int routeId);%0D%0A%0D%0A%09/*%0D%0A%09 * Deletes a single record, specified by passing a reference to that particular Route object%0D%0A%09 * %0D%0A%09 * @param route The Route instance to delete. Must exist.%0D%0A%09 */%0D%0A%09void deleteRecord(Route route);%0D%0A%0D%0A%09/*%0D%0A%09 * Converts all records into a concatenated string%0D%0A%09 * %0D%0A%09 * @return A string, obviously.%0D%0A%09 */
 %0D%0A%09S

Add javadoc comments to IRouteDAO