@@ -0,0 +1,651 @@
+package istic.gla.groupb.nivimoju.API;%0A%0Aimport dao.IncidentCodeDAO;%0A%0Aimport javax.ws.rs.*;%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.core.Response;%0Aimport java.util.List;%0A%0A/**%0A * Created by amhachi on 09/04/15.%0A */%0A@Path(%22incidentCode%22)%0Apublic class IncidentCode %7B%0A%0A    IncidentCodeDAO incidentCodeDAO ;%0A%0A    /**%0A     * Gets all the incident codes%0A     * @return A list of incident codes%0A     */%0A    @Path(%22incidentCodesList%22)%0A    @GET%0A    @Produces(%7BMediaType.APPLICATION_JSON%7D)%0A    public List%3Centity.IncidentCode%3E getIncidentCodes() %7B%0A        incidentCodeDAO = new IncidentCodeDAO();%0A        return  incidentCodeDAO.getAll();%0A    %7D%0A%0A%0A%7D%0A

Add : IncidentCode Service