Package org.jsf2jpa.entities

Examples of org.jsf2jpa.entities.HierarhyAttribute


    private static List<Hierarhy> hierarhies;
    private static void addAttributes (Hierarhy hier)
    {
        Random rnd = new Random();
        for (int i=0;i<4;i++) {
            HierarhyAttribute attr = new HierarhyAttribute();
            attr.setName("Attr_" + i);
            attr.setStringValue(String.valueOf(rnd.nextInt(99999)));
            hier.addAttribute(attr);
        }
    }
View Full Code Here

TOP

Related Classes of org.jsf2jpa.entities.HierarhyAttribute

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.