Package org.foray.demo.embed.model

Examples of org.foray.demo.embed.model.ProjectTeam


    /**
     * Static method creating some ProjectTeam sample data.
     * @return The sample data.
     */
    public static ProjectTeam createSampleProjectTeam() {
        final ProjectTeam team = new ProjectTeam();
        team.setProjectName("Rule the Galaxy");
        team.addMember(new ProjectMember("Emperor Palpatine", "lead",
                "palpatine@empire.gxy"));
        team.addMember(new ProjectMember("Lord Darth Vader", "Jedi-Killer",
                "vader@empire.gxy"));
        team.addMember(new ProjectMember("Grand Moff Tarkin", "Planet-Killer",
                "tarkin@empire.gxy"));
        team.addMember(new ProjectMember("Admiral Motti",
                "Death Star operations", "motti@empire.gxy"));
        return team;
    }
View Full Code Here

TOP

Related Classes of org.foray.demo.embed.model.ProjectTeam

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.