Package br.facet.tcc.pojo

Examples of br.facet.tcc.pojo.UserRoles


     */
    @Override
    public Object getAsObject(FacesContext context, UIComponent component,
            String value) {
        System.out.println(" ============ getAsObject ===============");
        UserRoles role = new UserRoles();
        for (br.facet.tcc.enums.UserRoles userRoles : br.facet.tcc.enums.UserRoles
                .values()) {
            if (userRoles.getDescricao().equals(value)) {
                role.setId(userRoles.getId());
                role.setUserRole(userRoles);

            }
        }
        return role;
    }
View Full Code Here


     * @since since optional
     */
    @Override
    public Object getAsObject(FacesContext context, UIComponent component,
            String value) {
        UserRoles role = new UserRoles();
        for (br.facet.tcc.enums.UserRoles userRoles : br.facet.tcc.enums.UserRoles
                .values()) {
            if (userRoles.getDescricao().equals(value)) {
                role.setId(userRoles.getId());
                role.setUserRole(userRoles);

            }
        }
        return role;
    }
View Full Code Here

TOP

Related Classes of br.facet.tcc.pojo.UserRoles

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.