Package pl.edu.pb.entities

Examples of pl.edu.pb.entities.UserStory


    public UserStoryManagerMock() {
        java.util.Calendar cal = java.util.Calendar.getInstance();
        java.util.Date utilDate = cal.getTime();
        java.sql.Date sqlDate = new Date(utilDate.getTime());
        UserStory nowy = new UserStory();
        nowy.setStory("Ale zajebista histora");
        nowy.setCategory("ale kategoriaaaa");
        nowy.setDatevalue(sqlDate);
        UserStory nowy2 = new UserStory();
        nowy2.setStory("Ale zajebista histora");
        nowy2.setCategory("ale kategoriaaaa");
        nowy2.setDatevalue(sqlDate);
        userStories = new ArrayList<UserStory>();
        userStories.add(nowy);
        userStories.add(nowy2);
        userStories.add(nowy2);
View Full Code Here


        if (story.equals("") || category.equals("")) {
        } else {
            java.util.Calendar cal = java.util.Calendar.getInstance();
            java.util.Date utilDate = cal.getTime();
            java.sql.Date sqlDate = new Date(utilDate.getTime());
            UserStory userStory = new UserStory();
            userStory.setCategory(category);
            userStory.setStory(story);
            userStory.setDatevalue(sqlDate);
            sprintManagerMock.getUserStoryManager().addUserStory(userStory);
            setCategory("");
            setStory("");
            context.addMessage(null, new FacesMessage("Success", "User story has been added."));
        }
View Full Code Here

TOP

Related Classes of pl.edu.pb.entities.UserStory

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.