/** * Returns a Scheme entity class * * @param id:Entity class ID * @return */ public Scheme getScheme(int id) { return schemeDAO.getScheme(id); }
/** * Returns a Scheme entity class * * @param schemeName: Returns the name of a "schemeName" programme * @return */ public Scheme getScheme(String schemeName) { return schemeDAO.getScheme(schemeName); }
/** * Put a Scheme data stored in the database * * @param scheme: implementation class, storage object * @return */ public boolean add(Scheme scheme) { schemeDAO.save(scheme); return true; }