| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| net.sf.mindoro.domain.ProjectsFacade | 
 | 
 | 
| 1 |  /* | |
| 2 |   * Created on Jun 9, 2005 | |
| 3 |   * | |
| 4 |   * TODO To change the template for this generated file go to | |
| 5 |   * Window - Preferences - Java - Code Style - Code Templates | |
| 6 |   */ | |
| 7 |  package net.sf.mindoro.domain; | |
| 8 | ||
| 9 |  import net.sf.mindoro.dao.ProjectDao; | |
| 10 |  import net.sf.mindoro.model.Project; | |
| 11 | ||
| 12 |  /** | |
| 13 |   * @author aisrael | |
| 14 |   * | |
| 15 |   * TODO To change the template for this generated type comment go to | |
| 16 |   * Window - Preferences - Java - Code Style - Code Templates | |
| 17 |   */ | |
| 18 | public class ProjectsFacade { | |
| 19 | ||
| 20 | private final ProjectDao projectDao; | |
| 21 | ||
| 22 |      /** | |
| 23 |       * @param projectDao ProjectDao | |
| 24 |       */ | |
| 25 | 0 |      public ProjectsFacade(final ProjectDao projectDao) { | 
| 26 | 0 |          this.projectDao = projectDao; | 
| 27 | 0 |      } | 
| 28 | ||
| 29 |      /** | |
| 30 |       * @param name the Project Name | |
| 31 |       * @return the new Project | |
| 32 |       */ | |
| 33 | public final Project createProject(class="keyword">final String name) { | |
| 34 | 0 |          return projectDao.newProject(name); | 
| 35 | } | |
| 36 | ||
| 37 | } | 
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |