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