/*
* 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);
}
}
}