Package net.sf.pmr.core.domain.project

Examples of net.sf.pmr.core.domain.project.Project


        // Build the object
        Story story = AgilePlanningObjectFactory.getStory();

        // find the project
        Project project = projectRepository.findByPersistanceId(projectPersistanceId);
        story.setProject(project);

        story.setShortDescription(shortDescription);
        story.setDescription(description);
        story.setDaysEstimated(daysEstimated);
View Full Code Here


    public void testIsEqualsAndHashcodeWithDifferentShortDescriptions() {
       
        Story story1 = new StoryImpl();
        Story story2 = new StoryImpl();
       
        Project basicProject1 = new ProjectImpl();
        Project basicProject2 = new ProjectImpl();
       
        // les descriptions sont diff�rentes
        story1.setShortDescription("aa");
        story1.setDescription("super");
        story1.setDaysEstimated(3);
View Full Code Here

    public void testIsEqualsAndHashcodeWithTheSameShortDescriptionButDifferentBasicProjec() {

        Story story1 = new StoryImpl();
        Story story2 = new StoryImpl();

        Project basicProject1 = new ProjectImpl();
        basicProject1.setName("toto");
        Project basicProject2 = new ProjectImpl();
        basicProject1.setName("titi");

        // les descriptions sont identiques mais pas les iterations
        story1.setShortDescription("aa");
        story1.setDescription("super");
View Full Code Here

        public void testIsEqualsAndHashcodeWithTheSameShortDescriptionAndTheSameBasicProject() {

        Story story1 = new StoryImpl();
        Story story2 = new StoryImpl();

        Project basicProject1 = new ProjectImpl();
        Project basicProject2 = new ProjectImpl();

        // les descriptions et it�rations sont identiques
        story1.setShortDescription("aa");
        story1.setDescription("super");
        story1.setDaysEstimated(3);
View Full Code Here

        story.setPersistanceId(1);
        story.setBusinessValue(businessValue);
        story.setRiskLevel(riskLevel);
       
        Project project = new ProjectImpl();
        project.setPersistanceId(5);
        story.setProject(project);
       
        story.setShortDescription("titi");
        story.setDescription("toto");
        story.setDaysEstimated(2);
View Full Code Here

        story.setPersistanceId(1);
        story.setBusinessValue(businessValue);
        story.setRiskLevel(riskLevel);
       
        Project project = new ProjectImpl();
        project.setPersistanceId(5);
        story.setProject(project);
       
        story.setShortDescription("titi");
        story.setDescription("toto");
        story.setDaysEstimated(2);
View Full Code Here

   * Get the target of the basicProject proxy
   * @param release
   */
  private void replaceBasicProjectProxyByTarget(final Release release) {

        Project projectTarget = (projectProxyUtil.getTarget(release.getProject()));
        release.setProject(projectTarget);
   
  }
View Full Code Here

    /**
     * @see net.sf.pmr.agilePlanning.domain.iteration.IterationRepository#addOrUpdate(net.sf.pmr.agilePlanning.domain.iteration.Iteration)
     */
    public void addOrUpdate(final Iteration iteration) {

        Project projectTarget = (projectProxyUtil
                .getTarget(iteration.getProject()));
        iteration.setProject(projectTarget);

        iterationMapper.addOrUpdate(iteration);
    }
View Full Code Here

        // Build the object
        Story story = AgilePlanningObjectFactory.getStory();

        // find the project
        Project project = projectRepository.findByPersistanceId(projectPersistanceId);
        story.setProject(project);

        story.setShortDescription(shortDescription);
        story.setDescription(description);
        story.setDaysEstimated(daysEstimated);
View Full Code Here

     */
    public void testUpdate() {

        Release release = new ReleaseImpl();

        Project project = new ProjectImpl();
        Date date = new Date();
        String number = "2";
        int persistanceId = 1;
        long persistanceVersion = 3;
        release.setProject(project);
View Full Code Here

TOP

Related Classes of net.sf.pmr.core.domain.project.Project

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.