Package org.jsf2jpa.entities

Examples of org.jsf2jpa.entities.CarAttribute


                /*
                 * attributes for each car
                 */
                Random rnd = new Random();
                for (String attr : ATTRIBUTES) {
                    CarAttribute a = new CarAttribute();
                    a.setName(attr);
                    a.setStringValue(String.valueOf(rnd.nextInt(99999)));
                    a.setParent(car);
                    car.getAttributes().add (a);
                }
            }
        }
       
View Full Code Here

TOP

Related Classes of org.jsf2jpa.entities.CarAttribute

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.