Package edu.drexel.goodwin.cpd.domain

Examples of edu.drexel.goodwin.cpd.domain.Skill


  public Set<Skill> getRandomSkills(Random random) {
    Set<Skill> skills = new HashSet<Skill>();
    int count = random.nextInt(8);
    for (int i = 0; i < count; i++) {
      int number = random.nextInt(8) + 15;
      Skill skill = Skill.findSkill((long) number);
      if (skill != null && !skills.contains(skill)) {
        skills.add(skill);
      }
    }
    return skills;
View Full Code Here


        return "redirect:/skill/" + skill.getId();       
    }

  @RequestMapping(value = "/skill/form", method = RequestMethod.GET)   
    public String createForm(ModelMap modelMap) {   
        modelMap.addAttribute("skill", new Skill());       
        return "skill/create";       
    }
View Full Code Here

TOP

Related Classes of edu.drexel.goodwin.cpd.domain.Skill

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.